GithubHelp home page GithubHelp logo

lbarchive / kissgen Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 31 KB

:kiss: KISS-Inspired Static Site GENerator

Home Page: https://lbarchive.github.io/kissgen/

License: MIT License

Shell 98.96% Makefile 1.04%
static-site-generator plain-text bash-scripts index-generator text-to-html kiss-principle unix-philosophy

kissgen's Introduction


                                    kissgen

                      KISS-Inspired Static Site GENerator
          

kissgen renders plain text source files AS-IS to HTML.  There is no syntax, no 
formatting, no schematic meanings, you do whatever you want with plain text 
files, and it will be displayed the same in web browser as in your text editor.


                                    WARNING


This project is for my personal use, therefore the documentation and options 
are severely lacking and limited, feel free to create feature requests or 
report any bugs in issue tracker [1].

[1] https://github.com/livibetter/kissgen/issues/new


                                 THE BEGINNING


For a very long time, I've grown to dislike how the web has become with all the 
fanciness but very little informative.  That's when I attempted to write in 
plain text [1] in late 2016, but that didn't go very far, because the media -- 
GitHub README/text render -- does not work for my needs, there is no 
linkification for text files except README.txt.

[1] https://github.com/lbarchive/w.txt

I have thought about using any static site generator or Jekyll to produce a 
plain-text-like view in web browser, but again, they all have too many features 
and dependencies that I don't need and don't want to install.

Finally in March, 2018, I started to work on my own very specific static site 
generator, coding in Bash.


                                  PHILOSOPHY


* KISS principle [K] and Unix philosophy [U]

    Well, attempting to follow them.

    [K] https://en.wikipedia.org/wiki/KISS_principle
    [U] https://en.wikipedia.org/wiki/Unix_philosophy

* All About Text

    * Render AS-IS (WYSIWYG) in HTML <pre>

    * No modifications of the text

* Less is More


                                    SCRIPTS


kissgen consists of a set of scripts:

- bin/gen generates static site HTML pages, using t2h to convert each text

- bin/idx generates directory listing, using t2h to form 00INDEX.html

- bin/t2h converts plain text file to HTML


                                 INSTALLATION


There is no installation at the moment and probably would never have if I am 
the only person use them.


                                     USAGE


    $ gen text.dir html.dir
    $ idx html.dir


[G] ./doc/gen.html
[I] ./doc/idx.html
[T] ./doc/t2h.html


                                   COPYRIGHT


kissgen is licensed under the MIT License [L].

[L] ./LICENSE.html

kissgen's People

Contributors

livibetter avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

lbforks

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.