80af7b94608e883716a3839a5aa2292924517ad7
Deploy Scraper / build-and-deploy (push) Canceled after 0s
Blanket-switching the whole komik module to komiku.org broke the manga list: komiku.org/manga/?tipe=manga 301-redirects to /pustaka/ (the new library layout, 0 .bge items), while api.komiku.org/manga/?tipe=manga serves the .bge grid the parser expects unredirected. Correct split: - api_url() = api.komiku.org -> manga/manhua/manhwa/genre/search lists (.bge layout) - genre_list fetches base_url() = komiku.org root, which is POPULATED (#Genre .ls3 .ls3p h4 + /genre/<slug>/ links) — api.komiku.org root is empty Reverts the api_url() half of a46adf1; keeps the underlying insight that the genre-list needs the populated komiku.org root.
Scraper API
Backend service berbasis Axum untuk scraping, image proxy/cache, dan endpoint API inti.
Stack
- Rust + Axum
- SeaORM (MySQL)
- Redis (deadpool-redis)
- Utoipa + Swagger UI
Quick Start
cargo run
Server bind ke 0.0.0.0:${PORT} dengan default port 4091.
Required Environment Variables
DATABASE_URL=mysql://asephs:hunterz@localhost:3306/sosmed
JWT_SECRET=change-me
REDIS_URL=redis://localhost:6379
Optional yang sering dipakai:
RUST_LOG=info
MINIO_ENDPOINT=
MINIO_BUCKET_NAME=
MINIO_ACCESS_KEY=
MINIO_SECRET_KEY=
Useful Endpoints
GET /docs- Swagger UIGET /api-docs/openapi.json- OpenAPI JSONGET /api/anime2/*GET /api/komik/*POST /api/proxy/image-cachePOST /api/proxy/image-cache/audit
Notes
- Database akan dicek/dibuat saat startup jika
DATABASE_URLbertipe MySQL. - Service ini juga menginisialisasi browser pool dan scheduler saat boot.
License
MIT
Languages
Rust
97.1%
Python
1.9%
Shell
0.6%
Nix
0.3%
JavaScript
0.1%