You are browsing as a guest. Sign up (or log in) to start making projects!

1h 30m 44s logged

StarWeb is my attempt at building an internet of my own. A custom protocol, a custom URL scheme, and a client and server that communicate using them.I put together STWP, my own protocol with request and response parsing, structured similarly to HTTP but built from scratch. The server runs multithreaded, serving files from a www folder, blocking path traversal attempts, and returning proper error codes when something’s missing or wrong. The client connects using its own URL format, moon://host:port/path, sends a request, and prints back whatever the server responds with. Essentially my own version of curl made for testing; I’m planning to make a browser later. Right now it only handles fetching static files.

0
86

Comments 6

@mixidmb

@water thanks!

@logannavaia

fire!!!

@foxors

Have you done the protocol stuff from scratch with TCP/IP? or from scratch scratch without it? just curious

@mixidmb

@foxors tcp

@foxors

thanks for telling :)