Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: A server that removes a byte with every request (jakebasile.com)
20 points by jakebasile on Nov 14, 2022 | hide | past | favorite | 3 comments
I was inspired by a comment[1] here on HN to write a static web server that slowly degrades the content it serves byte by byte as it is requested. Every time someone requests a path from the server, a byte is removed from the next request to that path (barring 404s etc.) It resets every hour.

The nature of the Ritual is that I can't put this behind a cache, so it's possible that the cheap AWS server I used will get hugged to death if it becomes at all popular here. Sorry.

[1]: https://news.ycombinator.com/item?id=33568061




Haha that's funny

Also could be like SnapChat in a way, only the first few visitors get to see the full thing, and only the first might be the one to get a full image, intended as some sort of protection or something.


Thanks! I had a lot of fun writing it.

It's hard for me to think of a practical use for this thing but that could be one!


This is cool. It reset about 15 minutes ago, so there are some very minimal corruptions, but they are there.

Good job!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: