A NestJS microservices app using NATS that politely polls the 4chan API for all threads and posts in a board and dumps them in a SQLite database.
- Modern. Uses the NestJS framework for a fully modern, microservices approach, all in Typescript.
- Fully asynchronous. Uses NATS for async processing and communication.
- Scalable. Uses SQLite for storage with batch operations properly wrapped in transactions.
- Polite. Properly uses ETag and Last-Modified headers with HEAD requests to reduce load and traffic to the API.
- Stable. A tried-and-true stack that's easy to maintain. No surprises here.
- Up-to-date and secure. Renovate and Bolt from WhiteSource keep dependencies updated and secure.
- Easy. Fully Docker-based.
Just edit the paths for your database volume in the compose file, then docker-compose up -d
. When it's time to update, simply docker-compose pull && docker-compose up -d
.