Skip to content

rubiojr/ergs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ergs - Datahoarder's Paradise

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.

Quick Start

1. Build & Install

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.

2. Initialize

./ergs init

4. Fetch Data

./ergs fetch

5. Search Everything

# Search all your data
./ergs search --query "language typescript"

# Search specific datasource
./ergs search --datasource github --query "rust"

6. Web Interface

# Start web interface with search and browsing
./ergs web --port 8080

# Then visit http://localhost:8080

7. Run Continuously

# Fetches new data every 30 minutes by default
./ergs serve

Available Datasources

Browser Data

  • 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.)

Code Hosting Platforms

  • GitHub - Your GitHub activity, starred repos, and interactions
  • Codeberg - Codeberg activity and repository events

News & Media

  • 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)

Development Tools

  • Zed Threads - AI conversation threads from Zed editor

External Data Import

  • Importer - HTTP API for importing blocks from external sources and custom scripts

Utilities

  • 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)

Common Commands

# 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

Configuration

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.

Need Help?

Start hoarding! 📦