from Hacker News

Show HN: Automated dev setup with Devbox and tmux

by mootoday on 4/7/24, 5:30 AM with 0 comments

For years, I've used various tools & shell scripts to automate my development environments.

Some were easier to maintain than others, but earlier tonight an idea crossed my mind to combine a few tools and end up with the following command:

`devbox run tmux`

Imagine you run this command and here's what it does: - Installs Node.js or Python and/or Postgres or whatever you need - Installs tmux & tmuxp - Runs whatever commands to set up the project (e.g. npm install) - Divides your terminal window into n panes - Starts a database, backend & web services, you name it - Seeds the database, runs tests, you get the idea

It's freshly baked and I'll continue to iterate on it, but would love your feedback and thoughts!

Thank you

https://github.com/mootoday/devbox-tmux