Filudi developer docs
Four sections. Read the one that matches what you build; the references serve both.
- Games: from the invitation to a version under review, and everything a game can do on filudi.com and on portals.
- SDK:
@filudi/game-sdk, one page per module, with the rules the host applies. - Portals: the three ways to run a site on the catalog, approval, domains, server keys.
- API reference: every route of the API, generated from the file the API runs on.
Reading a page
Section titled “Reading a page”Code samples sit in the right column on a wide screen and under the text on a narrow one. The language tabs switch every sample on the site at once; the choice is kept in your browser.
import { sdk } from '@filudi/game-sdk';
const { player, locale } = await sdk.init({ gameId: 'gloop' });sdk.ready();import { sdk, type InitResult } from '@filudi/game-sdk';
const result: InitResult = await sdk.init({ gameId: 'gloop' });sdk.ready();Every page is also served as Markdown: add index.md to its address. /llms.txt lists every page
and /llms-full.txt holds them all, for an agent that reads the docs in one go.