https://github.com/serhiihiba/birdel
Microframework for rails ws client/server speaking, components rendering, assets management etc.
https://github.com/serhiihiba/birdel
assets esbuild js rails ruby viewcompo
Last synced: about 2 months ago
JSON representation
Microframework for rails ws client/server speaking, components rendering, assets management etc.
- Host: GitHub
- URL: https://github.com/serhiihiba/birdel
- Owner: serhiihiba
- License: mit
- Created: 2023-02-19T22:00:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T00:06:28.000Z (almost 3 years ago)
- Last Synced: 2026-04-20T04:48:49.932Z (3 months ago)
- Topics: assets, esbuild, js, rails, ruby, viewcompo
- Language: Ruby
- Homepage:
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Birdel - microframework for rails
Generate component
```bash
$ birdel gcom Ui::Bentries::Home::HomeComponent
```
Generate entry
```bash
$ birdel gent Home
```
Sync css and js
```bash
$ birdel synth
```
Send request
```js
window.Birdel.send({
actor: "ui__angry_cat_actor",
method: "get_article",
required_component: "ui--mix--article-component", // or false
inputs: {
articleId: 69
},
callback: {
"component": "ui--entries--home-component",
"actor": "home-component-actor",
"method": "showArticle",
"resourceId": false //or ID of your actor
} // or false
})
```
Full documentation is not ready and will be at https://digitalthing.io/docs/birdel, well, sorry😄