Skip to content

CoorenLabs/CoorenLabs

Cooren API

Bun Node.js Deno ElysiaJS TypeScript License: GPL v3

Cooren is an open-source, high-performance, and scalable scraping engine designed to collect, organize, and deliver structured data from across the world of anime, movies, manga, and music.

Developed and maintained by CoorenLabs.


Quick Links


Features

  • Multi-Runtime Compliance: Full support for Bun, Node.js, and Deno.
  • Unified Media Ecosystem: Anime, Manga, Movies, TV, and Music.
  • High Performance: Native speed powered by Bun and ElysiaJS.
  • Mock-Based Testing: Comprehensive dual-framework (Vitest/Jest) integration tests.
  • Developer Friendly: TypeScript and modular, test-ready architecture.

Tech Stack

  • Runtime: Bun
  • Framework: ElysiaJS
  • Language: TypeScript
  • Scraping: Cheerio, Puppeteer
  • Database/Cache: Upstash Redis
  • Validation: Zod

Getting Started

Prerequisites

Install Bun.

Installation

git clone https://github.com/CoorenLabs/CoorenLabs.git
cd CoorenLabs
bun install

Running the Server

bun run dev      # or bun run hot

Build for Production

bun run build:bun   # Optimized for Bun
bun run build:node  # Compile to Node

Creating a New Provider

src/providers/<name>/
├── route.ts
├── <name>.ts
└── types.ts

Example: route.ts

import Elysia from "elysia";
import { FlixHQ } from "./flixhq";

export const flixhqRoutes = new Elysia({ prefix: "/flixhq" })
  .get("/home", async () => await FlixHQ.home())
  .get("/search/:query", async ({ params: { query } }) => await FlixHQ.search(query));

Testing & Linting

bun run test
bun run lint
bun run lint:fix

License

This project is licensed under the GPL-3.0 License.


About

Cooren is an open-source, high-performance, and scalable scraping engine designed to collect, organize, and deliver structured data from across the world of anime, movies, manga, and music.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors