Is "sqlc for config" a good idea? Built a tool, not sure if it's useful to anyone else
Hey everyone,
I've been working on this side project and honestly not sure if it's solving a real problem or just scratching my own itch.
**The thing:** I got tired of writing config twice (once in TOML, again as Go structs), so I made a tool that generates Go code from TOML at build time. Also I don't really enjoy how type unsafe is `config.Get("<config.key>")`
**Quick example:**
[server]
addr = ":8080"
timeout = "30s"
Run `cfgx generate --in config.toml --out config.go` and you get:
var Server = ServerConfig{
Addr: ":8080",
Timeout: 30 * time.Second, // auto-detects durations
}
No runtime parsing, no Viper, just plain Go code with values baked in.
**My reasoning:**
* Most of my side projects have static config anyway
* Why parse TOML on every startup?
* No config files to bundle
* Type safety at compile time
**I use it in a few personal projects** and it works well for my workflow (containerized apps where config is per-environment at build time).
**But I'm wondering:**
1. Is this actually useful beyond my specific use case?
2. Does the "bake config at build time" approach make sense to others?
3. Should I invest more time into this or is Viper/koanf good enough for 99% of cases?
The obvious downside: you can't change config without rebuilding. But for Docker deployments, that's kind of the point?
It's v0.x.x and pretty minimal (\~600 LOC). Works with go:generate, supports nesting, arrays, env var overrides at build time.
GitHub: [https://github.com/gomantics/cfgx](https://github.com/gomantics/cfgx)
Would genuinely appreciate honest feedback—is this a "yeah that's useful" or "nah, over-engineering" kind of thing?
https://redd.it/1nyxuvv
@r_opensource
Hey everyone,
I've been working on this side project and honestly not sure if it's solving a real problem or just scratching my own itch.
**The thing:** I got tired of writing config twice (once in TOML, again as Go structs), so I made a tool that generates Go code from TOML at build time. Also I don't really enjoy how type unsafe is `config.Get("<config.key>")`
**Quick example:**
[server]
addr = ":8080"
timeout = "30s"
Run `cfgx generate --in config.toml --out config.go` and you get:
var Server = ServerConfig{
Addr: ":8080",
Timeout: 30 * time.Second, // auto-detects durations
}
No runtime parsing, no Viper, just plain Go code with values baked in.
**My reasoning:**
* Most of my side projects have static config anyway
* Why parse TOML on every startup?
* No config files to bundle
* Type safety at compile time
**I use it in a few personal projects** and it works well for my workflow (containerized apps where config is per-environment at build time).
**But I'm wondering:**
1. Is this actually useful beyond my specific use case?
2. Does the "bake config at build time" approach make sense to others?
3. Should I invest more time into this or is Viper/koanf good enough for 99% of cases?
The obvious downside: you can't change config without rebuilding. But for Docker deployments, that's kind of the point?
It's v0.x.x and pretty minimal (\~600 LOC). Works with go:generate, supports nesting, arrays, env var overrides at build time.
GitHub: [https://github.com/gomantics/cfgx](https://github.com/gomantics/cfgx)
Would genuinely appreciate honest feedback—is this a "yeah that's useful" or "nah, over-engineering" kind of thing?
https://redd.it/1nyxuvv
@r_opensource
GitHub
GitHub - gomantics/cfgx: Define your config in TOML, generate strongly-typed Go code with zero runtime dependencies.
Define your config in TOML, generate strongly-typed Go code with zero runtime dependencies. - gomantics/cfgx
Symphony - An Opensource Interactive Multi-Agent Manager
https://www.youtube.com/watch?v=TeKHki_UYd0
https://redd.it/1nyzqpa
@r_opensource
https://www.youtube.com/watch?v=TeKHki_UYd0
https://redd.it/1nyzqpa
@r_opensource
YouTube
Symphony - The Open-Source Agent Manager
This demo shows the basic functionality of project locale:
We explore the process of configuring and deploying an api documentation agent.
The api agent is described in an agent.md file that contains -
- The agents base prompt
- The tools it can use.…
We explore the process of configuring and deploying an api documentation agent.
The api agent is described in an agent.md file that contains -
- The agents base prompt
- The tools it can use.…
Whisper in the Browser - Speech-to-Text Model with Configurable Decoding Parameters
I put together an open-source code I thought you all might find interesting. It's called Transcribe-ASR, and it lets you run OpenAI's Whisper speech-to-text model entirely in your browser, no server, no API keys, no sending your audio anywhere.
GitHub Repo: https://github.com/harisnae/transcribe-asr
Live Demo: https://harisnae.github.io/transcribe-asr
Basically, it downloads the Whisper model (as an ONNX file) once, caches it, and then does all the processing locally. You can drag and drop an audio file, and it'll transcribe it right there.
What I found particularly fun was playing with the decoding parameters, you can tweak things like temperature, top-p, and repetition penalty to get different results. It's a good way to get a feel for how those settings affect the output.
It uses ONNX Runtime Web for the inference, which seems to work pretty well. I've included options for different model sizes and quantization levels to balance speed and accuracy.
I'm open to feedback, suggestions, and contributions! If you have ideas for improvements or find any bugs, please let me know on the GitHub repo.
TL;DR: I made a open source web app that runs Whisper locally in your browser.
https://redd.it/1nyzed8
@r_opensource
I put together an open-source code I thought you all might find interesting. It's called Transcribe-ASR, and it lets you run OpenAI's Whisper speech-to-text model entirely in your browser, no server, no API keys, no sending your audio anywhere.
GitHub Repo: https://github.com/harisnae/transcribe-asr
Live Demo: https://harisnae.github.io/transcribe-asr
Basically, it downloads the Whisper model (as an ONNX file) once, caches it, and then does all the processing locally. You can drag and drop an audio file, and it'll transcribe it right there.
What I found particularly fun was playing with the decoding parameters, you can tweak things like temperature, top-p, and repetition penalty to get different results. It's a good way to get a feel for how those settings affect the output.
It uses ONNX Runtime Web for the inference, which seems to work pretty well. I've included options for different model sizes and quantization levels to balance speed and accuracy.
I'm open to feedback, suggestions, and contributions! If you have ideas for improvements or find any bugs, please let me know on the GitHub repo.
TL;DR: I made a open source web app that runs Whisper locally in your browser.
https://redd.it/1nyzed8
@r_opensource
GitHub
GitHub - harisnae/transcribe-asr: Zero‑backend automatic speech recognition: pick a Whisper‑ONNX model, drop an audio file, control…
Zero‑backend automatic speech recognition: pick a Whisper‑ONNX model, drop an audio file, control decoding options, and receive a trannoscript instantly in the browser. No telemetry, no server, full ...
Does the CERN-OHL-S V2 require any derivative work to make its source (the modified source of the derivative work) available
I am super confused about Section 3 (along with its 3 subsections) of the CERN-OHL-S V2 license.
Does it make it so any derivative work must share its modified source if distributing anything made from a modification of the original source?
https://redd.it/1nyyta3
@r_opensource
I am super confused about Section 3 (along with its 3 subsections) of the CERN-OHL-S V2 license.
Does it make it so any derivative work must share its modified source if distributing anything made from a modification of the original source?
https://redd.it/1nyyta3
@r_opensource
Reddit
From the opensource community on Reddit
Explore this post and more from the opensource community
Opensource Alternative to Aldente?
Hi everyone,
I'm currently looking for an open source alternative to the MacOS battary app Aldente. Although it is free, I'm looking for an open source option to compare it with a project I'm working on, as I'm starting to learn coding.
If anyone knows of any open source alternative with similar functionality for battery management, I'd greatly appreciate your suggestions.
Thanks in advance for your help!
https://redd.it/1nz6taa
@r_opensource
Hi everyone,
I'm currently looking for an open source alternative to the MacOS battary app Aldente. Although it is free, I'm looking for an open source option to compare it with a project I'm working on, as I'm starting to learn coding.
If anyone knows of any open source alternative with similar functionality for battery management, I'd greatly appreciate your suggestions.
Thanks in advance for your help!
https://redd.it/1nz6taa
@r_opensource
Reddit
From the opensource community on Reddit
Explore this post and more from the opensource community
is there open source constitution ?
Recently saw open source house building project and then got a thought.
is there any open source constitution that is fool proof and policies which are open source for the government officials.
Life would be easy if many people contribute.?
https://redd.it/1nzauyy
@r_opensource
Recently saw open source house building project and then got a thought.
is there any open source constitution that is fool proof and policies which are open source for the government officials.
Life would be easy if many people contribute.?
https://redd.it/1nzauyy
@r_opensource
Reddit
From the opensource community on Reddit
Explore this post and more from the opensource community
Help Build React Folder Structure Templates! 🚀
Hey developers! Want to contribute to an awesome open-source project? Check out ahmad2point0/folder-structures, a collection of scalable folder structures for React apps (React Native, Next.js, Vite, and more).
How to Help:
🆕 Add new framework templates
🔧 Improve existing structures
📚 Update documentation
🐛 Fix bugs or share ideas
Just fork the repo, make changes, and submit a pull request. See the Contributing Guide to start!
Why Join? Help developers worldwide create better, organized React apps.
Let’s make React projects cleaner and easier together! 🚀
https://redd.it/1nzc2x2
@r_opensource
Hey developers! Want to contribute to an awesome open-source project? Check out ahmad2point0/folder-structures, a collection of scalable folder structures for React apps (React Native, Next.js, Vite, and more).
How to Help:
🆕 Add new framework templates
🔧 Improve existing structures
📚 Update documentation
🐛 Fix bugs or share ideas
Just fork the repo, make changes, and submit a pull request. See the Contributing Guide to start!
Why Join? Help developers worldwide create better, organized React apps.
Let’s make React projects cleaner and easier together! 🚀
https://redd.it/1nzc2x2
@r_opensource
GitHub
GitHub - ahmad2point0/folder-structures: React App Folder Structure Templates A comprehensive collection of production-ready folder…
React App Folder Structure Templates A comprehensive collection of production-ready folder structures for React applications using feature-based architecture. This repository provides battle-tested...
TeXlyre, a local-first LaTeX & Typst collaborative web editor that also works offline
https://github.com/TeXlyre/texlyre
https://redd.it/1nzdiz1
@r_opensource
https://github.com/TeXlyre/texlyre
https://redd.it/1nzdiz1
@r_opensource
GitHub
GitHub - TeXlyre/texlyre: A local-first LaTeX & Typst web editor with real-time collaboration & offline support
A local-first LaTeX & Typst web editor with real-time collaboration & offline support - TeXlyre/texlyre
XPASS – Self-Hosted Encrypted Password Vault (Offline or Cloud-Ready)
XPASS a self-hosted encrypted password vault for teams and individuals who want full control of their data — whether hosted on-prem, on LAN, or in the cloud (Azure, AWS, etc.).
It’s designed for simplicity, privacy, and secure sharing — without relying on any third-party service.
🧩 Highlights
🔐 AES-encrypted password storage
🗂️ Folder-based organization
🤝 Secure folder sharing with other users
🧑💼 Admin dashboard for users & audits
🧠 Optional 2FA for added security
🌐 Works offline or deployable on cloud
💻 GitHub Repo:
👉 https://github.com/vibecodetimes/xpass-simple
https://redd.it/1nze7h2
@r_opensource
XPASS a self-hosted encrypted password vault for teams and individuals who want full control of their data — whether hosted on-prem, on LAN, or in the cloud (Azure, AWS, etc.).
It’s designed for simplicity, privacy, and secure sharing — without relying on any third-party service.
🧩 Highlights
🔐 AES-encrypted password storage
🗂️ Folder-based organization
🤝 Secure folder sharing with other users
🧑💼 Admin dashboard for users & audits
🧠 Optional 2FA for added security
🌐 Works offline or deployable on cloud
💻 GitHub Repo:
👉 https://github.com/vibecodetimes/xpass-simple
https://redd.it/1nze7h2
@r_opensource
GitHub
GitHub - vibecodetimes/xpass-simple
Contribute to vibecodetimes/xpass-simple development by creating an account on GitHub.
Swift lightweight networking library
I just released Swift Network Kit, an open-source HTTP networking library built specifically for modern Swift and SwiftUI projects, and I’d love your feedback!
Also, Collaborations are welcome!
https://github.com/ReidoBoss/SwiftNetworkKit
https://redd.it/1nzfyaw
@r_opensource
I just released Swift Network Kit, an open-source HTTP networking library built specifically for modern Swift and SwiftUI projects, and I’d love your feedback!
Also, Collaborations are welcome!
https://github.com/ReidoBoss/SwiftNetworkKit
https://redd.it/1nzfyaw
@r_opensource
GitHub
GitHub - ReidoBoss/SwiftNetworkKit: A Swift library for handling network communication, including HTTP requests and WebSocket connections…
A Swift library for handling network communication, including HTTP requests and WebSocket connections (coming soon), with a focus on simplicity and modern Swift features. - ReidoBoss/SwiftNetworkKit
🌍 We built OpenStock — a free, open-source stock market tracker powered by AI
Hey everyone 👋
I’m Ravi, founder of Open Dev Society — a community building free, open tools for the world.
Over the last few weeks, my friend Priyanshu and I have been working on something called OpenStock — an AI-powered, open-source platform where you can:
• Track real-time stock prices
• Get AI-generated company insights
• Set personalized alerts (coming soon)
• Explore market data without any paywalls
We wanted to make something that students, beginners, and professionals can all use freely — and even contribute to.
💻 Live App: openstock-ods.vercel.app
📦 GitHub Repo: github.com/Open-Dev-Society/OpenStock
We’d love your feedback — whether it’s on design, data accuracy, or new features.
Also open to collaborators who’d like to join the journey toward open finance 🚀
— Ravi
Founder, Open Dev Society
\#opensource #nextjs #finance #ai #buildinpublic
https://redd.it/1nzgbjw
@r_opensource
Hey everyone 👋
I’m Ravi, founder of Open Dev Society — a community building free, open tools for the world.
Over the last few weeks, my friend Priyanshu and I have been working on something called OpenStock — an AI-powered, open-source platform where you can:
• Track real-time stock prices
• Get AI-generated company insights
• Set personalized alerts (coming soon)
• Explore market data without any paywalls
We wanted to make something that students, beginners, and professionals can all use freely — and even contribute to.
💻 Live App: openstock-ods.vercel.app
📦 GitHub Repo: github.com/Open-Dev-Society/OpenStock
We’d love your feedback — whether it’s on design, data accuracy, or new features.
Also open to collaborators who’d like to join the journey toward open finance 🚀
— Ravi
Founder, Open Dev Society
\#opensource #nextjs #finance #ai #buildinpublic
https://redd.it/1nzgbjw
@r_opensource
Tesseract frontend.
Back in 2018 I needed to OCR a few texts for a personal project.
I used Gimagereader as a frontend to use Tesseract. Would this still be a good choice? Or are there better alternatives?
https://redd.it/1nzhtdi
@r_opensource
Back in 2018 I needed to OCR a few texts for a personal project.
I used Gimagereader as a frontend to use Tesseract. Would this still be a good choice? Or are there better alternatives?
https://redd.it/1nzhtdi
@r_opensource
Reddit
From the opensource community on Reddit
Explore this post and more from the opensource community
Open source analytics that tracks revenue + product usage (not just visits)
Hey everyone! I've been working on an open source analytics platform that goes beyond basic traffic metrics. Instead of just showing: "you had 1000 visits today," it actually tracks the stuff that matters for your business.
Why I built it: Most analytics tools focus on vanity metrics like page views. But if you're running a business, you need to know which feature drive revenue, where your best customers come from, and how people actually use your product.
The code is open source on GitHub, and we have a hosted version if you don't want to self-host. Been using it for my own projects and it's been really helpful for understanding what actually drives growth.
Product: [https://metricswave.net](https://metricswave.net)
Repository: https://github.com/metricswave/
What do you think? Would love feedback from the community!
https://redd.it/1nzjxcj
@r_opensource
Hey everyone! I've been working on an open source analytics platform that goes beyond basic traffic metrics. Instead of just showing: "you had 1000 visits today," it actually tracks the stuff that matters for your business.
Why I built it: Most analytics tools focus on vanity metrics like page views. But if you're running a business, you need to know which feature drive revenue, where your best customers come from, and how people actually use your product.
The code is open source on GitHub, and we have a hosted version if you don't want to self-host. Been using it for my own projects and it's been really helpful for understanding what actually drives growth.
Product: [https://metricswave.net](https://metricswave.net)
Repository: https://github.com/metricswave/
What do you think? Would love feedback from the community!
https://redd.it/1nzjxcj
@r_opensource
What open source solution doesn't exist for you?
I'm curious, with so many alternatives to proprietary or corporate software, what's something you use on a regular basis that still doesn't seem to have a (sufficient) open source solution for you at the moment?
https://redd.it/1nzkxg8
@r_opensource
I'm curious, with so many alternatives to proprietary or corporate software, what's something you use on a regular basis that still doesn't seem to have a (sufficient) open source solution for you at the moment?
https://redd.it/1nzkxg8
@r_opensource
Reddit
From the opensource community on Reddit
Explore this post and more from the opensource community
Help needed
Very new to open-source contributions. Mainly used python and know ML along with data science, so u get an idea that my skillset aren't mainly targetted for open source. However with my semi tech internship/job, I'm getting an itch to try open source. So please give me advice on how to start it so that I can start to contribute. Any help is appreciated, thanks
https://redd.it/1nziwp5
@r_opensource
Very new to open-source contributions. Mainly used python and know ML along with data science, so u get an idea that my skillset aren't mainly targetted for open source. However with my semi tech internship/job, I'm getting an itch to try open source. So please give me advice on how to start it so that I can start to contribute. Any help is appreciated, thanks
https://redd.it/1nziwp5
@r_opensource
Reddit
From the opensource community on Reddit
Explore this post and more from the opensource community
Did a Figma->Penpot converter. If any of you are interested in migrating application mockups or entire design systems to land into the open source area, please test and give feedback :)
https://github.com/betagouv/figpot
https://redd.it/1nznwkc
@r_opensource
https://github.com/betagouv/figpot
https://redd.it/1nznwkc
@r_opensource
GitHub
GitHub - betagouv/figpot: Figma to Penpot converter and synchronizer, to not maintain multiple platforms 🎨🖌️
Figma to Penpot converter and synchronizer, to not maintain multiple platforms 🎨🖌️ - betagouv/figpot
🌍 We built OpenStock — a free, open-source stock market tracker powered by AI
Hey everyone again, because somehow my post was removed by moderator with a reason stating that this is not Open Source, so here we go again, I hope this time they don't remove it, and just in case they remove this I want to say those who are really interested in open source and amazing innovation created within the community can join our official sub reddit at r/OpenDevSociety, if you want to explore things, because we do need people to build up a community, Hope you will take part and help this amazing open-source community grow
I’m Ravi, founder of Open Dev Society — a open-source community for the world.
Over the last few weeks, my friend Priyanshu and I have been working on something called OpenStock — an AI-powered, open-source platform where you can:
• Track real-time stock prices
• Get AI-generated company insights
• Set personalized alerts (coming soon)
• Explore market data without any paywalls
We wanted to make something that students, beginners, and professionals can all use freely — and even contribute to.
💻 Live App: openstock-ods.vercel.app
📦 GitHub Repo: github.com/Open-Dev-Society/OpenStock
We’d love your feedback — whether it’s on design, data accuracy, or new features.
Also open to collaborators who’d like to join the journey toward open finance 🚀
— Ravi
Founder, Open Dev Society
\#This is not a promotional post, just to state, it is just to tell people what we have build, I hope this would help
\#opensource #nextjs #finance #ai #buildinpublic
https://redd.it/1nzqmmn
@r_opensource
Hey everyone again, because somehow my post was removed by moderator with a reason stating that this is not Open Source, so here we go again, I hope this time they don't remove it, and just in case they remove this I want to say those who are really interested in open source and amazing innovation created within the community can join our official sub reddit at r/OpenDevSociety, if you want to explore things, because we do need people to build up a community, Hope you will take part and help this amazing open-source community grow
I’m Ravi, founder of Open Dev Society — a open-source community for the world.
Over the last few weeks, my friend Priyanshu and I have been working on something called OpenStock — an AI-powered, open-source platform where you can:
• Track real-time stock prices
• Get AI-generated company insights
• Set personalized alerts (coming soon)
• Explore market data without any paywalls
We wanted to make something that students, beginners, and professionals can all use freely — and even contribute to.
💻 Live App: openstock-ods.vercel.app
📦 GitHub Repo: github.com/Open-Dev-Society/OpenStock
We’d love your feedback — whether it’s on design, data accuracy, or new features.
Also open to collaborators who’d like to join the journey toward open finance 🚀
— Ravi
Founder, Open Dev Society
\#This is not a promotional post, just to state, it is just to tell people what we have build, I hope this would help
\#opensource #nextjs #finance #ai #buildinpublic
https://redd.it/1nzqmmn
@r_opensource
GitHub
GitHub - Open-Dev-Society/OpenStock: OpenStock is an open-source alternative to expensive market platforms. Track real-time prices…
OpenStock is an open-source alternative to expensive market platforms. Track real-time prices, set personalized alerts, and explore detailed company insights — built openly, for everyone, forever f...
Build dashboards like Lego: grid + form + state, should I open-source it?
# 🧩 TL;DR
Thinking of open-sourcing a React-based WYSIWYG dashboard editor — grid-powered, state-driven, and backend-agnostic. Would you use or contribute?
# ⚙️ What it is
A lightweight, React-Grid-Layout editor that lets users drag, resize, and configure(edit panel properties, imagine editing a chart, or an email editor) dashboard panels visually.
* Grid engine: React Grid Layout for layout control
* Panel editor: Formik wrapper for easy panel configuration and customisation control
* State orchestration: Redux (draft/publish, undo/redo)
* Backend-agnostic: consumer defines their panel persistence layer
* Extensible SDK: add your own panels, data sources, or visualizations
# 💡 Why open source it
There’s a gap between BI tools (Grafana, Superset) and generic UI builders.
This sits in the middle — a domain-neutral dashboard editor toolkit you can embed anywhere.
Would a toolkit like this be useful to you?
What features or docs would you want to see from day one?
https://redd.it/1nzri9q
@r_opensource
# 🧩 TL;DR
Thinking of open-sourcing a React-based WYSIWYG dashboard editor — grid-powered, state-driven, and backend-agnostic. Would you use or contribute?
# ⚙️ What it is
A lightweight, React-Grid-Layout editor that lets users drag, resize, and configure(edit panel properties, imagine editing a chart, or an email editor) dashboard panels visually.
* Grid engine: React Grid Layout for layout control
* Panel editor: Formik wrapper for easy panel configuration and customisation control
* State orchestration: Redux (draft/publish, undo/redo)
* Backend-agnostic: consumer defines their panel persistence layer
* Extensible SDK: add your own panels, data sources, or visualizations
# 💡 Why open source it
There’s a gap between BI tools (Grafana, Superset) and generic UI builders.
This sits in the middle — a domain-neutral dashboard editor toolkit you can embed anywhere.
Would a toolkit like this be useful to you?
What features or docs would you want to see from day one?
https://redd.it/1nzri9q
@r_opensource
Reddit
From the opensource community on Reddit
Explore this post and more from the opensource community
what is stopping you from contributing to large open source projects?
Hi everyone. For those of you that are interested in getting into open source, and contributing to some larger projects, what is the biggest blocker for you? What do you find most difficult/annoying about contributing to open source projects? What needs to change to make it easier for you to contribute?
from other threads across reddit in the past, i have seen that the biggest reasons are usually related to codebase complexity, lack of time, and tedious PR review processes, but I would like to poll for opinions to see if that is still the case.
https://redd.it/1nzqz9h
@r_opensource
Hi everyone. For those of you that are interested in getting into open source, and contributing to some larger projects, what is the biggest blocker for you? What do you find most difficult/annoying about contributing to open source projects? What needs to change to make it easier for you to contribute?
from other threads across reddit in the past, i have seen that the biggest reasons are usually related to codebase complexity, lack of time, and tedious PR review processes, but I would like to poll for opinions to see if that is still the case.
https://redd.it/1nzqz9h
@r_opensource
Reddit
From the opensource community on Reddit
Explore this post and more from the opensource community
I made an all-in-one USB drive as a farewell gift for a colleague
https://github.com/fathulfahmy/aio-usb-drive
https://redd.it/1nzq8j5
@r_opensource
https://github.com/fathulfahmy/aio-usb-drive
https://redd.it/1nzq8j5
@r_opensource
GitHub
GitHub - fathulfahmy/aio-usb-drive: Curated collection of useful to have programs on a multiboot USB drive
Curated collection of useful to have programs on a multiboot USB drive - fathulfahmy/aio-usb-drive