Go to file
Barrington 47468f2805
updated readme
2024-01-01 19:52:40 +01:00
LICENSE Added license and the RSS feature lol 2022-02-25 15:41:30 +01:00
README.org updated readme 2024-01-01 19:52:40 +01:00
Util.pm Added Util.pm file to use as a module so there's not code redundancy. 2022-11-18 03:45:47 +01:00
example.nginx Initial commit 2022-02-17 23:09:44 +01:00
footer.html Added Util.pm file to use as a module so there's not code redundancy. 2022-11-18 03:45:47 +01:00
header.html Added Util.pm file to use as a module so there's not code redundancy. 2022-11-18 03:45:47 +01:00
index.cgi Added comments and a lot of changes i'm not going to comment because i don't even remember. I'll check the diff later. 2024-01-01 19:51:26 +01:00
rss.cgi Added comments and a lot of changes i'm not going to comment because i don't even remember. I'll check the diff later. 2024-01-01 19:51:26 +01:00

README.org

the_pit — A simple blog software that uses plaintext files

HISTORY

One day I wrote this because I think most CMS are garbage and I had to create a good one myself.

INSTALLATION

DEPENDENCES

  • fcgi
  • nginx
  • Text::Markdown
  • CGI
  • DBD::Pg (optional, if you want comments)

NGINX INSTALLATION

It has been tested in nginx so this configuration is guaranteed to work under nginx.

  location /blog { # Or any location you want
    try_files $uri $uri/ /blog/blog.cgi # This makes all requests go to the same file
  }

FEATURES

  • Runs on anything that runs perl and nginx
  • Written in perl instead of python.
  • RSS
  • Depends on CGI only

HOW TO USE

After installing the_pit, you only drop files which have to have the following naming scheme: yyyymmdd.whatever.txt "whatever" can be whatever or can be nothing. Drop the files in the blogroot and the_pit will do the rest.

You may edit the footer.html and header.html according to your needs. And you can put whatever info you want in notes.html. These files are hardcoded in the perl script.

LICENSE

Public domain.