hackertron / hackertron/Yantra

Step 9: Polish — build system, error messages, goreleaser, demo GIF

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Context

Final polish before HN launch. Everything should feel smooth.

## Scope

### Build system
- Makefile with build, test, lint targets
- Cross-platform build (linux/amd64, linux/arm64, darwin/arm64)
- goreleaser config for GitHub releases
- Version injection via ldflags (`-X main.version=...`)

### UX polish
- Error messages that don't suck — human-readable, actionable
- "No API key found" → "Set GEMINI_API_KEY or add api_key_env to yantra.toml"
- "provider not found" → "Provider 'foo' not in config. Available: openai, anthropic, gemini"
- `yantra init` auto-detects available API keys from environment
- `yantra tui` auto-starts daemon if not running
- Clean `--help` output for every command

### Demo
- README with animated GIF showing the full flow
- Example configs for common setups
- `go install` one-liner in README

### Launch checklist (from mvp.md)
- [ ] `go install` → `yantra tui` works in under 30 seconds
- [ ] Streams tokens visually in TUI
- [ ] Can read/write files
- [ ] Can search the web
- [ ] Memory persists across sessions
- [ ] MCP servers work (demo with filesystem or GitHub MCP)
- [ ] Works with OpenAI, Anthropic, and Gemini
- [ ] Single binary, no Docker required
- [ ] README has animated GIF
- [ ] Clean --help output

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.