I will be moving to .com TLD soon in January 2027. Please stay updated by following @azukashiic on X!
RESTful API server to get all Southeast Asia Virtual YouTubers data
Hoshiro was a full-stack, community-driven database of Southeast Asian VTubers. It collected talents from Indonesia, Malaysia and Singapore in one place, with over 1,560 entries at its peak. Every profile was enriched with live YouTube data: avatar, banner, subscribers, videos, views, join date, verification and membership status.
Anyone could sign in with Discord and submit a missing VTuber in a few clicks. The app checked the YouTube channel automatically, and each entry credited the people who contributed to it.
The project was made of two parts:
The service has since been shut down and its repositories archived.
@handle. The API's /info/check endpoint resolves the channel and previews its name, avatar, subscriber count and handle.Pages that need sign-in are protected by Nuxt route middleware. Logged-out users get a prompt to authenticate first.
The backend has one Mongoose model per region. It registers the same set of routes (list, search, active, graduated, profile, create, update) for every region in a single loop, so adding a region only means adding a model:
export const regions = [
{ code: 'id', db: Indonesia },
{ code: 'my', db: Malaysia },
{ code: 'sg', db: Singapore },
];
regions.forEach((region) => {
router.get(`/${region.code}`, listTalents(region));
router.get(`/${region.code}/active`, ...);
router.get(`/${region.code}/graduated`, ...);
router.get(`/${region.code}/:handle`, ...);
router.post(`/${region.code}`, ...);
router.patch(`/${region.code}/:handle`, ...);
});
Hoshiro used youtubei.js (YouTube's internal InnerTube API) to resolve a handle to a channel and read its header and About page. The parser handles both of YouTube's channel layouts (the older C4TabbedHeader and the newer PageHeader), so profiles kept working while YouTube rolled out its redesign. If a channel lookup fails, avatars fall back to generated initials.
httpOnly, secure cookies: a 1-hour access token and a 7-day refresh token. Middleware rotates both tokens automatically when the access token expires.guard() middleware.| Route | Method | Description |
|---|---|---|
/ | GET | App name and version |
/auth/login/discord | POST | Exchange a Discord OAuth code for a session |
/auth/me | GET | Current user (requires sign-in) |
/auth/logout | POST | End the session |
/info/check?link= | GET | Resolve and preview a YouTube channel |
/:region | GET | Paginated talent list, with ?query= search |
/:region | POST | Submit a new talent |
/:region/:handle | GET | Talent profile merged with live YouTube data |
/:region/:handle | PATCH | Update a talent and add the contributor |
/:region/active | GET | Active talents |
/:region/graduated | GET | Graduated talents |
| Layer | Tools |
|---|---|
| Backend | Express 4, TypeScript, Bun (dev and tests), Node 20 (production) |
| Database | MongoDB Atlas + Mongoose (text indexes, timestamps) |
| YouTube data | youtubei.js (InnerTube) |
| Auth | Discord OAuth2, JWT (jsonwebtoken), bcrypt, cookie-parser |
| Frontend | Nuxt 3 (Vue 3, TypeScript), Nuxt UI, Nuxt Image, Pinia, Moment.js |
| Testing | bun test + Supertest, with coverage in CI |
| DevOps | Docker (multi-stage), Docker Compose, GHCR, GitHub Actions (build, deploy, lint, test), Renovate |
| Hosting | Self-hosted API (Docker), Vercel (frontend) |
The backend is licensed under the MIT License.