threaded HTTP server, rate limiting, remove slow-web rhetoric
This commit is contained in:
parent
fa1f6ccc9e
commit
dc484f1d60
6 changed files with 59 additions and 19 deletions
19
handlers.py
19
handlers.py
|
|
@ -1043,9 +1043,10 @@ def handle_about():
|
|||
|
||||
return _respond(
|
||||
f'<h1>{esc(name)}</h1>'
|
||||
f'<p>A personal search engine, built for the slow web.</p>'
|
||||
f'<p>TinyWeb is about taking back the internet. No algorithms, no ads, no tracking. '
|
||||
f'Just human-curated pages shared freely across a mesh network.</p>'
|
||||
f'<p>A personal, decentralized search engine.</p>'
|
||||
f'<p>You save pages you find. They are stored locally and shared over a mesh network '
|
||||
f'so other people can find them too.</p>'
|
||||
f'<p>Search results come from your index and the indexes of people you are connected to.</p>'
|
||||
f'<ul>'
|
||||
f'<li><b>{page_count}</b> page(s) indexed</li>'
|
||||
f'<li><b>{tag_count}</b> tag(s)</li>'
|
||||
|
|
@ -1069,18 +1070,6 @@ def handle_about():
|
|||
f'The <a href="/export">export</a> page gives you a JSON dump of pages only — '
|
||||
f'it does not preserve your identity or subscription state, so it is a migration aid, '
|
||||
f'not a substitute for a full backup.</p>'
|
||||
f'<h2>what is the slow web?</h2>'
|
||||
f'<p>The slow web is a movement for intentionality over speed, '
|
||||
f'human curation over algorithmic feeds, privacy over surveillance, '
|
||||
f'and community over corporations. Every page in this index was saved by a person '
|
||||
f'because they found it valuable — not because an algorithm told them to click.</p>'
|
||||
f'<h2>how it works</h2>'
|
||||
f'<ul>'
|
||||
f'<li>Save pages you find valuable with the bookmarklet or /add</li>'
|
||||
f'<li>Search your personal index — queries never leave your machine</li>'
|
||||
f'<li>Subscribe to friends over Reticulum — encrypted, decentralized, works without the internet</li>'
|
||||
f'<li>Tag and organize your collection into curated lists</li>'
|
||||
f'</ul>'
|
||||
f'<p><a href="/">search</a> | <a href="/pages">browse</a> | <a href="/tags">tags</a></p>'
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue