social components
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update README

+9 -5
+9 -5
README.md
··· 195 195 196 196 If you're writing XRPC component handlers, [`@inlay/cache`](packages/@inlay/cache) lets you declare cache lifetime and invalidation tags (`cacheLife()`, `cacheTagRecord()`, `cacheTagLink()`). The host uses these to know when to re-render. 197 197 198 - [`proto/`](proto/) is a simple but complete host with streaming, caching, and prefetching. 198 + [`proto/`](proto/) is a prototype host built with Hono and htmx. 199 199 200 200 ## Development 201 201 202 202 ```bash 203 203 npm install 204 - npm run build # generate lexicons + build all packages 205 - npm run typecheck # type-check everything 206 - npm test # run tests 204 + npm run dev # start the Next.js dev server (Turbopack) 205 + npm run build # production build (Next.js) 206 + npm run typecheck # type-check 207 + npm run lint # lint 207 208 ``` 208 209 209 210 ## Project structure 210 211 211 212 ``` 213 + app/ — Next.js app (host UI, routes, pages) 212 214 packages/@inlay/core/ — element primitives and JSX 213 215 packages/@inlay/render/ — rendering engine 214 216 packages/@inlay/cache/ — cache declarations 217 + db/ — database schema (Drizzle) 218 + ingester/ — AT Protocol firehose ingester 219 + invalidator/ — cache invalidation service 215 220 proto/ — prototype host server (Hono) 216 - invalidator/ — cache invalidation service 217 221 lexicons/ — AT Protocol lexicon definitions 218 222 generated/ — generated TypeScript from lexicons 219 223 ```