SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 zero-dependency Open-Source Projects
-
Oat++
🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
cloudflare-worker-jwt
A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers.
-
android-http-server
A complete zero-dependency implementation of a web server and a servlet container in Java with a sample Android application.
-
steganography
Pure Golang Library that allows LSB steganography on images using ZERO dependencies (by auyer)
-
minimal_window
A very small C library for putting pixels on the screen, perfect for software raytracing projects.
-
consent-banner-js
A zero-dependency, lightweight (~3kB), consent platform agnostic, cookie banner for any website (compatible with Google Consent Mode).
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Learn SVG with 25 examples – How to code images in HTML | news.ycombinator.com | 2023-12-07As a frontend dev who also works in UX and graphics from time to time, I find it helpful to be able to do both, looking at SVGs as both a vector graphics format and a human-readable XML. IME the workflow depends more on whether any SVG is meant to be illustrative (like art) or quantitative (like charts) or interactive and animated/mutable (like a game).
For something like this bell example (https://svg-tutorial.com/svg/bell), you can certainly hand-code it if you're really math-inclined and can estimate the formulas of curves just by looking at them, but for us mere mortals, it's easier to just draw out the curves in a graphics app then export as an SVG. And for things like the ringer (is that what you call it? the orange ball thing at the bottom of the bell that strikes the bell to make the sound), being able to visually draw it on a canvas, change its size, drag it around and play with its colors and dimensions, etc. is really helpful. Figma is fine for simpler graphics, but it's really more of a UX tool than a graphic design tool, and Illustrator is a lot more powerful. Inkscape is a FOSS option.
In other circumstances, though, manipulating the SVG XML directly is also very helpful. Let's say you want to programatically generate a bar chart. If you have a big dataset, it's going to take a designer forever to manually plot them and change them every time the data changes. But it's easy for a dev to use Javascript (or any language) to draw each rectangle, programmatically adjust their heights and colors based on the data, add tooltips, etc. And that way you can dynamically update them in real-time whenever the data changes (like if the user selects a different date range, or new events come in). A lot of this is made easier by libs like https://frappe.io/charts or https://apexcharts.com. But before you take that approach, you should know that for complex charts, sometimes Canvas rendering (or just generating graphics in the backend) can be more performant than SVG.
SVGs can also be animated and interactive, not just with CSS transitions but by directly manipulating the XML geometries, like http://snapsvg.io/demos/ or https://www.svgator.com/ or https://codepen.io/collection/XpwMLO/. This is fine for product pages and such, but for really graphics-intensive apps (full games) it's probably slower than other rendering pipelines. (Not my specialty, won't speculate too much.)
TLDR Drawing them in a graphics app is usually easier for the designers, but the XML can be programmatically manipulated afterward to great effect.
I looked at oatpp and drogon, which are both great, but feel too high-level for my purposes. I tried drogon and got something working, but it feels like too much for my requirements, as in particular I'd like to slot in my choice of Json and message-body handling. C.f. the simple approach in Crow, which I easily understand and build on.
We're using wouter with great success. It's simple and effective for what we need from a router
This is the spec for the language Douglas Crockford (author of the book "JavaScript: The Good Parts", the JSON specification[1], JSLint[2]) had explained in his famous talk: "The Next Programming Language"[3].
The "big things" in the language are the Actor model, favouring immutability and capabilities-based security.
[1] https://en.wikipedia.org/wiki/JSON
[2] https://www.jslint.com/
[3] https://www.youtube.com/watch?v=R2idkNdKqpQ
I created a GUI library, it's very useful for the visual editor and it can be very easy to generate config panel for options. If you don't know about GUI library, maybe you can checkout some other famous open source project ( dat.gui, tweakpane, leva).
Here are the smallest libs: picocolors (2.6KB), kleur (2.7KB), ansis (3.2KB) and colorette (3.3KB), the rest are at least double larger.
Project mention: A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers | news.ycombinator.com | 2023-09-12
Project mention: Ask HN: Looking for a project to volunteer on? (November 2023) | news.ycombinator.com | 2023-11-02Seeking: https://github.com/fwsGonzo/libriscv
This is a C++ RISC-V emulator that focuses on isolating a single process, aka userspace emulation. I am currently working mostly on binary translation, and recently I have made a push to move it from experimental state to fully supported. Another experimental feature is embedding libtcc and using that for binary translation. It is fairly fast to compile, and gives decent speedups. The challenge is what to do now that (perhaps) some low hanging fruits have been picked.
Project mention: A zero-dependency, lightweight (~3kB), consent platform agnostic, cookie banner | news.ycombinator.com | 2024-04-22
Project mention: I made a headless autocomplete library. It works with any JS framework. From Svelte to React Native. What y'all think? | /r/sveltejs | 2023-05-06I fixed the broken image at https://headless-combobox.vercel.app/ Thx
zero-dependency related posts
-
Misty Programming Language
-
JavaScript Is Weird
-
I made a headless autocomplete TypeScript library. It will work with any JS framework. From Vue to React Native. What do y'all think?
-
I made a headless autocomplete library. It will work with any JS framework like Solid. What do y'all think?
-
I made a headless autocomplete library. It works with any JS framework. Like any version of Angular or even something like React Native. What y'all think?
-
I made a headless autocomplete library. It works with any JS framework. Like any version of Vue or even something like React Natve. What y'all think?
-
I made a headless autocomplete library. It works with any JS framework. From Svelte to React Native. What y'all think?
-
A note from our sponsor - SaaSHub
www.saashub.com | 1 May 2024
Index
What are some of the best open-source zero-dependency projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Frappe Charts | 14,900 |
2 | Oat++ | 7,433 |
3 | wouter | 6,124 |
4 | JSLint | 3,596 |
5 | tweakpane | 3,288 |
6 | react-colorful | 2,996 |
7 | go-quartz | 1,646 |
8 | picocolors | 1,177 |
9 | cloudflare-worker-jwt | 575 |
10 | arcsecond | 545 |
11 | FastCSV | 509 |
12 | libriscv | 409 |
13 | android-http-server | 319 |
14 | steganography | 294 |
15 | itoa | 203 |
16 | async | 184 |
17 | zero | 152 |
18 | tortellini | 141 |
19 | minimal_window | 113 |
20 | react-apple-signin-auth | 98 |
21 | consent-banner-js | 51 |
22 | hydrate-text | 47 |
23 | headless-combobox | 41 |
Sponsored