1.2 KiB
1.2 KiB
Drama Harvester
Introduction
Drama Harvester is a specialized tool designed to interface with rDrama's public APIs, retrieve content such as comments and posts, and publish them to Redis for caching and further processing. Its goal is to facilitate the real-time ingestion of rDrama content, serving as a foundational layer for applications requiring streamlined access to rDrama data.
Features
- Retrieves comments and posts from rDrama's endpoints.
- Publishes content to Redis, ensuring efficient caching.
- Supports incremental fetching to minimize redundant data retrieval.
Getting Started
Prerequisites
- Node.js (version 14 or later recommended)
- Redis server instance
Installation
-
Clone the repository:
git clone https://fsdfsd.net/J/DramaHarvester.git
-
Navigate to the project directory:
cd DramaHarvester
-
Install dependencies:
npm install
Configuration
-
Copy the
.env.example
file to a new file named.env
.cp .env.example .env
-
Edit the
.env
file to include your Redis connection details and any other configuration variables.
Running Drama Harvester
To start the application, run:
npm start