Skip to content

Latest commit

 

History

History
108 lines (75 loc) · 2.75 KB

File metadata and controls

108 lines (75 loc) · 2.75 KB

Quick Start: Populating Your Feed

Get content into your Hadron feed in minutes!


Fastest Method (Docker)

# 1. Start the application
docker compose up -d

# 2. Seed the database with sample content
./seed.sh

Done! Open http://localhost:3000 and you'll see:

  • 8 research posts with slides
  • 8 video reels
  • 5 podcast episodes
  • 8 community discussions

Adding More Papers from ArXiv

Add a Specific Paper

curl -X POST "http://localhost:8000/api/arxiv/add-paper" \
  -H "Content-Type: application/json" \
  -d '{"arxiv_id": "2301.00001", "create_post": true, "create_reel": true}'

Scan Multiple Categories

curl -X POST "http://localhost:8000/api/arxiv/scan-categories" \
  -H "Content-Type: application/json" \
  -d '{"papers_per_category": 3, "days_back": 7, "create_posts": true}'

Using the Python Script

docker compose exec backend bash
python populate_feed.py cs.AI 5    # 5 AI papers
python populate_feed.py cs.CV 3    # 3 Computer Vision papers
python populate_feed.py cs.LG 4    # 4 Machine Learning papers

ArXiv Categories Reference

Code Category
cs.AI Artificial Intelligence
cs.CV Computer Vision
cs.LG Machine Learning
cs.CL Computation and Language (NLP)
cs.RO Robotics
cs.NE Neural and Evolutionary Computing
cs.CR Cryptography and Security
stat.ML Machine Learning (Statistics)

Full list at http://localhost:8000/api/arxiv/categories


Content Types Generated

Content Description Time
Post Multi-slide summary with images ~5 sec
Reel Short-form video script ~3 sec
Podcast Full audio discussion script ~10 sec

Verify Your Content

# Check counts
curl http://localhost:8000/api/feed/posts | jq '.posts | length'
curl http://localhost:8000/api/reels/ | jq '.reels | length'
curl http://localhost:8000/api/podcast/episodes | jq 'length'

Troubleshooting

No content showing?

  1. Check if backend is running: curl http://localhost:8000/health
  2. Run the seed script: ./seed.sh

Gemini errors?


Ready to explore? Open http://localhost:3000 and start discovering research!