Everything required to run my site.
This repository has been archived on 2024-01-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2023-09-16 15:29:20 +02:00
articles Add articles 2023-09-11 22:03:07 +02:00
css Remove horizontal scrollbar 2023-09-15 23:53:31 +02:00
img Add 'friends' section to index.php 2023-08-29 23:10:52 +02:00
md Move blog posts over to using Markdown 2023-06-30 23:39:01 +02:00
php Move project-list to projects/index.php 2023-07-31 18:04:43 +02:00
projects Update some outdated information, It's Forgejo and not Gitea. 2023-08-30 08:18:19 +02:00
rocks Rename stuff 2023-08-07 18:56:26 +02:00
sucks Add gnome-keyring, kwallet and dbus to sucks.php 2023-09-16 15:29:20 +02:00
updates Add update post, 'spmenu 3.4 release' 2023-09-11 18:16:30 +02:00
.gitignore Remove the news.xml and rss.xml feeds 2023-08-30 08:00:28 +02:00
.htaccess Update .htaccess 2023-08-28 17:25:57 +02:00
about-me.php No one cares what distro you use, I'm introducing myself and not my 2023-08-29 20:27:18 +02:00
based.php based.php++ 2023-09-04 20:18:22 +02:00
blog.php Automatically generate displayed title and date, no need to have that in 2023-08-30 08:15:01 +02:00
credits.php Update some outdated information, It's Forgejo and not Gitea. 2023-08-30 08:18:19 +02:00
donate.php Change monero address 2023-07-15 00:45:59 +02:00
ideas.php ++ideas 2023-08-10 02:31:38 +02:00
index.php Remove the news.xml and rss.xml feeds 2023-08-30 08:00:28 +02:00
LICENSE Add licenses 2023-07-01 12:45:01 +02:00
LICENSE.blog Add licenses 2023-07-01 12:45:01 +02:00
news.php Automatically generate displayed title and date, no need to have that in 2023-08-30 08:15:01 +02:00
opinions.php Fix page title in opinions.php 2023-07-20 01:06:48 +00:00
overlay.xml update 2023-06-03 00:42:41 +00:00
philosophy.php Update some outdated information, It's Forgejo and not Gitea. 2023-08-30 08:18:19 +02:00
privacy.php Remove wiki.speedie.site and speedwm.speedie.site, although it should be 2023-06-12 01:59:00 +02:00
README.md Update readme to reflect last commit 2023-07-02 22:26:15 +02:00
rss-archived-01.xml archive many blog posts 2023-06-16 02:59:25 +02:00
rss-archived-02.xml archive many blog posts 2023-06-16 02:59:25 +02:00
test.sh Add/change lots of stuff 2023-07-30 20:29:20 +02:00
updates.xml Rename to news.xml, add symlink 2023-08-28 17:22:39 +02:00

speedie-page

Everything required to host my site on your own.

Dependencies

  • php
  • Web server (not required for testing)

Testing

You can test the page using php -S localhost:1337 and opening http://localhost:1337 in your web browser.

Crontab notes

If you want to git pull every minute, you can do the following:

  • sudo crontab -e to edit the crontab file
  • Add */1 * * * * su -s /bin/sh <your user> -c '/usr/bin/gitpull.sh' to the file.
  • Add the following to /usr/bin/gitpull.sh
#!/bin/sh
cd /var/www/page
cd speedie.site # assuming /var/www/page/speedie.site is the git repository
git pull origin master > /tmp/gitpull_speedie.site # log file

Blog

The blog is handled by blog.php. It also generates rss.xml on execution if the result differs from the existing file. To add new blog posts, add a new Markdown article to /articles. You must also create a .md.date file for the new page. The .md.date contains the date, in YYYY-MM-DD format. It is used for RSS feeds, and for sorting.

Contributions

To contribute, simply create an issue or submit a pull request. You know how it works.

License

License for almost all PHP is GNU General Public License version 3. The license for blog.php is MIT though, see LICENSE.blog.