Itβs a self-hosted scraper and local web reader:
π₯ Scrapes chapters with smart auto-resume
π« Zero ads, zero pop-ups
π± Serves a custom UI straight to your browser
Check it out π
[https://t.co/UJcW1ieVJw]
I was tired of reading manhwa on sites filled with ads and pop-ups. I also just wanted to read them offline.
Sure, some apps offer offline downloads, but they're heavily limited and restrictive. So I built PocketPanel.
I was tired of reading manhwa on sites filled with ads and pop-ups. I also just wanted to read them offline.
Sure, some apps offer offline downloads, but they're heavily limited and restrictive. So I built PocketPanel.
1. Cleanup ran on success, so it sometimes deleted the key mid-write. The winner returned 201, then crashed with 500.
2. "Processing" was a flag, not a lock. Two requests could check at the same time, both see "not taken," and both run. Both got 201 instead of one getting 409.
It's small, but I gifted myself a little something for my birthday.
https:https://t.co/GsGj8PWYdB
I've been working this project for months, specifically the UI, since I'm not a frontend dev, so I had to take my time to put together every part bit by bit.
Interesting bug today: sent an API request, client timed out, so I retried.
Logs showed BOTH requests hit the server, and the DB had 2 users with the same email. Race condition, no idempotency check, "timeout" β "failed".
Idempotency keys matter, fixing this soon.
1. Cleanup ran on success, so it sometimes deleted the key mid-write. The winner returned 201, then crashed with 500.
2. "Processing" was a flag, not a lock. Two requests could check at the same time, both see "not taken," and both run. Both got 201 instead of one getting 409.
I've written an idempotency prototype middleware after lots of research, I haven't tested it yet, though, but I'm glad I understand the concept of idempotency keys now π
I've written an idempotency prototype middleware after lots of research, I haven't tested it yet, though, but I'm glad I understand the concept of idempotency keys now π
Interesting bug today: sent an API request, client timed out, so I retried.
Logs showed BOTH requests hit the server, and the DB had 2 users with the same email. Race condition, no idempotency check, "timeout" β "failed".
Idempotency keys matter, fixing this soon.
Yooo! It's been a while, guys π
I've been grinding to wrap up my outstanding projects, and it's been one hell of a ride.
Also, as a solo dev, I've been getting my hands dirty with frontend code lately. Not my home turf, but honestly it's been fun.
More updates coming soon!
Since this happened, I haven't really touched this project due to my tight schedule lately. In the meantime, I've been studying idempotency and other backend engineering concepts.
Interesting bug today: sent an API request, client timed out, so I retried.
Logs showed BOTH requests hit the server, and the DB had 2 users with the same email. Race condition, no idempotency check, "timeout" β "failed".
Idempotency keys matter, fixing this soon.
Interesting bug today: sent an API request, client timed out, so I retried.
Logs showed BOTH requests hit the server, and the DB had 2 users with the same email. Race condition, no idempotency check, "timeout" β "failed".
Idempotency keys matter, fixing this soon.
The error: my custom Mailer service was timing out, yet worked fine locally. I wasted time hunting for errors that didn't exist, until I discovered Render blocks SMTP on the free tier.