Skip to main content
The ink SDK includes three built-in services for common data needs. Services run independently of the tick cycle, caching data for efficient access. Reference: src/services/ directory

Service Interface

All services implement this interface: Reference: Service interface in src/services/types.ts

ChanService

Fetches trending threads from SFW 4chan boards. Scores threads by activity (replies + images). Available SFW boards: g, sci, lit, mu, his, fit, ck, fa, tg, biz, tv, vg Data returned:
Usage:
Reference: src/services/chan.ts

NewsService

Fetches and caches news from RSS feeds and APIs. Data returned:
Usage:
Reference: src/services/news.ts

MarketService

Fetches cryptocurrency price data with sentiment analysis. Data returned:
Usage:
Reference: src/services/market.ts

Service Types

Reference: ServiceType enum in src/services/types.ts

Creating All Built-ins

Service Health

Next Steps

Plugin SDK

Build plugins that use service data.

Custom Plugins

Create your own integrations.