A small API that sends anime/hentai images in JSON.
Follow me on Twitter. | Join my Discord server for help. |
- More endpoints
- Improved randomness
- Better response times
Why do I get an error?
- the most likely issue is that you are using the default user-agent
Can i help?
- Yes of course just make a PR.
Will it work on my PC?
- I don't recommend using my stuff but only for testing purposes (maybe).
What is the difference between version 1 and version 2?
- The backend of both of the versions are completely different and optimized for different types of workload due to this v1 will be depreciated and not accessable anymore in the future when v2 is fully released.
What are you using redis for?
- it is just a simple caching step between the API requests and the images it just makes loading the images a bit more optimzed and faster due to this if you decide to run it on your own machine Redis is highly recommended to be used.
Why are you rebuilding your API
- PHP is slow and I want better speed
- PHP setup is a pain in the ass
- I want to learn some new stuff
- Backend in Rust
- Frontend in Python With C
- Database will be switched to Neo4J
- Dashboards
- Login Page
- Authentication Methods
- User Tokens and UUIDs
- a lot of minor stuff
Yes it will be in the future fully open sourceIt now is
- Make the whole backend
- Make the frontend
- Learn how to use Neo4J
- use Neo4J as a database
- remake the login page
- remake the dashboard
- remake the loggers
- add tagging
- 2FA
- Better Uploaders
- Redis Caching
- Rust
- Python 3
- Neo4J
- Redis
- Web Server
Download & install Python and Rust for this project then run these 2 commands
cd FrontEnd && Python3 index.py
.
cd BackEnd/neat-api && cargo run
Change stuff in the .env
to make it be able to connect to the database and set the right logging level
Change the correct variables in your own .env
file then run cargo run
it will auto populate the database
- Will explain this at a later point, will also add some stuff to the dashboard to simplfy the process