sent-web
suckless's sent tool ported to the very sucky web world
A web-based reimplementation of suckless sent using Python and vanilla JavaScript.
features
- sent-compatible format - paragraphs = slides,
#comments,@imageslides,\escapes - keyboard navigation - arrow keys, hjkl, space, enter, backspace, pgup/pgdn (same as sent)
- mouse navigation - left-click right half = next, left half = prev, scroll wheel
- image upload - upload images and insert
@filenamereferences (50 MB cap) - export - download as
.sentfile for local sent, or export.pdffor portability
usage
local python run
Requirements:
- Python
3.12+ fontconfig(fc-listmust be available)libmagicruntime (libmagic1on Ubuntu)
Setup:
cd src
python3.12 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
gunicorn --bind 0.0.0.0:3000 --workers 2 app:app
Then open http://localhost:3000.
presentation shortcuts
| key | action |
|---|---|
F5 |
present |
Escape / q |
exit |
→ ↓ Space Enter l j n PgDn |
next |
← ↑ Backspace h k p PgUp |
previous |
sent format
first slide title
second slide
with multiple lines
# this is a comment (ignored)
@image.png
\@this line starts with a literal @
\
technology
- Python 3.12+ - Flask backend
- vanilla JavaScript - no npm, no webpack, no react
- noir.css - classless CSS
- Gunicorn - production WSGI server
- fontconfig -
fc-listfor font enumeration - python-magic + libmagic - content-based upload type checks
license
MIT
