2025-01-26 11:15:34 +00:00
2025-01-09 00:59:30 +00:00
2025-01-26 02:59:06 +00:00
2025-01-12 02:20:16 +00:00
2025-01-26 11:15:34 +00:00

Markdown web browser

A web browser that let's you browse 'mttp' websites that use markdown as a superior standard to html Fully static!

Getting a website on this

The default port is 3477, though you can use any port as long as you specify it in the url. You need a tag at the start of any markdown files so the browser know's which files are markdown and which are other generic text files.

Help

Type h in the program to see this text:

Source code: https://git.javalsai.dynv6.net/deadvey/markdown-webbrowser
q: quit
h: help
r: reload
s: view source code of page
i: visit root index of this host eg: root index of mttp://deadvey.com/blog/4.md is just deadvey.com
b: go back in history
f: go forward in history
ox: print the hyprlink of reference x eg: o5 or o24
[url]: follow the inputed url

Example:

screenshot

TO DO

  • Properly comment it because I can't lie I can't even follow it.
  • Make it memory safe, it crashes if the input is unexpected.
  • Use treesitter instead of Regex, because, reasons.
    • "wtf deadvey" - error
    • "Don't use Regex to parse ANYTHING" - error
    • "use treesitter" - error
    • "yeah, definitley use treesitter" - error
    • "use treesitter" - error
    • "or glow" - error
    • "I found another markdown to terminal converter" - error
    • "ban [for using regex]" - error
    • "use treesitter" - error
  • Get a catchier name, 'markdown web browser' sounds kind of lame.

error yapping

Description
Let's you browse markdown websites instead of html on port 3477 md > html
Readme 3.3 MiB
Languages
Rust 100%