Settings

Theme

Show HN: Generate minimalist, fast no-JS websites from a single plain text file

leoncvlt.github.io

21 points by leoncvlt 5 years ago · 7 comments

Reader

badhombres 5 years ago

I’m not sure what the benefits are over just regular html

  • leoncvltOP 5 years ago

    Same benefits that any tool with a higher level of abstraction might have over its lower-level ancestors - less verbosity, and faster / easier ways to achieve certain things (in this case, creating simple text-based websites) while keeping the complexity under the bonnet (you'd have to re-implement the multi-page logic using the CSS :target selector when using regular html if you want the same functionality as my tool).

  • schwartzworld 5 years ago

    Or pandoc.

    • alephnan 5 years ago

      or markdown

      • leoncvltOP 5 years ago

        Can you create a multi-page website from a single file in pandoc or markdown?

        • alephnan 5 years ago

          Sounds like a feature for features sake. Your response also sounds like “but can you do this?!?!” Can’t say I’m remotely impressed. Anyone who needs this weird feature could just add a string delimiter to their markdown file, and use a Unix until to partioning. Still not sure why multi pages should be in the same file, sounds like a horrible “feature”. Each webpage has a distinct url with the last bit being the filename…

          Also sounds like you have a conflict of interest to inflate the merits of this project

          • leoncvltOP 5 years ago

            No, I'm just sharing a weekend project. If your first reaction is "anyone who needs this weird feature could just add a string delimiter to their markdown file, and use a Unix until to partioning" then it's clearly not something for you.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection