Stop copying config files into every new project — I built a CLI for this

작성자

카테고리:

← 피드로
DEV Community · Ihda · 2026-06-19 개발(SW)
Cover image for Stop copying config files into every new project — I built a CLI for this

Ihda

You know that feeling when you start a new project and spend
the first 20 minutes doing nothing productive?

Hunting for the Android keystore. Finding the right .env file.
Copying VS Code settings. Again. And again. Every. Single. Project.

I got tired of it. So I tried building something to fix it — coffee-installer.

How it works

Create a collection folder and point coffee-installer to it:

mkdir ~/.coffee-collection
echo '{ "baseSource": "~/.coffee-collection" }' > ~/.coffee.config.json

Enter fullscreen mode Exit fullscreen mode

Add your reusable files to the collection:

mkdir -p ~/.coffee-collection/my-app/android/app
cp android/app/keystore.jks ~/.coffee-collection/my-app/android/app/
cp android/key.properties   ~/.coffee-collection/my-app/android/

Enter fullscreen mode Exit fullscreen mode

Preview before installing:

$ coffee diff my-app
Diff — my-app (config)
  + add         android/key.properties
  + add         android/app/keystore.jks
  + add         frontend/.env.development.local
3 to add, 0 to overwrite, 0 to skip

Enter fullscreen mode Exit fullscreen mode

Then install with one command:

$ coffee install my-app

📦 Installing my-app...
  ✅ copied android/key.properties
  ✅ copied android/app/keystore.jks
  ✅ copied frontend/.env.development.local
✅ my-app installed.

Enter fullscreen mode Exit fullscreen mode

All commands

coffee list              # see everything in your collection
coffee diff my-app       # preview before installing
coffee install my-app    # install into current project
coffee pull my-app       # sync changes back to collection

Enter fullscreen mode Exit fullscreen mode

Why I built this

I work across multiple projects — mobile apps, web backends, Flutter apps.
Every project needs the same credentials, the same IDE config, the same
environment files.

The alternative was a folder of files I’d manually copy every time, or
worse — storing credentials in a repo (never do this).

coffee-installer keeps everything in one local folder that never touches version control. It’s not perfect yet, but it already saves me a lot of setup time.

Zero dependencies

The entire thing runs on Node.js stdlib only — no external packages,
nothing to audit, nothing that breaks when a dependency changes.

Try it

coffee-installer

npm version npm downloads license node zero dependencies

Stop copying the same config files into every new project.

coffee-installer lets you keep keystores, .env files, IDE settings, credentials, and any files you reuse across projects in one place — your coffee collection — and install them into any project with a single command.

coffee install my-app

Enter fullscreen mode Exit fullscreen mode

Why

Every new project starts the same way: hunt for the .env file from the last project, find the Android keystore, copy the VS Code settings, remember where you put the Firebase credentials…

coffee-installer solves this by keeping all those files in a local collection folder and giving you a fast CLI to install, preview, and sync them.

Installation

npm install -g coffee-installer

Enter fullscreen mode Exit fullscreen mode

Both coffee and coffee-installer are registered as CLI commands.

Demo

$ coffee list
Coffee Collection — ~/.coffee-collection

Config-defined projects:
  my-app     ~/.coffee.config.json
  backend    ~/.coffee.config.json

Folders in collection:
  .agents    (symlink)
  .vscode    (symlink)
  my-app     (config + convention)

⭐ Star coffee-installer on GitHub

I’m still figuring out the best workflow myself — how do YOU handle this?
I’d love to learn from how others solve it. Drop it in the comments! 👇

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다