readme
This commit is contained in:
parent
1321e0dcaf
commit
ca9d4cfaf9
18
README.md
18
README.md
@ -1,20 +1,24 @@
|
|||||||
# Markdown web browser
|
# Markdown web browser
|
||||||
A web browser that let's you browse 'mttp' websites that use markdown as a superior standard to html
|
A web browser that let's you browse gemini capsules that use gemtext as a superior standard to html.
|
||||||
Fully static!
|
|
||||||
|
|
||||||
# Getting a website on this
|
# Requirements
|
||||||
The default port is 3477, though you can use any port as long as you specify it in the url.
|
- gemget
|
||||||
You need a <!DOCTYPE md> tag at the start of any markdown files so the browser know's which files are markdown and which are other generic text files.
|
|
||||||
|
# Installing
|
||||||
|
## Build from source:
|
||||||
|
- Clone the repo
|
||||||
|
```cargo run -r```
|
||||||
|
|
||||||
# Help
|
# Help
|
||||||
Type h in the program to see this text:
|
Type h in the program to see this text:
|
||||||
```
|
```
|
||||||
Source code: https://git.javalsai.dynv6.net/deadvey/markdown-webbrowser
|
Source code: https://git.javalsai.dynv6.net/deadvey/markdown-webbrowser
|
||||||
q: quit
|
q: quit
|
||||||
|
d: debug info
|
||||||
h: help
|
h: help
|
||||||
r: reload
|
r: reload
|
||||||
s: view source code of page
|
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
|
i: visit root index of this host eg: root index of gemini://deadvey.com/blog/4.md is just gemini://deadvey.com
|
||||||
b: go back in history
|
b: go back in history
|
||||||
f: go forward in history
|
f: go forward in history
|
||||||
ox: print the hyprlink of reference x eg: o5 or o24
|
ox: print the hyprlink of reference x eg: o5 or o24
|
||||||
@ -25,6 +29,8 @@ ox: print the hyprlink of reference x eg: o5 or o24
|
|||||||

|

|
||||||
|
|
||||||
# TO DO
|
# TO DO
|
||||||
|
- Make pages scrollable
|
||||||
|
- Bookmarks
|
||||||
- Properly comment it because I can't lie I can't even follow it.
|
- 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.
|
- Make it memory safe, it crashes if the input is unexpected.
|
||||||
- Use treesitter instead of Regex, because, reasons.
|
- Use treesitter instead of Regex, because, reasons.
|
||||||
|
@ -188,7 +188,7 @@ d: debug info
|
|||||||
h: help
|
h: help
|
||||||
r: reload
|
r: reload
|
||||||
s: view source code of page
|
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
|
i: visit root index of this host eg: root index of gemini://deadvey.com/blog/4.md is just gemini://deadvey.com
|
||||||
b: go back in history
|
b: go back in history
|
||||||
f: go forward in history
|
f: go forward in history
|
||||||
ox: print the hyprlink of reference x eg: o5 or o24
|
ox: print the hyprlink of reference x eg: o5 or o24
|
||||||
|
Loading…
x
Reference in New Issue
Block a user