- Overview
- Features
- Getting Started
- API Documentation
- Supported Providers
- Examples
- Contributing
- License
PacaHub provides a unified REST API to fetch content from various websites, simplifying the process of integrating content from multiple sources into your application. It handles web scraping, caching, and data standardization, so you don't have to.
- Multi-Source Integration - Access content from multiple websites through a single API
- Standardized Responses - Consistent JSON data structure across different providers
- Smart Caching - Reduces load on source websites and improves response times
- Pagination Support - Browse large collections of content with ease
- Detailed Metadata - Comprehensive information about each piece of content
- Reliable Error Handling - Clear error messages and graceful degradation
- Node.js (v14.0.0 or higher)
- npm or yarn
-
Clone the repository
git clone https://github.com/raisulrahat1/PacaHub.git
-
Install dependencies
cd PacaHub npm install -
Start the server
npm start
The API will be available at http://localhost:3000.
| Endpoint | Description | Parameters |
|---|---|---|
/api/manga/kakalot/search/:query/:page |
Search for manga | query: Search termpage: Page number (optional) |
/api/manga/kakalot/latest/:page |
Get latest manga | page: Page number (optional) |
/api/manga/kakalot/popular/:page |
Get popular manga | page: Page number (optional) |
/api/manga/kakalot/newest/:page |
Get newest manga | page: Page number (optional) |
/api/manga/kakalot/completed/:page |
Get completed manga | page: Page number (optional) |
/api/manga/kakalot/popular-now |
Get currently popular manga | None |
/api/manga/kakalot/home |
Get homepage content | None |
/api/manga/kakalot/details/:id |
Get manga details | id: Manga ID |
/api/manga/kakalot/read/:mangaId?/:chapterId? |
Read manga chapter | mangaId: Manga IDchapterId: Chapter ID |
| Endpoint | Description | Parameters |
|---|---|---|
/api/hen/hentaitv/search/:query/:page |
Search for videos | query: Search termpage: Page number (optional) |
/api/hen/hentaitv/random |
Get random videos | None |
/api/hen/hentaitv/recent |
Get recently added videos | None |
/api/hen/hentaitv/trending |
Get trending videos | None |
/api/hen/hentaitv/watch/:id |
Get video sources | id: Video ID |
/api/hen/hentaitv/info/:id |
Get video details | id: Video ID |
/api/hen/hentaitv/genre/:genre/:page? |
Get videos by genre | genre: Genre namepage: Page number (optional) |
'/api/hen/hentaitv/brand/:brand?page=1 |
Get Studio | '?page=': Page Number (optional) |
| Endpoint | Description | Parameters |
|---|---|---|
/api/hen/hentaicity/recent |
Get recently added videos | None |
/api/hen/hentaicity/popular |
Get popular videos | None |
For more detailed information and examples, visit the /docs endpoint in the API.
PacaHub currently integrates with the following content sources:
| Provider | Status | Content Type | Features |
|---|---|---|---|
| 📖 MangaKakalot | ✅ Running | Manga | Search, Latest, Popular, Details, Read |
| 🎥 HentaiTV | ✅ Running | Adult Videos | Search, Random, Recent, Trending, Watch, Info, Genre |
| 🔞 HentaiCity | ✅ Running | Adult Videos | Recent, Popular |
Note: Provider statuses are subject to change based on availability.
GET /api/hen/hentaitv/search/girl/1
{
"status": "success",
"data": {
"provider": "hentaitv",
"type": "search",
"results": [
{
"title": "Girls Rush Episode 2",
"id": "girls-rush-episode-2",
"image": "https://hentai.tv/wp-content/uploads/2023/09/poster_9781.jpg",
"views": 34601
},
...
],
"totalPages": 8,
"currentPage": 1,
"hasNextPage": true,
"totalResults": 192
}
}Contributions are welcome! If you'd like to contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by your PacaLabs Team