.github | ||
src | ||
test | ||
.dockerignore | ||
.env.schema | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
CLOSING_REMARKS.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
Dockerfile | ||
LICENSE | ||
package.json | ||
Procfile | ||
README.md | ||
SECURITY.md | ||
tsconfig.json |
RESTful and experimental API for the doujinboards
Jandapress was named JCE (Janda Cheerio Express) and definitely depends on them.
The motivation of this project is to bring you an actionable data related doujin with gather in mind.
The problem
You enjoy consume doujin sites to build web applications. There are a lot sites that have effort especially pururin, simply-hentai and etc, not official api available nor public resource that can be used for everyone. Instead making lot of abstraction and enumerating them manually, You can rely on jandapress to make less of pain. The current state is FREE to use, meant all anonymous usage is allowed no aunthentication required and CORS was enabled.
The solution
Features
- Gather the most doujin sites
- Objects taken that are consistent structure, almost
- Objects taken is re-appended to make it more actionable
- All in one: get, search, and random methods
- In the future we may implement JWT authentication
- Pure scraping
Jandapress vs. the whole doujin sites
Features availability that Jandapress has
Site | Status | Get | Search | Random |
---|---|---|---|---|
nhentai |
✅ | ✅ | ✅ | |
pururin |
✅ | ✅ | ✅ | |
hentaifox |
✅ | ✅ | ✅ | |
hentai2read |
✅ | ✅ | ❌ | |
simply-hentai |
✅ | ❌ | ❌ | |
asmhentai |
✅ | ✅ | ✅ | |
3hentai |
✅ | ✅ | ✅ |
🚀Installation
- Clone this repository
git clone https://github.com/sinkaroid/jandapress.git
- Install dependencies
npm install / yarn install
- Jandapress production
npm run build
npm run start:prod
- Jandapress testings
npm run start:dev
Prerequisites
NOTE: NodeJS 14.x or higher |
Running tests
Jandapress depends on
- express web api framework
- cheerio for parsing html
- cors middleware for enabling CORS
- rate-limit rate-limiting middleware for express
Optional but already has
- pino for logging
- start-server-and-test for starting the server and running tests
Start the production server
npm run start:prod
Running development server
npm run start:dev
Check the whole sites, It's available for scraping or not
npm run test
Check nhentai It's under cloudflare protection or not
npm run test:cf
To running other method, you can see object scripts in file
package.json
, Default port is3000
Routing
the parameter?
: means is optional
/
: index page
Nhentai
The missing piece of nhentai.net
/nhentai
: nhentai api- get, takes parameters :
book
- search, takes parameters :
key
,?page
,?sort
- related, takes parameters :
book
- random
- sort parameters on search
- "popular-today", "popular-week", "popular"
- Example
- get, takes parameters :
Pururin
The missing piece of pururin.to
/pururin
: pururin api- get, takes parameters :
book
- search, takes parameters :
key
,?page
,?sort
- random
- sort parameters on search
- "newest", "most-popular", "highest-rated", "most-viewed", "title", "random"
- Example
- get, takes parameters :
Hentaifox
The missing piece of hentaifox.com
/hentaifox
: hentaifox api- get, takes parameters :
book
- search, takes parameters :
key
,?page
,?sort
- random
- sort parameters on search
- "latest", "popular"
- Example
- get, takes parameters :
Asmhentai
The missing piece of asmhentai.com
/asmhentai
: asmhentai api- get, takes parameters :
book
- search, takes parameters :
key
,?page
- random
- sort parameters on search
- None
- Example
- get, takes parameters :
Hentai2read
The missing piece of hentai2read.com
/hentai2read
: hentai2read api- get, takes parameters :
book
- search, takes parameters :
key
- sort parameters on search
- TBA
- Example
- get, takes parameters :
Simply-hentai
The missing piece of simply-hentai.com
/simply-hentai
: simply-hentai api- get, takes parameters :
book
- sort parameters on search
- TBA
- Example
- get, takes parameters :
3hentai
The missing piece of 3hentai.net
/3hentai
: 3hentai api- get, takes parameters :
book
- search, takes parameters :
key
,?page
,?sort
- random
- sort parameters on search
- "recent", "popular-24h", "popular-7d", "popular"
- Example
- get, takes parameters :
Limitations
Nhentai was cloudflare protection enabled, If IP and our thoughts against them? You should implement a proxy. Check cookie branch
, take a look this workaround Zekfad/nhentai-api/issues/25#issuecomment-1141360074
Frequently asked questions
Q: The website response is slow
That's unfortunate, This repository was opensource already, You can host and deploy Jandapress with your own instance. Any fixes and improvements will updating to this repo.
Q: I dont want to host my own instance
That's unfortunate, Hit the "Sponsor this project" button, any kind of donations will helps me to funding the development.
Pronunciation
id_ID
• /jan·da/ — dewasa dan mengikat; (?)
Client libraries / Wrappers
- janda Python wrapper by sinkaroid
- Or create your own
Legal
This tool can be freely copied, modified, altered, distributed without any attribution whatsoever. However, if you feel like this tool deserves an attribution, mention it. It won't hurt anybody.
Licence: WTF.