How shailesh2302/aether works
Aether combines a web knowledge workspace, REST API, AI document and media processing, and a Rust video worker. The user workflow runs from upload or import through extraction/transcription and vector indexing, then semantic search or document chat; video features also include background processing and clip creation. The graph preserves auth, subscriptions, collaboration/search, and video capabilities documented by the tree. Edges are limited to shown source references or README statements; several unsampled routes and runtime integrations are represented only at subsystem level.
Main entry points: server.ts REST API · pipeline.py Ingestion pipeline · vector.service.ts Vector operations · file.routes.ts File management
Components 25
Web workspace
- Web app
apps/web/src/app - Workspace features
apps/web/src/components
API and accounts
- REST API
apps/api/src/server.ts - Authentication
apps/api/src/modules/auth/auth.service.ts - Auth middleware
apps/api/src/middleware/auth.ts - File management
apps/api/src/routes/file.routes.ts - Chat and search
apps/api/src/routes/chat.routes.ts - Media and collaboration routes
apps/api/src/routes - Processing dispatch
apps/api/src/services/processing.service.ts - Job queue
apps/api/src/services/queue.service.ts
AI processing
- AI endpoints
apps/ai-service/app/api/routes - Ingestion pipeline
apps/ai-service/app/services/pipeline.py - Document extraction
apps/ai-service/app/services/document_service.py - Audio transcription
apps/ai-service/app/services/whisper_service.py - Embedding generation
apps/ai-service/app/services/embedding_service.py - RAG and LLM
apps/ai-service/app/services/rag_service.py
Video worker
- Video job worker
apps/rust-worker/src/workers/video_worker.rs - Clip worker
apps/rust-worker/src/workers/clip_worker.rs - Media operations
apps/rust-worker/src/ffmpeg/mod.rs
Data and services
- Vector operations
apps/api/src/services/vector.service.ts - PostgreSQL
apps/api/src/config/db.ts - Redis
apps/rust-worker/src/queue/redis_client.rs - Qdrant
Other components
- User
- LLM and embedding provider
Connections 27
- User → Web app: uses
README.md - Web app → REST API: requests
README.md - Web app → Workspace features: renders
- REST API → Authentication: registers routes
apps/api/src/server.ts - Auth middleware → Authentication: verifies tokens
apps/api/src/middleware/auth.ts - REST API → File management: registers routes
apps/api/src/server.ts - REST API → Chat and search: registers routes
apps/api/src/server.ts - REST API → Media and collaboration routes: registers routes
apps/api/src/server.ts - File management → Processing dispatch: dispatches processing
apps/api/src/routes/file.routes.ts - File management → Job queue: enqueues jobs
apps/api/src/routes/file.routes.ts - File management → Vector operations: reads vectors
apps/api/src/routes/file.routes.ts - Chat and search → Vector operations: searches vectors
apps/api/src/routes/chat.routes.ts - Chat and search → PostgreSQL: reads and writes
apps/api/src/routes/chat.routes.ts - Ingestion pipeline → Document extraction: extracts text
apps/ai-service/app/services/pipeline.py - Ingestion pipeline → Audio transcription: transcribes media
apps/ai-service/app/services/pipeline.py - Ingestion pipeline → Embedding generation: embeds chunks
apps/ai-service/app/services/pipeline.py - Ingestion pipeline → Vector operations: indexes vectors
apps/ai-service/app/services/pipeline.py - AI endpoints → Ingestion pipeline: starts ingestion
- RAG and LLM → Embedding generation: embeds queries
apps/ai-service/app/services/rag_service.py - RAG and LLM → Vector operations: retrieves matches
apps/ai-service/app/services/rag_service.py - Embedding generation → LLM and embedding provider: requests embeddings
apps/ai-service/app/services/embedding_service.py - Vector operations → Qdrant: stores vectors
README.md - Video job worker → Redis: consumes jobs
- Clip worker → Media operations: creates clips
apps/rust-worker/src/workers/clip_worker.rs - Video job worker → Media operations: processes media
apps/rust-worker/src/workers/video_worker.rs - Job queue → Redis: shares job queue
- Chat and search → AI endpoints: calls AI service