Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/technical-source/bruh
The thinnest possible layer between development and production for the modern web.
https://github.com/technical-source/bruh
bruh frontend javascript library ui web
Last synced: about 18 hours ago
JSON representation
The thinnest possible layer between development and production for the modern web.
- Host: GitHub
- URL: https://github.com/technical-source/bruh
- Owner: Technical-Source
- Created: 2021-02-18T20:39:38.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T02:09:31.000Z (about 1 month ago)
- Last Synced: 2025-01-09T09:37:03.814Z (about 18 hours ago)
- Topics: bruh, frontend, javascript, library, ui, web
- Language: JavaScript
- Homepage: https://technicalsource.dev/bruh
- Size: 531 KB
- Stars: 45
- Watchers: 7
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Bruh
The thinnest possible layer between development and production for the modern web.
# What's This?
A js library for the web that places your control on a pedestal.
It packs flexible SSR (Server-Side HTML Rendering),
an awesome DOM interface,
and elegant functional reactivity in a tiny code size.Along with modern build tooling integration ([vite](https://vitejs.dev)), you're one step away from:
- JSX and MDX (markdown with JSX instead of HTML) for both HTML rendering and DOM element creation
- Instant HMR (Hot Module Reloading) for both server rendered HTML and client CSS/JS/TS
- [Everything else vite provides](https://vitejs.dev/guide/features.html) - CSS modules, PostCSS, production builds, nearly 0 config, _&c_.
It looks like this, which is pretty epic:
```jsx
const Counter = () => {
// A reactive value
const count = r(0)
const increment = () => count.value++// Declarative UI without vdom! (and build tools are completely optional)
const counter =
Click to increment: { count }
return counter
}// Yes, all of these are vanilla DOM nodes!
document.body.append(
Bruh
)
```# How do I Get It?
`npm init bruh` and pick [the "vite" template](https://github.com/Technical-Source/bruh/tree/main/packages/create-bruh/vite)
Think that's too hard? 👉
# Where is the documentation?
[Right here](https://technicalsource.dev/bruh) - but it's not really complete.
The best way to use this project is to just read the code, it's pretty short.
If you have any questions, even without reading the code first, feel free to [ask all of them in the discussions](https://github.com/Technical-Source/bruh/discussions).