2024
I built an API for random names and numbers because why not?
So I needed random names for a script, and instead of using a sensible solution, I decided to build an entire API. Join me as I fumble through Go, preact, and Kamal, then end up with a functional free public API.
Adding single click dev environment links to your open source project for easy contributions
See how you can streamline contributions and onboarding by leveraging DevContainers and cloud dev environments - a one-click setup that lets new folks dive right in!
Using Shadow DOM to isolate injected browser extension components
I spent a weekend building a browser extension with React and TailwindCSS, but injected components can be a lot of trouble. This post explores how Shadow DOM saves the day (and your CSS sanity).
Making Customizable Components in Svelte
Making customizable components in Svelte can be hard, but check out this post on how to use Svelte with TailwindCSS to make them possible at no performance penalty.
What I'm enjoying using for mobile app development
Love fresh sourdough bread but hate remembering to feed your starter? This post details my journey of building a mobile app (with open-source tools) to manage sourdough starter feeding schedules and take the guesswork out of perfect sourdough.
https://bgenc.net/2024.10.06.i-built-an-api-for-random-names/https://bgenc.net/2024.05.27.adding-single-click-dev-environment-links-to-your-open-sourc/https://bgenc.net/2024.05.18.using-shadow-dom-to-isolate-injected-browser-extension-compo/https://bgenc.net/2024.05.12.svelte-customizable-components/https://bgenc.net/2024.01.01.mobile-dev-what-i-enjoy-using/2023
Building a Well Organized Rust CLI Tool
Unleash developer zen with a Rust CLI organization trick! This post uses Clap and a custom trait to create a file system mirrored command structure, making your code a breeze to navigate and maintain.
Amazon SES Production Access Approval
Is your Amazon SES approval getting declined? My odyssey through email services & how to finally get the green light (with code!)
Next.js error about native node modules using bindings
Struggling to use a native node module with bindings in your Next.js app? I dive into a weird Webpack/Terser issue and a clever Next.js-specific solution to get it working smoothly.
Getting theme colors in JavaScript using React with DaisyUI and TailwindCSS
This post shows you how to use JavaScript to read CSS variables and create dynamic UIs, using SWR for seamless light & dark mode switching!
CSS only placeholder for contenteditable elements
Here is how to make a text area that resizes automatically and has placeholder text, with no JavaScript with this clever CSS trick!
https://bgenc.net/2023.12.09.building-well-organized-rust-CLI-tool/https://bgenc.net/2023.10.02.amazon-SES-production-access-approval/https://bgenc.net/2023.08.13.nextjs-bindings-cannot-read-property-indexof-undefined-getFileName/https://bgenc.net/2023.08.10.react-daisyui-tailwindcss-theme-colors-in-js/https://bgenc.net/2023.07.02.css-only-contenteditable-placeholder/