VSHS v2 : An HTTP server with Brython support

22 views
Skip to first unread message

Denis Migdal

unread,
Dec 12, 2024, 8:34:24 AM12/12/24
to brython
Hi,

For educational purposes I developed VSHS (Very Simple HTTP Server), an HTTP server built on top of Deno, with support for Brython, JavaScript, and TypeScript.

One of its key-point is its simplicity out of the box : you get a Request, you return a Response without having to worry about CORS or routes.

I have lot of documentation and playground examples :
- https://denis-migdal.github.io/VSHS/dist/dev/pages/fr/docs/

So if you want some examples for JS fetch, WebSocket, EventSource, etc. in Brython, it might interest you even if you do not plan to use this server.

Indeed I do not think the server in itself would be really useful for you as you'd better use a Python server API. But, if for some reason you want to use vanilla JS API in the server-side, or have a mix of JS/TS/Brython files, it may interest you.


For now the documentation is only in French.
I can translate if you are interested.


Note: I did not forget SBrython, too much things to do currently. LISS v2 with Brython support coming soon.

Cordially,
Reply all
Reply to author
Forward
0 new messages