Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flixcloud Api Lite

An Express.js microservice that translates AniList IDs to MyAnimeList IDs and generates dynamically formatted streaming URLs across configured media servers.

Deploy Flixcloud Lite to Vercel:
Deploy with Vercel

Features

  • Automatic ID Mapping: Converts AniList IDs to MyAnimeList IDs via the ani.zip mapping API, falling back to the AniList ID if the request fails.
  • Template Placeholder Parsing: Automatically replaces {ani}, {mal}, {ep}, and {lang} variables in configured server URL templates.
  • Multi-Audio Output: Generates separate URL listings for both subtitled (sub) and dubbed (dub) streams in a single response.

Prerequisites

  • Node.js v14 or higher (with ES Module support enabled)
  • express and axios packages

Installation

Install the required dependencies:

npm install

Configuration

Define your video server templates inside the servers array in the index.js file using supported placeholder tags ({ani}, {mal}, {ep}, {lang}):

if you don't know any servers use these: SERVER LIST

const servers = [
  { 
    name: "ServerAlpha", 
    url: "https://provider-a.com/embed/{ani}/{ep}?lang={lang}" 
  },
  { 
    name: "ServerBeta", 
    url: "https://provider-b.com/v/{mal}/{ep}/{lang}" 
  }
];

Usage

Start the application:

node index.js

By default, the server runs at http://localhost:4000.

API Endpoint

GET /:animeid/:epno

  • URL Parameters:

    • animeid (number): The AniList ID of the anime.
    • epno (number): The target episode number.
  • Sample Request: GET http://localhost:4000/21/1

  • Sample Response:

    {
      "anilistId": 21,
      "episode": 1,
      "servers": {
        "sub": {
          "ServerAlpha": "https://provider-a.com/embed/21/1?lang=sub",
          "ServerBeta": "https://provider-b.com/v/21/1/sub"
        },
        "dub": {
          "ServerAlpha": "https://provider-a.com/embed/21/1?lang=dub",
          "ServerBeta": "https://provider-b.com/v/21/1/dub"
        }
      }
    }

About

A Lightweight anime server aggregator for our websites

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages