MCPcopy Index your code
hub / github.com/ReVanced/revanced-api

github.com/ReVanced/revanced-api @v1.8.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.8.0 ↗ · + Follow
57 symbols 138 edges 25 files 1 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img 
  width="256px"
  src="https://github.com/ReVanced/revanced-api/raw/v1.8.0/assets/revanced-headline/revanced-headline-vertical-light.svg"
>

     <img height="24px" src="https://github.com/ReVanced/revanced-api/raw/v1.8.0/assets/revanced-logo/revanced-logo.svg" />

   

       <img height="24px" src="https://i.ibb.co/9wV3HGF/Git-Hub-Mark-Light.png" />

   

       <img height="24px" src="https://user-images.githubusercontent.com/13122796/178032563-d4e084b7-244e-4358-af50-26bde6dd4996.png" />

   

       <img height="24px" src="https://user-images.githubusercontent.com/13122796/178032351-9d9d5619-8ef7-470a-9eec-2744ece54553.png" />

   

     <img height="24px" src="https://user-images.githubusercontent.com/13122796/178032213-faf25ab8-0bc3-4a94-a730-b524c96df124.png" />

   

     <img height="24px" src="https://user-images.githubusercontent.com/93124920/270108715-d80743fa-b330-4809-b1e6-79fbdc60d09c.png" />

   

     <img height="24px" src="https://user-images.githubusercontent.com/13122796/178032714-c51c7492-0666-44ac-99c2-f003a695ab50.png" />

Continuing the legacy of Vanced

🚀 ReVanced API

GitHub Workflow Status (with event) AGPLv3 License

API server for ReVanced.

❓ About

ReVanced API is a server that is used as the backend for ReVanced. ReVanced API acts as the data source for ReVanced Website and powers ReVanced Manager with updates and ReVanced Patches.

💪 Features

Some of the features ReVanced API include:

  • 📢 Announcements: Post and get announcements
  • ℹ️ About: Get more information such as a description, ways to donate to, and links of the hoster of ReVanced API
  • 💊 Manager: Get the latest updates of ReVanced Manager and its downloaders
  • 🧩 Patches: Get the latest updates of ReVanced Patches, directly from ReVanced API
  • 👥 Contributors: List all contributors involved in the project

🚀 How to get started

ReVanced API is deployed as a Cloudflare Worker.

🧑‍💻 Local development

  1. Install dependencies with bun install
  2. Copy .env.example to .env and fill in the required environment variables
  3. Create a local D1 database and run migrations with bun run db:migration:apply
  4. Start the development server with bun run dev

🌐 Deployment

bun run db:migration:apply --remote # Configure the database_id in wrangler.toml after this command.
bun run deploy

📚 Everything else

📙 Contributing

Thank you for considering contributing to ReVanced API. You can find the contribution guidelines here.

📜 Licence

ReVanced API is licensed under the AGPLv3 licence. Please see the licence file for more information. tl;dr you may copy, distribute and modify ReVanced API as long as you track changes/dates in source files. Any modifications to ReVanced API must also be made available under the GPL along with build & install instructions.

Extension points exported contracts — how you extend this code

Backend (Interface)
(no doc) [2 implementers]
src/backend/types.ts
Config (Interface)
(no doc)
src/config.ts
Env (Interface)
(no doc)
src/types.ts
GitHubAsset (Interface)
(no doc)
src/backend/github.ts
GitHubRelease (Interface)
(no doc)
src/backend/github.ts
GitHubContributor (Interface)
(no doc)
src/backend/github.ts
GitHubMember (Interface)
(no doc)
src/backend/github.ts

Core symbols most depended-on inside this repo

getConfig
called by 12
src/config.ts
getBackend
called by 10
src/config.ts
release
called by 6
src/backend/types.ts
getDatabase
called by 6
src/db/client.ts
formatRow
called by 5
src/services/announcements.ts
cacheControl
called by 4
src/cache.ts
getTagsForAnnouncement
called by 3
src/services/announcements.ts
formatDatetime
called by 2
src/backend/github.ts

Shape

Function 30
Interface 13
Method 12
Class 2

Languages

TypeScript100%

Modules by API surface

src/backend/github.ts16 symbols
src/services/announcements.ts12 symbols
src/backend/types.ts10 symbols
src/services/manager.ts5 symbols
src/services/patches.ts4 symbols
src/config.ts3 symbols
src/types.ts1 symbols
src/services/team.ts1 symbols
src/services/contributors.ts1 symbols
src/index.ts1 symbols
src/db/client.ts1 symbols
src/cache.ts1 symbols

For agents

$ claude mcp add revanced-api \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact