{"id":35066693,"url":"https://github.com/azdharsyahputra/pit","last_synced_at":"2026-01-06T05:14:36.063Z","repository":{"id":329397266,"uuid":"1113428745","full_name":"azdharsyahputra/pit","owner":"azdharsyahputra","description":"PIT is a portable local web development environment that manages multiple PHP versions, Nginx virtual hosts, databases, and developer services through a unified engine and modern control panel.","archived":false,"fork":false,"pushed_at":"2025-12-19T08:46:59.000Z","size":5711,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-12-22T02:55:39.695Z","etag":null,"topics":["apache","ci4","docker","go","golang","laragon","laravel","mysql","nginx","php","phpmyadmin","tool","tools"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azdharsyahputra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-10T00:58:58.000Z","updated_at":"2025-12-20T15:57:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/azdharsyahputra/pit","commit_stats":null,"previous_names":["azdharsyahputra/pit"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/azdharsyahputra/pit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azdharsyahputra%2Fpit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azdharsyahputra%2Fpit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azdharsyahputra%2Fpit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azdharsyahputra%2Fpit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azdharsyahputra","download_url":"https://codeload.github.com/azdharsyahputra/pit/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azdharsyahputra%2Fpit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28078031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache","ci4","docker","go","golang","laragon","laravel","mysql","nginx","php","phpmyadmin","tool","tools"],"created_at":"2025-12-27T11:32:03.159Z","updated_at":"2025-12-27T11:32:07.137Z","avatar_url":"https://github.com/azdharsyahputra.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PIT\n\n**PIT** is a local development engine designed to keep developers focused on what matters most: **writing code**.\n\nInspired by a racing pit crew, PIT handles the surrounding infrastructure — web server, runtimes, tools, and system setup — so you don’t have to.\n\n\u003e You build the application.  \n\u003e **PIT handles the pit stop.**\n\n---\n\n## 🚀 What is PIT?\n\nPIT is a **portable, engine-driven local development environment** built in Go.\n\nIt provides a fast, predictable, and zero-friction workflow by generating and managing everything required to run modern web applications locally — without manual configuration.\n\nPIT is opinionated where it matters and invisible where it should be.\n\n---\n\n## ⚡ Core Features (v0.1)\n\n### 🧠 Engine-First Architecture\n- Single binary engine written in Go\n- Centralized service orchestration\n- Explicit, idempotent one-time system setup\n- No manual config editing\n\n### 🌐 Web Stack\n- Portable Nginx\n- Automatic virtual host generation\n- Automatic `/etc/hosts` synchronization\n- Bind privileged ports without running the engine as root\n\n### 🐘 PHP Runtime\n- Dedicated PHP-FPM per project\n- Dedicated PHP-FPM runtime for tools\n- UNIX socket communication (no random ports)\n- Clear separation between application runtime and tooling\n\n### 🧰 Built-in Tools\n- phpMyAdmin included\n- Tools run in isolated runtimes\n- Tool virtual hosts are auto-generated and disposable\n\n### 🗄️ Database Experience\n- Optimized local database configuration\n- Password-based root access for development\n- phpMyAdmin works out-of-the-box\n\n---\n\n## 🧩 Why PIT?\n\nPIT is built on a simple belief:\n\n\u003e Local development should feel **instant, predictable, and effortless**.\n\nPIT takes ownership of infrastructure so developers don’t have to:\n- No environment drift\n- No hidden state\n- No manual wiring\n- No “read the docs first” moments\n\nEverything is generated, managed, and controlled by the engine.\n\n---\n\n## 🗂️ Project Structure (Simplified)\n\n```\npit/\n├─ cmd/pit/                 # CLI entrypoint\n├─ internal/\n│  ├─ core/                 # Engine \u0026 orchestration\n│  ├─ services/             # Service lifecycle\n│  └─ tools/                # Tool management \u0026 vhost generation\n├─ nginx/                   # Portable nginx\n├─ runtime/\n│  ├─ _tools/php/           # PHP-FPM runtime for tools\n│  └─ \u003cproject\u003e/php/        # PHP-FPM per project\n├─ tools/\n│  └─ phpmyadmin/           # Built-in tools\n└─ config/\n```\n\n---\n\n## 🚦 Getting Started\n\n### 1️⃣ One-time setup\n```bash\n./pit setup\n```\n\nThis will:\n- Prepare system permissions\n- Configure local database access\n\n### 2️⃣ Start the engine\n```bash\n./pit start\n```\n\n### 3️⃣ Open tools\n```\nhttp://phpmyadmin.test\n```\n\nLogin:\n- **User:** `root`\n- **Password:** *(empty)*\n\n---\n\n## 📌 Project Status\n\n- **Version:** `v0.1.0`\n- **Stage:** Stable MVP\n- **Scope:** Local development only\n\nPIT v0.1 focuses on **core stability and developer experience**.  \nFuture versions will expand only after real-world usage.\n\n---\n\n## 🛣️ Roadmap (Post v0.1)\n\nPlanned directions:\n- Service status \u0026 health reporting\n- Tool lifecycle management\n- Lightweight control panel\n- Cross-platform packaging\n- Additional built-in tools\n\n---\n\n## ⚠️ Disclaimer\n\nPIT is intended for **local development only**.\n\nSystem defaults prioritize speed and clarity over production-grade hardening.\n\n---\n\n## 🏁 Philosophy\n\nIn a race, drivers don’t stop to adjust their engine or tires.\n\nThey trust the pit crew.\n\n**PIT is that crew for your local development.**\n\n---\n\n## 📄 License\n\nMIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazdharsyahputra%2Fpit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazdharsyahputra%2Fpit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazdharsyahputra%2Fpit/lists"}