DEV Community

Cover image for No YAML Required: Rethinking Development Environment Configuration
Harun - solo dev
Harun - solo dev

Posted on

No YAML Required: Rethinking Development Environment Configuration

If you have ever tried to write a docker-compose.yml file on a mobile phone keyboard, you know exactly why HYNA-Stage doesn't use one.

I build this platform on a $150 Android phone in Termux. There is no Docker Desktop. There is no mechanical keyboard. There is just a glass screen, a cramped autocorrect, and a lot of frustration.

When I started building HYNA-Stage, the industry standard was to ask developers to write configuration files. devcontainer.json, Dockerfile, docker-compose.yml, Kubernetes manifests.

I looked at that and thought: If this is hard for me to write on a phone, it's friction for everyone else too.

So I made a decision that goes against the grain of modern dev tooling: HYNA-Stage requires zero configuration files.

🧠 HOW IT WORKS: INFERENCE OVER CONFIGURATION

Instead of asking you to tell the platform what you are building, the platform looks at your code and figures it out.

When you run hyna-stage up, the CLI scans your repository for standard manifest files:

  • package.json β†’ Node.js (detects npm, yarn, or pnpm)
  • requirements.txt or Pipfile β†’ Python
  • go.mod β†’ Go
  • Cargo.toml β†’ Rust

It infers the runtime, the package manager, and the default start command. Then it provisions the environment.

# What the industry asks you to do:
# 1. Write a Dockerfile
# 2. Write a docker-compose.yml
# 3. Configure port mappings
# 4. Run docker-compose up -d

# What HYNA-Stage asks you to do:
$ hyna-stage up
βœ“ Inferred runtime: Node.js 20
βœ“ Detected start script: "node server.js"
βœ“ Environment ready at https://<sandbox-id>.hyna-stage.dev
Enter fullscreen mode Exit fullscreen mode

⚠️ THE HONEST TRADE-OFF

Inference is not magic. It is a heuristic.

If you are running a standard web server, an API, or a script, it works perfectly. But if you have a monorepo with three different services, or a custom build step that doesn't follow standard conventions, the inference will guess wrong.

I could have spent six months building a perfect, Turing-complete configuration parser. Instead, I built an escape hatch.

If the auto-detection fails, you can override it with flags:

hyna-stage up --runtime python --start "uvicorn main:app --port 8000"
Enter fullscreen mode Exit fullscreen mode

It’s not as elegant as a config file, but it covers the 95% of cases where you just want to run your code, without forcing the 5% of edge cases to write YAML.

🧱 WHY THIS MATTERS FOR DX

Developer Experience (DX) isn't just about how fast the tool is. It's about how much cognitive load it removes.

Every line of configuration you write is a line you have to maintain, debug, and explain to new team members. By removing the configuration layer, HYNA-Stage lets you focus on the actual code you are trying to ship.

I didn't remove YAML because I hate it. I removed it because on a $150 phone, every unnecessary keystroke is a battle. And I figured if it's a battle for me, it's probably a distraction for you too.

πŸ”¨ TRY IT WITHOUT WRITING A SINGLE CONFIG FILE

I want to see what happens when you point HYNA-Stage at a repo that has absolutely no infrastructure code.

npm install -g @hynaweb/stage
hyna-stage up
Enter fullscreen mode Exit fullscreen mode

Dashboard: https://hyna-stage.netlify.app/
GitHub: https://github.com/harun-sket/hyna-stage

Drop a comment below with the most obscure runtime you've tried to configure. If it's not supported yet, I'll add it to the inference engine.

β€” Harun, Founder & CEO, HYNAWEB 🐯☁️

Top comments (20)

Collapse
 
koda2026 profile image
Harun - solo dev •

@akhourianmolkumar ,@effessdev , @xulingfeng , @nyaomaru , @star123 , @forkcount , @hubedav GUYS FORGOT ME? β“πŸ‘πŸ‘„πŸ‘πŸ˜­

Collapse
 
xulingfeng profile image
xulingfeng •

what's up?

Collapse
 
koda2026 profile image
Harun - solo dev •

