Skip to content

~ project for producing blog-esque formatted HTML from plaintext files

Notifications You must be signed in to change notification settings

kaimoe/tilde-zenbu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tilde-zenbu

a zenbu, colorized

A JavaScript/Go project to help with formatting human-readable plaintext "blog posts" into custom html, for a tilde.town webpage

See it here!

Components

  • js/zenbu.js - Serves the webpage used to collect the post text file and images, saving, verifying, serving them to the Go converter, and uploading to tilde when done
  • go/main.go - Handles the post formatting, keeping a chronological log of all posts, naming appropriately, and compiling all into the HTML index

Notes

  • This can (currently) only run on a Linux machine, as it makes use of scp to send files to tilde.town

Usage

See the wiki page.

Changes

See the changelog

To-Do

General:

Converter:

  • Add support for ul lists
  • Do something to help with links (which are not currently handled in any way)
  • Less- and greater-than symbols currently break, fix and add way to escape special characters
  • Write capability for registering posts under different categories (to be done after appropriate CSS is written), or for different pages
  • Maybe split posts under different pages after a certain number (based on the lightweight nature of the page, probably unnecessary)

Interface:

  • Write capability to manage log, delete past entries, etc.

Contributing

Feel free to make suggestions and open issues, PRs, or anything!

Acknowledgments

Post HTML adapted from Xkeeper's tilde.town page. Licensed under CC BY 3.0

License

CC BY 4.0

About

~ project for producing blog-esque formatted HTML from plaintext files

Resources

Stars

Watchers

Forks

Packages

No packages published