HN 표시: 서비스로서의 게으름 – 반중력 확장
hackernews
|
|
🔬 연구
#antigravity
#laas
#review
#vs code
#개발도구
#자동화
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
사용자가 매일 반복되는 Laravel, Vite, ngrok 등의 터미널 명령어 실행을 단순화하기 위해 VS Code 확장 프로그램인 'LaaS'를 개발했습니다. 이 도구는 사이드바 패널을 통해 각 서비스를 시작, 중지 및 검사할 수 있는 제어 기능을 제공하여 터미널 탭의 복잡성을 줄이는 것을 목표로 합니다. 특히 서비스가 강제 종료되지 않고 깔끔하게 shutdown될 수 있도록 커스텀 정지 명령어를 지원하며, 로컬 개발 환경의 관리 편의성을 높이고 있습니다.
본문
Lazy as a Service - If you have to do it twice, it should probably become a button. LaaS is a VS Code / Antigravity-compatible extension that gives you a sidebar panel and status bar buttons to start, stop, and inspect your local dev stack. Laravel, Vite, ngrok or whatever you want with your CMD. Because opening 5 terminal tabs every single day like some kind of ritual is not productivity, it is developer cardio. Modern dev setups love chaos: - one terminal for Laravel - one for Vite - one for ngrok - one for queues - one more because something crashed and now you are “just checking” LaaS saves you from terminal tab babysitting. Instead of manually summoning your dev stack like a sleep-deprived wizard, LaaS turns it into a clean little dashboard where your commands live, run, and behave themselves. Less clicking. Less typing. Less “wait which tab was Vite again?” More pure, refined laziness. - Eliminate Redundant Coding: Instead of re-typing long one-liners or searching through your .zshrc history, save your complex commands as a service once. - Headless Background Management: Commands run in independent Pseudoterminals. You can close your terminal panel, work on your code, and your services stay alive in the background until you hit "Stop." - Unified Environment: No more "Terminal Hunting." One sidebar, one status bar, and one-click "Start All" to fire up your entire project ecosystem. - Custom Cleanup: Traditional terminals just "kill" a process. LaaS allows you to define Custom Stop Commands (e.g., valet stop ,docker-compose down ) to ensure your environment is cleaned up properly. - Developer Sandbox: Need to run an FTP sync script that watches for changes? Add it as a service. Need a local AI agent running in the background? Add it as a service. If it runs in a CMD, it belongs in LaaS. | Before LaaS | After LaaS | |---|---| | Opening 4 terminal tabs manually. | Click "Start All" from the Status Bar. | | Hunting for the "Vite" tab to check for errors. | Click the "View Logs" icon on the Vite card. | | Leaving ghost processes running after closing VS Code. | Graceful Stop Commands clean up your stack. | | Forgetting that one complex shell one-liner. | It's saved in your Service Editor for good. | - Sidebar panel in the Activity Bar with per-service cards: - 🟢 Live status indicator (green = running, grey = stopped) - ▶ Start / ■ Stop buttons per service - Status bar buttons — Start All, Stop All, Show Output - Separate named terminals for each service | Service | Default command | |---|---| | Laravel | php artisan serve | | Vite | npm run dev | | ngrok | ngrok http 8000 | | Setting | Description | Default | |---|---|---| laas.laravelCommand | Command to start Laravel | php artisan serve | laas.viteCommand | Command to start Vite | npm run dev | laas.ngrokCommand | Command to start ngrok | ngrok http 8000 | laas.autoShowOnStart | Focus terminal on start | false | laas.statusBarAlignment | "left" or "right" | "left" | { "laas.laravelCommand": "php -d xdebug.mode=debug artisan serve", "laas.viteCommand": "npm run dev", "laas.ngrokCommand": "ngrok http 8000", "laas.autoShowOnStart": false, "laas.statusBarAlignment": "left" }
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유