DeckBro implementation
This commit is contained in:
@@ -303,6 +303,26 @@ Supported chat commands:
|
||||
- `/edcode`: extract code blocks from the most recent message and open `app.ed.edbuf()` on the contents
|
||||
- `/exit` or `/quit`: exit the chat applet
|
||||
|
||||
### `app.bro`
|
||||
|
||||
An implementation of DeckBro, a simple text-only HTTP browser for [DeckText](decktext-spec.md) and simple HTML documents.
|
||||
|
||||
Usage: `from app.bro import bro`, then `bro(starting_url)`.
|
||||
|
||||
Available commands:
|
||||
|
||||
r)ef b)ack f)wd n)ext p)rev l)ink or pg#: q
|
||||
|
||||
- `g [url]`: go to a new URL
|
||||
- `r`: refresh the current document
|
||||
- `b`: go back in history
|
||||
- `f`: go forward in history
|
||||
- `n`: go to the next DeckText page of the document (this is the default action if you just press Enter)
|
||||
- `p`: go to the previous DeckText page of the document
|
||||
- `[num]`: jump to the page `[num]` if it exists
|
||||
- `l [num]`: visit the link number `[num]` on the current page (if it exists)
|
||||
- `q`: quit the browser
|
||||
|
||||
### `app.blog`
|
||||
|
||||
A simple interface to any POST-based blog API that supports HTTP Basic Auth.
|
||||
|
||||
Reference in New Issue
Block a user