Skip to content

PotLock/curatedotfun

 
 

Repository files navigation

curate.fun

Bot to curate and to streamline to different news feeds

Table of Contents

Project Structure

Monorepo Overview

This project uses a monorepo structure managed with Turborepo for efficient build orchestration:

curation-bot/
├── frontend/          # React frontend application
├── backend/           # Bun-powered backend service
├── package.json       # Root package.json for shared dependencies
└── turbo.json         # Turborepo configuration

Key Components

  • Frontend (Documentation)

    • React-based web interface
    • Built with Vite and Tailwind CSS
    • Handles user interactions and submissions
  • Backend (Documentation)

    • Bun runtime for high performance
    • Twitter bot functionality
    • API endpoints for frontend
    • Distribution services for RSS and Telegram

Available Feeds

The platform currently supports several curated feeds:

  • Crypto Grant Wire: Blockchain grant updates
  • This Week in Ethereum: Ethereum ecosystem updates
  • NEARWEEK: NEAR Protocol updates
  • AI x Crypto News: AI and blockchain intersection
  • AI News: AI updates
  • Crypto News: General crypto updates
  • Public Goods FM: Public goods focus
  • REFI DAO: Regenerative Finance updates
  • DeSci World: Decentralized Science updates
  • Network State News: Network states & intentional communities
  • SOL-WEEK: Solana ecosystem updates
  • Web3 Fundraising: Fundraising announcements

Getting Started

Installing dependencies

The monorepo uses Bun for package management. Install all dependencies with:

bun install

This will install dependencies for both frontend and backend packages.

Environment Setup

Copy the environment template and configure your credentials:

cp .env.example .env

Required environment variables:

# Twitter API Credentials
TWITTER_USERNAME=your_twitter_username
TWITTER_PASSWORD=your_twitter_password
TWITTER_EMAIL=your_twitter_email

# Distribution Services Configuration

# Telegram (Optional)
TELEGRAM_BOT_TOKEN=          # Your Telegram bot token
TELEGRAM_CHANNEL_ID=         # Target channel ID for posts

Running the app

Start both frontend and backend development servers:

bun run dev

This will launch:

Building for production

Build all packages:

bun run build

Deploying

For deployment instructions, see our Deployment Guide.

Running tests

bun run test

Tests are located in the backend's src/__tests__ directory. Run them using bun run test.

Configuration & Usage

For detailed information about configuration, submission process, and usage, please refer to our documentation:

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you're interested in contributing to this project, please read the contribution guide.