| title | AllSource - Quick Start Guide |
|---|---|
| status | CURRENT |
| last_updated | 2026-02-02 |
| category | guide |
The fastest way to get started is adding allsource-core to your Rust project:
cargo add allsource-core@0.2Or add to your Cargo.toml (pin to minor version for stability):
[dependencies]
# allsource-core: High-performance event store
# Pin to minor version - allows patch updates only
allsource-core = "0.2"Version Pinning: We recommend pinning to
"0.2"(minor version) rather than"0.2.0"(exact) or"0"(major only). This allows automatic patch updates for bug fixes while avoiding breaking changes. See our Dependency Management Guide for best practices.
Links: crates.io · docs.rs · GitHub
# Install Bun if you don't have it
curl -fsSL https://bun.sh/install | bash
# Install all project dependencies
bun install
# Install Go dependencies
cd apps/control-plane && go mod download && cd ../..Terminal 1 - Event Store Core:
cd apps/core
cargo run --release
# Wait for: "🚀 AllSource Core listening on 0.0.0.0:3900"Terminal 2 - Control Plane:
cd apps/control-plane
go run main.go
# Wait for: "🚀 Control Plane listening on port 3901"Terminal 3 - Web UI:
cd apps/web
bun dev
# Wait for: "▲ Next.js 14.1.0 - Local: http://localhost:3000"Visit: http://localhost:3000
Click "Ingest Demo Event" button → Watch stats update in real-time
- Copy the entity ID shown in the button (e.g.,
user-789) - Paste into "Entity ID" filter
- Click "Search"
- Expand an event to see the payload
# Ingest via API
curl -X POST http://localhost:3900/api/v1/events \
-H "Content-Type: application/json" \
-d '{
"event_type": "test.event",
"entity_id": "demo-123",
"payload": {"message": "Hello AllSource!"}
}'
# Query the event
curl "http://localhost:3900/api/v1/events/query?entity_id=demo-123" | jq# Check what's using the ports
lsof -i :3900 # Core
lsof -i :3901 # Control Plane
lsof -i :3000 # Web UI
# Kill if needed
kill -9 <PID>- Install Rust: https://rustup.rs/
- Install Go: https://go.dev/dl/
- Install Bun: https://bun.sh/
# Check logs for errors
cd apps/core && cargo run # See Rust errors
cd apps/control-plane && go run main.go # See Go errors
cd apps/web && bun dev # See Next.js errorsMake sure Core is running first! Control Plane depends on Core.
# View all make targets
make help
# Install everything
make install
# Run all services (requires tmux or manually open 3 terminals)
make dev
# Clean all builds
make clean
# Run demo script (after services are running)
./demo-script.sh
# Format code
bun format| Service | URL | Purpose |
|---|---|---|
| Web UI | http://localhost:3000 | Visual dashboard |
| Event Store API | http://localhost:3900 | Core event operations |
| Control Plane | http://localhost:3901 | Cluster management |
| Query Service | http://localhost:3902 | Elixir query processing |
- Read the full README:
README.md - Understand the architecture:
ARCHITECTURE.md - Prepare for demo:
DEMO.md - Try the demo script:
./demo-script.sh
Check these files:
README.md- Full documentationDEMO.md- Presentation guideARCHITECTURE.md- Technical deep-dive
Or create an issue describing your problem!
AllSource - You're ready to roll! 🚀