=> ๐Ÿ‘ฝ erick

Since I woke up early today (again) I decided to continue working on my tiny bookmarks app.

I ended up writing a small server app in python that when used it looks pretty similar to how a FastAPI would look. I initialize my server with something like:

server = Server(base_url, router_class)

Define route handlers using something like

@server("/foo")
def foo_handler():
    return something_cool()

Finally, somewher in main, I call:

server.handle()

And it works ๐Ÿค“. So far I have a StringRouter and a RegexRouter that work for whatever I've been messing with.

2 weeks ago ยท ๐Ÿ‘ dk

Actions

=> ๐Ÿ‘‹ Join Station

Proxy Information
Original URL
gemini://station.martinrue.com/erick/23d6eabacfba44909d4250cad63a5fc4
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
168.340577 milliseconds
Gemini-to-HTML Time
0.196788 milliseconds

This content has been proxied by September (ba2dc).