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-08-28 17:14:43 +02:00
articles Add support for .title files, migrate update posts to markdown 2023-08-28 17:14:43 +02:00
css Footer improvements 2023-07-01 19:19:50 +02:00
img Add more text to ideas and sucks 2023-08-03 03:20:00 +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 Add swiki page, cleanup 2023-08-10 02:27:26 +02:00
rocks Rename stuff 2023-08-07 18:56:26 +02:00
sucks Rename stuff 2023-08-07 18:56:26 +02:00
updates Add support for .title files, migrate update posts to markdown 2023-08-28 17:14:43 +02:00
.gitignore Add/change lots of stuff 2023-07-30 20:29:20 +02:00
.htaccess some fixes 2023-07-01 18:22:44 +02:00
about-me.php add some more entries to based.php 2023-06-21 18:33:17 +02:00
based.php Update link to snowcake.me blog post in based.php 2023-08-27 07:39:43 +00:00
blog.php Add support for .title files, migrate update posts to markdown 2023-08-28 17:14:43 +02:00
credits.php cleanup, comments, remove pride svg because its almost august now 2023-07-30 20:38:38 +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 Rename stuff 2023-08-07 18:56:26 +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
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 cleanup the site a bit, still need to work on index and actually write 2023-06-13 16:05:29 +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
rss.xml Add support for .title files, migrate update posts to markdown 2023-08-28 17:14:43 +02:00
test.sh Add/change lots of stuff 2023-07-30 20:29:20 +02:00
updates.php Add support for .title files, migrate update posts to markdown 2023-08-28 17:14:43 +02:00
updates.xml Add support for .title files, migrate update posts to markdown 2023-08-28 17:14:43 +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.