Skip to content

raisulrahat1/PacaHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 PacaHub 🌐

Status GitHub Issues License

A unified API for seamlessly fetching content from multiple websites.


📋 Table of Contents


🔍 Overview

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.


✨ Features

  • 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

🚀 Getting Started

Prerequisites

  • Node.js (v14.0.0 or higher)
  • npm or yarn

Installation

  1. Clone the repository

    git clone https://github.com/raisulrahat1/PacaHub.git
  2. Install dependencies

    cd PacaHub
    npm install
  3. Start the server

    npm start

The API will be available at http://localhost:3000.


📚 API Documentation

📖 MangaKakalot

Endpoint Description Parameters
/api/manga/kakalot/search/:query/:page Search for manga query: Search term
page: 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 ID
chapterId: Chapter ID

🎥 HentaiTV

Endpoint Description Parameters
/api/hen/hentaitv/search/:query/:page Search for videos query: Search term
page: 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 name
page: Page number (optional)
'/api/hen/hentaitv/brand/:brand?page=1 Get Studio '?page=': Page Number (optional)

🔞 HentaiCity

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.


📡 Supported Providers

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.


🔍 Examples

Search Request

GET /api/hen/hentaitv/search/girl/1

Search Response

{
  "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
  }
}

🤝 Contributing

Contributions are welcome! If you'd like to contribute:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

For major changes, please open an issue first to discuss what you would like to change.


📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ by your PacaLabs Team

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •