惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
博客园 - 【当耐特】
博客园_首页
The GitHub Blog
The GitHub Blog
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
博客园 - 三生石上(FineUI控件)
D
Docker
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
酷 壳 – CoolShell
酷 壳 – CoolShell
雷峰网
雷峰网
小众软件
小众软件
I
InfoQ
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky

Show HN

Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code.
GitHub - Thanos2002/Oneconfig: Set up any dev environment...
ThanosAkr · 2026-06-03 · via Show HN

Set up any dev environment with one command.

License: MIT Go


oneconfig generate   →   scans your project, builds a config
oneconfig up         →   installs everything, starts all services

That's it. No Dockerfiles to write. No READMEs to follow. No "works on my machine."



💡 The Problem

Every project has the same onboarding pain:

"Clone the repo, install Node 20, make sure you have Postgres running, oh and you need Redis too, then copy .env.example, run the migrations, seed the database, then…"

OneConfig eliminates all of that. It deep-scans your repository, infers your entire stack—languages, runtimes, package managers, databases—and generates a single oneconfig.yml that describes your full environment. Then it provisions everything automatically, in the right order, with health checks.

New developer? One command. Done.


✨ Why OneConfig?

Traditional Setup With OneConfig
⏱️ Time to first run 30–60 min of manual steps < 2 minutes
📖 Documentation Long, fragile setup guides Self-documenting config
🔄 Reproducibility "Works on my machine" Deterministic, every time
🧩 Monorepo support DIY scripting Built-in deep scanning
🏥 Health checks Hope for the best Automated, per-service

🚀 Quick Start

Prerequisites

1. Install

go install github.com/Thanos2002/Oneconfig@latest

Note: go install uses the last part of the module path for the binary name, so this will install as Oneconfig (with a capital O). On case-sensitive systems (Linux/macOS), you may need to alias it or rename the binary to oneconfig to follow the docs.

Note: Ensure $GOPATH/bin (or $HOME/go/bin) is in your system PATH so the command is available globally.

2. Generate

Navigate to any project and let OneConfig figure out your stack:

cd your-project/
oneconfig generate

This will scan your codebase and create a tailored oneconfig.yml—detecting your runtimes, package managers, frameworks, and databases automatically.

3. Launch

OneConfig will install runtimes, resolve dependencies, start databases, run migrations, boot your app, and verify health checks—all in the correct order.

✔ Validated oneconfig.yml
✔ Installed Node.js 20.x
✔ Ran npm install
✔ Started postgres (healthy on :5432)
✔ Ran migrations
✔ Started api (healthy on :3000)

🚀 Environment ready — http://localhost:3000

🧠 Universal Detection Engine

When you run oneconfig generate, the engine recursively traverses your project (including monorepos) and automatically identifies:

Category Detected Technologies
JavaScript / TypeScript Node.js, npm, yarn, pnpm, bun
Python pip, Poetry, uv, Pipenv
Backend / Systems Go, Rust (Cargo), Java (Maven / Gradle), Ruby (Bundler)
Web Frameworks Next.js, Django, FastAPI, Flask, Streamlit, Gradio, Rails, Sinatra
Databases PostgreSQL, MongoDB, Redis, MySQL — spun up via Docker
Infrastructure Makefile, Procfile, Dockerfile, docker-compose.yml
Monorepos Workspaces, packages/, apps/ directories

Extensible by design: Adding support for a new technology is as simple as creating a single detector_*.go file.


⚙️ The oneconfig up Lifecycle

Under the hood, the orchestrator executes a deterministic pipeline:

  oneconfig.yml
       │
       ▼
┌──────────────┐
│   Validate   │  ← Schema & dependency checks
└──────┬───────┘
       ▼
┌──────────────┐
│   Runtimes   │  ← Install Node.js, Python, Ruby, etc.
└──────┬───────┘
       ▼
┌──────────────┐
│ Dependencies │  ← npm install, poetry install, cargo build…
└──────┬───────┘
       ▼
┌──────────────┐
│  Env Vars    │  ← Inject variables into .env
└──────┬───────┘
       ▼
┌──────────────┐
│  Services    │  ← Boot in dependency order (DB → API → Workers)
└──────┬───────┘
       ▼
┌──────────────┐
│Health Checks │  ← TCP / HTTP probes per service
└──────┬───────┘
       ▼
┌──────────────┐
│  Post-Start  │  ← Migrations, seeds, notifications
└──────────────┘

📄 Example Configuration

Here's what oneconfig generate might produce for a typical full-stack Node.js + Postgres application:

project_name: my-app

runtimes:
  - name: node
    version: "20.x"

package_managers:
  - type: npm
    path: .

env_vars:
  NODE_ENV: development
  DATABASE_URL: postgres://localhost:5432/myapp

services:
  - name: postgres
    type: docker
    start_command: docker run -p 5432:5432 postgres:15
    port: 5432
    health_check:
      type: tcp
      target: ":5432"
      timeout: 30s

  - name: api
    start_command: npm run dev
    port: 3000
    depends_on: [postgres]
    health_check:
      type: http
      target: http://localhost:3000/health

setup_steps:
  - name: migrate
    command: npm run db:migrate
    depends_on: [postgres]

post_start_commands:
  - echo "🚀 Application ready at http://localhost:3000"

⌨️ CLI Reference

Command Description
oneconfig generate Scan the current project and auto-generate oneconfig.yml
oneconfig init Create a blank starter config for manual editing
oneconfig up Provision the full environment and start all services
oneconfig down Gracefully stop and tear down all running services
oneconfig status Show live service status, PIDs, ports, and health
oneconfig doctor Audit your system for missing tools and dependencies

🤝 Contributing

We welcome contributions! OneConfig's detection engine is designed to be highly extensible—adding support for a new framework or tool typically requires just one new file.

See the Contributing Guide for full details on how to get started.