cyblog

Cybernetically enhanced static site generation.

Installing

See doc/INSTALL.md.

Manual install

$ make compile

This will leave you with a cyblog executable in the current directory.

Usage

Cyblog operates on either single pages or entire directories, converting the Cyblog markup into HTML.

Read the docs or check out the examples to learn more about Cyblog!

You can invoke Cyblog with:

cyblog {SOURCEDIR|SOURCEFILE.cyblog} [options]

Options:

Features

Contributing

Feel free to fork the repo and open a PR. Cyblog is written in TypeScript and all documentation is written in Markdown. The Cyblog site is built with Cyblog, through a make target.

If you're unable to contribute code, consider supporting Cyblog by advertising it on your website, either through the --plug option or by another means you see fit.

Get in touch

You can contact me by e-mailing me at me@shantaram.xyz.

There's also a Cyblog IRC channel, #cyblog, on libera.chat. I post updates there.

License

The MIT License (MIT)

Copyright © 2021 Siddharth Singh

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
    * The above copyright notice and this permission notice shall be included
    in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Acknowledgements

getDataDir() taken from https://github.com/justjavac/deno_data_dir under the MIT license. Copyright © justjavac.

Marked markdown parser library from https://github.com/ubersl0th/markdown under the MIT license. Copyright © 2020 Eivind Furuberg.

swiped-events.js from https://github.com/john-doherty/swiped-events, Copyright © 2017 John Doherty. http://www.johndoherty.info.

Thanks to @porridgewithraisins for help testing on Windows.