A flexible data fetching and indexing tool that collects information from various sources and makes it searchable. Perfect for digital packrats who want to hoard and search their data.
[!INFO] Ergs is currently Beta quality, public facing APIs are quickly evolving and currently in flux.
Use Docker or build from source:
git clone https://github.com/rubiojr/ergs
cd ergs
make build
Or grab a binary release from https://github.com/rubiojr/ergs/releases.
./ergs init
./ergs fetch
# Search all your data
./ergs search --query "language typescript"
# Search specific datasource
./ergs search --datasource github --query "rust"
# Start web interface with search and browsing
./ergs web --port 8080
# Then visit http://localhost:8080
# Fetches new data every 30 minutes by default
./ergs serve
- Firefox - Complete browsing history with full-text search from Firefox's places.sqlite database
- Chromium - Browsing history from Chromium-based browsers (Chrome, Edge, Brave, etc.)
- GitHub - Your GitHub activity, starred repos, and interactions
- Codeberg - Codeberg activity and repository events
- HackerNews - Stories, comments, jobs, and polls from Hacker News
- RSS - Articles from RSS/Atom feeds (blogs, news sites, etc.)
- RTVE - TV show episodes from RTVE (Spanish public broadcasting)
- Zed Threads - AI conversation threads from Zed editor
- Importer - HTTP API for importing blocks from external sources and custom scripts
- Gas Stations - Local gas station prices and info
- Datadis - Electricity consumption data from Datadis (Spanish electricity data platform)
- Timestamp - Simple timestamp logging (useful for testing)
# See what datasources you have
./ergs datasource list
# Check your data stats
./ergs stats
# List recent items from a datasource
./ergs list --datasource github --limit 5
# Start web interface for browsing and search
./ergs web
Your config lives at ~/.config/ergs/config.toml
. You can edit it directly or use the CLI commands. Each datasource gets its own SQLite database with full-text search.
- Check the datasource documentation for detailed setup instructions
- See docs/web-interface.md for web interface and API documentation
- See docs/queries.md for FTS5 search syntax and examples
- See docs/datasource.md if you want to create your own datasources
- Run
./ergs --help
for all available commands
Start hoarding! 📦