Bro no one talks with me bro 😭 @effessdev he totally forgot me and @technogamerz not even a look up

Thread Thread
 
xulingfeng profile image
xulingfeng •

πŸ˜‚hahaha

Thread Thread
 
koda2026 profile image
Harun - solo dev •

Bro your talking! Iam happy Even my bro @akhourianmolkumar forgot me 😭

Thread Thread
 
akhourianmolkumar profile image
Akhouri Anmol Kumar •

come discord πŸ˜‚

Thread Thread
 
effessdev profile image
EffessDev •

πŸ™‚β€β†”οΈ

Thread Thread
 
koda2026 profile image
Harun - solo dev • • Edited

Brooo

Thread Thread
 
effessdev profile image
EffessDev •

I was talking to him lol πŸ˜‚ I never forgot you...

Thread Thread
 
koda2026 profile image
Harun - solo dev •

Ooh okay bro

Thread Thread
 
technogamerz profile image
π“π‘πž π‹πšπ³π² 𝐆𝐒𝐫π₯ •

Never forget πŸ‘€

Thread Thread
 
koda2026 profile image
Harun - solo dev •

Didi β™₯️

Thread Thread
 
technogamerz profile image
π“π‘πž π‹πšπ³π² 𝐆𝐒𝐫π₯ •

Image descriptionfd

Thread Thread
 
koda2026 profile image
Harun - solo dev •

β™₯️β™₯️β™₯️β™₯️

Collapse
 
hubedav profile image
David •

I couldn't forget ya if I wanted to, man. I'm unemployed heading into the holidays with a fractured family. I have even less time right now than before. I've got your posts queued up for when I find some extra time. 😎

Collapse
 
star123 profile image
Sᴛᴀʀ⭐ •

No broπŸ˜ƒβ€οΈ
Nice article πŸ’ͺ🏿

Collapse
 
userxnom profile image
Abdullah Naseer •

I like the framing here β€” inference over configuration makes sense when the cost of a wrong guess is low and the escape hatch is one flag away. One thing I would add: print the inferred plan and ask for confirmation, or offer a dry-run, before provisioning, so a wrong guess on a non-standard repo fails loudly instead of silently starting the wrong thing. For monorepos, a flag to pick which manifest to follow would cover a lot of the 5% without bringing YAML back. Building the whole thing on a $150 phone in Termux is impressive β€” that constraint clearly shaped a better default.

Collapse
 
koda2026 profile image
Harun - solo dev •

Abdullah β€” this is exactly the kind of feedback I need. You nailed the two biggest risks of inference: silent failures and monorepo ambiguity.

  1. The dry-run/confirmation: You're right, failing loudly is better than silently starting the wrong thing. I'm adding a --dry-run flag that prints the inferred runtime, start command, and port, then exits. For interactive use, I'll add a quick "Proceed? [Y/n]" prompt before provisioning kicks off.

  2. The monorepo flag: --manifest path/to/package.json (or similar) is a clean way to handle the 5% edge case without bringing YAML back. Adding it to the backlog.

Thanks for the kind words on the phone constraint. It really does force you to cut the fat β€” if a feature is too heavy to build in Termux, it probably shouldn't be in the product anyway.

I'll ping you when these CLI updates are live so you can test them alongside the Kotlin cold-start. 🐯☁️

Collapse
 
userxnom profile image
Abdullah Naseer •

Thank you, Harun β€” the --dry-run flag and the --manifest flag are exactly the two fixes I was hoping for, and I like that both keep YAML out of it. To be plain about the Kotlin side: I have not run the cold-start test for Missions 1 and 5 on my own setup yet, so I have no numbers to share β€” I will not make any up. When the CLI updates are live and I run the test, I will bring the real numbers back here. Which of the two flags do you want me to try first when they land?

Collapse
 
koda2026 profile image
Harun - solo dev •

@akhourianmolkumar ,@effessdev , @xulingfeng , @nyaomaru , @star123 , @forkcount , @hubedav WHAT DO YOU THINK GUYS πŸ‘«πŸ‘«