A simple orgmode HTTP server written with Tornado
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Macoy Madson 3a80d6463b Fixed bad color change 2 years ago
content Initial commit with some functionality 3 years ago
renderedContent Output rendered content to separate folder 3 years ago
templates Added wordpress XML to HTML converter 3 years ago
webResources Fixed bad color change 2 years ago
.gitignore Initial commit 3 years ago
ContentConverter.py Ignore .git folder 2 years ago
Generate_Certificates.sh Use 2048 bit RSA keys for OpenSSL 1.1.1 3 years ago
LICENSE Initial commit 3 years ago
ReadMe.org Specify HTTPS in URL and explain content folder 3 years ago
SimpleBlogServer.py Ignore .git folder 2 years ago
WordPressXmlToOrgMode.py Added wordpress XML to HTML converter 3 years ago


Simple Org Blog

This project is meant to be a quick-and-dirty blog based on org-mode formatted documents.

You can put your .org files in content/ and it will be rendered into renderedContent within fifteen minutes, or immediately after starting the server.


This project requires Python 3.

1. Install tornado

  pip3 install tornado

2. Install pandoc

How to install Pandoc.

For Ubuntu:

  sudo apt install pandoc

This will be used to convert .org files into .html.

3. Generate SSL keys

  openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout certificates/server_jupyter_based.crt.key -out certificates/server_jupyter_based.crt.pem

4. Run the server

python3 simple-org-blog.py

5. Trust the certificate

Open your browser and visit https://localhost:8888.

Your web browser should complain that the website's owner cannot be verified. This is a security measure for SSL related to the certificate. Because we made the certificate ourselves, the browser doesn't know whether to trust the certificate, because there is no signing authority.

You can safely click Advanced and add the certificate as trustworthy, because you've signed the certificate and trust yourself :).

If you want to get rid of this, you'll need to get a signing authority like LetsEncrypt to generate your certificate.