Documentation
Everything you need to know about DegenFeed — the open-source web3 social aggregator.
Quick start
DegenFeed is a multi-protocol social aggregator that pulls public posts from 8 networks into one unified timeline. No account is needed to browse. Connect your wallet to like, reply, cross-post, and tip.
Supported protocols
| Protocol | Endpoint | Authentication | Type |
|---|---|---|---|
| Nostr | wss://relay.damus.io | nsec key | Decentralized relays |
| Farcaster | hub.farcaster.standardcrypto.vc:2281 | Signer key | Hubs + on-chain registry |
| Lens | api.lens.xyz/graphql | Wallet sign-in | Polygon smart contracts |
| Bluesky | public.api.bsky.app | App password | AT Protocol PDS |
| Mastodon | social.degenfeed.xyz | OAuth token | ActivityPub federation |
| Threads | threads.net (public HTML) | None (read-only) | Meta ActivityPub + scraping |
| reddit.com/.rss | None (RSS) | RSS feed scraping | |
| RSS | Any feed URL | None | Syndication standard |
API reference
All endpoints are served from degenfeed.xyz/api/*. No API key is required for public endpoints. Rate limit: 20 requests per 5 seconds per IP.
/api/feed/homeHome timeline. Aggregated and ranked feed across all enabled protocols./api/feed/trendingTrending posts across all protocols. Sorted by engagement velocity./api/feed/newsCurated news feed from RSS, Mastodon, and Bluesky sources./api/feed/rss.xmlRSS feed of top DegenFeed posts. Subscribe in any RSS reader./api/feed/:protocolPer-protocol feed (nostr, farcaster, lens, bluesky, mastodon, threads, reddit, rss)./api/feed/healthProtocol health status. Latency and uptime per provider./api/feed/category/:catFiltered feed by niche category (defi, nft, ai, gaming, etc.)./api/publishCross-post to connected protocols. Requires wallet authentication./api/engageLike, reply, or repost. Protocol-native signing per platform./api/searchCross-protocol search. Query params: q, protocol, limit./api/account/exportExport all your data. GDPR-compliant data portability./api/account/deletePermanently delete your account and all associated data./api/newsletter/subscribeSubscribe to the daily digest newsletter. Optional topic preferences./api/newsletter/digestPreview the latest daily digest./api/tip/createCreate a crypto tip (ETH, SOL, USDC). Returns transaction payload.Self-hosting
DegenFeed is licensed under MIT. You can run your own instance on Cloudflare Pages (free tier) or any Node.js host.
Clone the repo
git clone https://git.rugmunch.io/RugMunchMedia/degenfeed-web.git && cd degenfeed-webInstall dependencies
pnpm installConfigure environment
cp .env.example .env && $EDITOR .envStart development server
pnpm devBuild for production
pnpm buildDeploy to Cloudflare
npx wrangler pages deploy apps/web --project-name degenfeed-webEnvironment variables
Required for full functionality (posting, tipping, auth):
AUTH_SECRET — session signing secret (generate with openssl rand -hex 32)ALLOWED_ORIGINS — comma-separated allowed CORS originsRELAY_URLS — comma-separated Nostr relay URLsFARCASTER_HUB_URL — Farcaster hub gRPC endpointLENS_API_URL — Lens GraphQL API endpointSOLANA_RPC_URL — Solana RPC for wallet verificationArchitecture
Monorepo structure
apps/web/— Next.js 15 App Router frontendworkers/api/— Cloudflare Worker edge proxy + aggregatorpackages/feed-core/— Feed normalization and deduplicationpackages/feed-providers/— 8 protocol adapters (Nostr, Farcaster, Lens, Bluesky, Mastodon, Threads, Reddit, RSS)packages/ranking/— 7-component transparent scoring algorithmpackages/ui/— Shared React componentspackages/identity/— Cross-protocol identity resolutionpackages/auth/— SIWE + Solana wallet sign-in
Data flow
- 1. Worker receives feed request
- 2. Providers fetch posts in parallel
- 3. Feed core normalizes to UnifiedPost
- 4. Ranking engine scores each post
- 5. Results merged, deduplicated, sorted
- 6. Response cached at edge (30s)
- 7. Client renders with infinite scroll
Tech stack
More resources
FAQ
15 common questions about accounts, protocols, federation, payments, and privacy.
About
Mission, team, Rug Munch Media LLC, infrastructure, and open-source commitment.
Status
Live health dashboard for all 8 protocol providers. Latency and uptime.
Source code (Forgejo)
Full monorepo source. MIT licensed. Issues and PRs welcome.
GitLab mirror
Public mirror synced on every push. CI/CD and merge requests.
Newsletter
Daily digest of curated web3, crypto, and AI news from 8 protocols.