
u/wanoo21

Free Code Snippet Canvas Tool
Hey r/webdev!
It's Saturday Showoff, and I decided to share my app, Snipsco, as well. Some of you might already know about it, but I thought it was a good time to share it.
As the image shows, Snipsco is a canvas tool with all the elements needed to explain or showcase a code snippet, and it's free. It runs locally and saves data to IndexedDB, so you don't consume any resources, which is why it's free and will always be free.
Start by creating a new project, or stay in the default one, and click the code element (or, if you have the code in the clipboard, just paste it - this will create a new code element with your code).
Add text and draw arrows/shapes to explain it. Also, all the windows can be dragged around, which lets you create your workflow as you want.
There are too many small features in this app, so I don't want to bother you with a lot of reading. Just go try it yourself and let me know what you think.
It also supports "gists"! A gist is a piece of code that can be saved right from your IDE. For that, you need to install the Snipsco extension in your IDE. Now, VS Code & forks are fully covered. Soon, JetBrains IDEs will also be covered (not yet finished).
Let's say you came across some lines of code and liked them (or not), and decided to share them later (by creating a snippet). With a command, you send it to the gist collection (you don't even need to leave the IDE). Later, when you have more time, come back and create a cool code snippet out of it.
I could talk a lot about this app, but this is already too much reading. I tried to put "everything into a small box," and I hope I at least "show off" this app a little.
Not looking for anything other than your feedback and/or opinion; it'll take you 1 minute to play with it and understand whether you need it in general or what's missing for you.
Thank you for spending your time reading this.
I arrived yesterday at a hotel in Belgrade, and they charged €25 a day for my car!
No way - I parked outside for free! And I can still see it from my room window.
Maybe I don’t understand something, no idea.
Do not sleep on AbortController
A little tip for today!
You can use `AbortController` instead of `removeListener`.
It's cleaner and easier to work with, and it can abort multiple listeners simultaneously when they share the same signal.
Switch favicon based on color scheme
If you've always wanted to switch your favicon based on dark/light mode, here's how to do it. I bet you already know that! 😊
Bonus: If you use an SVG favicon, you can use media queries within it to achieve the same "effect".
👋 Welcome to r/codesnip — introduce yourself and dig in
Hi everyone — I'm u/wanoo21, one of the mods here.
r/codesnip is a community for sharing and discovering short, useful code: snippets, one-liners, small utilities, patterns, and "I wish I'd known this sooner" tips. All languages and skill levels are welcome—as long as it's constructive and readable.
What to post
- Snippets or small functions you're proud of or find handy
- Language tips, idioms, or clever one-liners (with context)
- Mini-gists or short examples that solve a real problem
- "How would you write this?" question with a minimal code sample
- Tools, libraries, or patterns worth a shout-out (tie them to actual code when you can)
Community vibe
We're aiming for friendly, helpful, and inclusive. Prefer clear titles, credit sources when it's not your own work, and keep discussions on-topic.
How to get started
- Say hi in the comments and tell us what you're building or learning.
- Post something today—even a tiny snippet or a quick question counts.
- Invite anyone who likes trading short, practical code ideas.
- If you're interested in helping moderate, reach out via modmail.
Thanks for being part of the first wave—let's make this a great place for code in small, useful bites.
Who still remembers this HTML tag? 👇
Although it has been deprecated for such a long time (really long time), it's still supported by all browsers!
Anyway, not advised to use in production!
Oh man, we are so old ... 😑
Support was the part of my SaaS that I always put off. Not because I didn't care –because finding the answer was the hard part: who is this person in Stripe? What did they pay for?
I wanted one place that still felt like email for customers, but didn't make me do detective work for every thread. That's Zipitly: your own support address on your domain, plus AI that drafts replies using connected tools.
You stay in charge: you edit, you approve, you send.
If you're still straggling along with a personal inbox and a pile of tabs, you're exactly who I had in mind.
I'm sharing it here because I'm building it for a small SaaS setup, not as another helpdesk. Still WIP thou!
Besides the other options like `background-color` and `outline`. ☺️
That will help your users avoid accidentally leaving the page
Especially when scrolling a table or a slider.
It gives you smooth, natural scrolling inside an element while protecting the rest of the page from accidental scrolling.
It's a common trick used for modals, side menus, chat boxes, or any scrollable area where you don't want the rest of the website to move when the user scrolls.