@seedprotocol/feed
v0.4.14
Published
Feed generation (RSS, Atom, JSON) for Seed Protocol
Readme
@seedprotocol/feed
Configuration
Caching (dev mode)
In development (NODE_ENV=development), feed caching is disabled by default so you always see fresh content. Set CACHE_ENABLED=true to enable caching in dev. See packages/feed/src/cache/README.md for full cache configuration.
Feed Item URLs (EASScan attestation links)
Item links in the feed can point to EASScan attestation pages. Set these environment variables:
FEED_ITEM_URL_BASE- Base URL for attestation links. Item URLs use{base}/attestation/view/{uid}. Default:https://easscan.org. Set to override.- Testnet:
https://optimism-sepolia.easscan.org - Mainnet:
https://easscan.org(default)
- Testnet:
FEED_ITEM_URL_PATH- Path segment (default:attestation/view). Only used whenFEED_ITEM_URL_BASEis set.FEED_SITE_URL- Site URL for fallback whenFEED_ITEM_URL_BASEis unset (default:https://seedprotocol.io).
Example .env
# Default: item links use https://easscan.org/attestation/view/{uid}
# Override for testnet:
FEED_ITEM_URL_BASE=https://optimism-sepolia.easscan.org
FEED_ITEM_URL_PATH=attestation/viewTo install dependencies:
bun installTo run:
bun run index.tsThis project was created using bun init in bun v1.3.5. Bun is a fast all-in-one JavaScript runtime.
