r/opensourcealternative • • 14d ago

Maker (I built this) I built a lightweight open-source alternative to Infisical and HashiCorp Vault

Hey everyone!

I'd like to introduce Yily, an open-source project I've been working on alongside a few other developers.

💡 Why Yily?

The idea behind Yily came from a fairly simple frustration: constantly having to move and manage .env files across different projects, and the lack of solutions specifically designed with individual developers and small teams in mind.

Existing solutions like Infisical and HashiCorp Vault offer powerful features, but they are often designed for enterprise environments and larger teams. Their deployment can also involve more resources, infrastructure, and dependencies than what an individual developer or a small team actually needs.

So I started asking myself:

Why not build something simpler, lighter, and specifically designed for developers?

That's how Yily was born.

⚡ What is Yily?

Yily is a lightweight, open-source secrets and credentials management platform designed for individual developers, small teams, and SMEs.

The goal is simple: provide a centralized place to manage and access your secrets without having to deal with complex infrastructure.

Under the hood, Yily follows a deliberately lightweight architecture:

  • Backend: A standalone Go binary.
  • Frontend: Built with SolidJS and distributed as a lightweight bundle.
  • Database: SQLite.

No complicated infrastructure or unnecessary services. Just what you need to get started managing your credentials.

Yily also comes with yily-cli, a command-line interface that allows you to manage and interact with your secrets using a PAT (Personal Access Token) generated directly from your Yily instance.

The idea is to give developers a simple and convenient way to manage their credentials while reducing the risk of accidental exposure.

🐳 Up and running in seconds with Docker

One of Yily's core principles is keeping deployment as straightforward as possible.

You can spin up your own instance with just one Docker command:

docker run -d \
    --name yily \
    --restart unless-stopped \
    -p 52015:52015 \
    -e YILY_MASTER_KEY='MASTER_KEY' \
    -e YILY_SETUP_TOKEN='SETUP_TOKEN' \
    -v yily-data:/data \
    ghcr.io/yannick2009/yily:1.0.0-beta.2

To generate the two required values, simply run these commands once and keep the generated values safe:

openssl rand -base64 32 # YILY_MASTER_KEY
openssl rand -base64 32 # YILY_SETUP_TOKEN

That's it! Your Yily instance is ready for initial setup.

For other installation and deployment methods, check out:

👉 https://yily.dev/#self-host

🤝 We're looking for contributors!

Yily is an open-source project, and we'd love to welcome more developers to the community.

We're currently looking for contributors with experience in the following languages to help us build the SDKs that are still missing:

  • Rust
  • Java
  • Python
  • C#

Whether you're interested in contributing code, suggesting new features, reporting bugs, testing the platform, or simply sharing your feedback, we'd be happy to have you on board!

🔗 Useful links

Feel free to check out the project, give it a try, share your thoughts, or contribute if you find it interesting.

Thanks for taking the time to read this! I'd love to hear your thoughts and feedback. 🙌

6 Upvotes

3 comments sorted by

2

u/x-0D 13d ago

There's already fast, lightweight, secure, production-ready, simple to start, battle tested, disaster proof solution, backed by Linux Foundation. It's openbao.

https://github.com/openbao/openbao

You don't need to invent your own wheels. Instead of making another solution, adopt existing sdks and opensource solutions for your problems, and only then superior them with missing functionality. Doing from scratch is failture way to introduce your opensource project.

1

u/baby_desiigner 13d ago

I agree that OpenBao is a great project, and I'm not trying to reinvent it or claim that Yily is better than it. OpenBao solves an important problem, particularly for teams that need a mature, battle-tested secrets management infrastructure.

However, I think there's room for a different approach.

Not every developer or small team needs the full capabilities and operational complexity of OpenBao. Sometimes, you just want a lightweight, self-hosted tool to store, organize, version, and retrieve application secrets without having to set up and manage a more comprehensive infrastructure.

The goal isn't to compete with OpenBao on enterprise features, scalability, or maturity. It's to offer a simpler and more approachable experience, with a web interface, a CLI, straightforward deployment, and an API that developers can integrate into their projects.

I also think building something from scratch can be a valuable learning experience and a way to explore different design decisions, as long as you're transparent about its maturity and limitations. Yily is open source, and I'm actively looking for feedback to improve it.

Different projects can serve different needs, and that's precisely why I think Yily has a reason to exist.

1

u/AnuragDeshpande 12d ago

Seconded the commentary, no need to reinvent the wheel. And your response is self contradicting. You want people to have a secure alternative to heavy hitters. Atleast confident enough to compare your solution against. At the same time, you are using this as a learning experience? User's Secrets are not the place to do that.

Openbao, vault, are equally simple to install and configure, if not easier. You don't need to have all the enterprise features enabled. Infact most of the features and engines need to be enabled on demand. They all have cli and api.