GithubHelp home page GithubHelp logo

ThonelJS

Website hosting should not be a hassle.

About

I wanted to host a simple website somewhere and know that it would not go down when I forget to pay the hosting. That is why I chose Github Pages as my hosting platform. Github Pages only has one problem. I do not want to write HTML. This lead to ThonelJS creation. ThonelJS automatically generates new HTML and updates it to the git repository.

I also made a simple web server which made it possible to preview the website locally at localhost:8000.

Read more...

Usage

As a blogger you should only focus onto the content folder and most specifically articles folder inside it. articles folder contains your blog posts. The title will be grabbed from the filename (.md suffix will be removed) so writing title inside markdown file is unnecessary (and leads to duplicate title).

/content/info.json is like your blog settings. It uses JSON to store the website title and description.

/content/index.md is the frontpage of your website. If you rename or remove it the frontpage will show a list of all the blog posts. The same applies to /content/about.md which will be shown only if it exists.

If you want to preview the changes before pushing them (very much RECOMMENDED) you can do that by running node . in the ThonelJS folder. This although requires Node.JS to be installed on your machine.

Bugs

See them here

thoneljs's Projects

thoneljs icon thoneljs

Write websites with markdown! Host them on Github Pages!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.