All Projects → pepsighan → Ruukh

pepsighan / Ruukh

Licence: mit
An experimental next-gen frontend framework for the Web in Rust.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Ruukh

Prism
Build frontend web apps with Ruby and WebAssembly
Stars: ✭ 251 (+29.38%)
Mutual labels:  wasm, frontend
Wasmplay
WASM Web "Framework" Playground
Stars: ✭ 105 (-45.88%)
Mutual labels:  wasm, frontend
Seed Rs Realworld
Exemplary real world application built with Seed
Stars: ✭ 77 (-60.31%)
Mutual labels:  wasm, frontend
Percy
Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
Stars: ✭ 1,856 (+856.7%)
Mutual labels:  wasm, frontend
Awesome Seed Rs
A curated list of awesome things related to Seed
Stars: ✭ 101 (-47.94%)
Mutual labels:  wasm, frontend
Quasar
An experimental rust-to-{wasm,asmjs} frontend framework.
Stars: ✭ 180 (-7.22%)
Mutual labels:  wasm, frontend
Uno.playground
Source code for the Uno Gallery apps and Uno Playground (made in Wasm)
Stars: ✭ 184 (-5.15%)
Mutual labels:  wasm
React Imgpro
📷 Image Processing Component for React
Stars: ✭ 2,186 (+1026.8%)
Mutual labels:  frontend
Prototype
(deprecated) The journey continues at ASNEXT: https://github.com/AssemblyScript/assemblyscript
Stars: ✭ 2,114 (+989.69%)
Mutual labels:  wasm
Raw Wasm
Raw WebAssembly demos
Stars: ✭ 183 (-5.67%)
Mutual labels:  wasm
The Front End Knowledge You May Not Know
😇 你可能不知道的前端知识点
Stars: ✭ 2,238 (+1053.61%)
Mutual labels:  frontend
Wasmpatch
🧱Yet Another Patch Module for iOS/macOS via WebAssembly
Stars: ✭ 192 (-1.03%)
Mutual labels:  wasm
X Ray
Visual debugger for your HTML, executable via a bookmark
Stars: ✭ 188 (-3.09%)
Mutual labels:  frontend
Go Wasm
The in-browser IDE for Go
Stars: ✭ 186 (-4.12%)
Mutual labels:  wasm
Maratona Discover 01
Projeto construído durante o MaratonaDiscover #01
Stars: ✭ 189 (-2.58%)
Mutual labels:  frontend
Wasm Pack Plugin
webpack plugin for Rust
Stars: ✭ 184 (-5.15%)
Mutual labels:  wasm
My Wallet V3 Frontend
Blockchain Web Wallet Frontend
Stars: ✭ 192 (-1.03%)
Mutual labels:  frontend
Front End Performance Checklist
🎮 더 빠르게 작동하는 프론트엔드 성능 체크리스트
Stars: ✭ 183 (-5.67%)
Mutual labels:  frontend
Jinabox.js
A lightweight, customizable omnibox in Javascript, for use with a Jina backend.
Stars: ✭ 186 (-4.12%)
Mutual labels:  frontend
Wasm Examples
WebAssembly Examples
Stars: ✭ 191 (-1.55%)
Mutual labels:  wasm

Ruukh - Frontend Web Framework

Crates.io Docs GitHub issues GitHub license Build Status

An experimental next-gen frontend framework for the Web in Rust. Write your web app in pure Rust.

Documentation (Master)

!! THIS IS HIGHLY UNSTABLE !!

Don't depend on this library for any of your production code. Also, this project does not make a guarantee that it will ever stabilize as there are a lot of issues to iron out. This project also might have breaking changes in patch version till 0.1.0. So, for the time being, this project is in a state of continuous experimentation.

Usage

Create a new library project as binary projects are not supported to run on WASM.

Add the following to your Cargo.toml:

[lib]
crate-type = ["cdylib"]

[dependencies]
ruukh = "0.0.3"
wasm-bindgen = "0.2.21"

Ruukh CLI

You may use cargo-ruukh to make your life easier to build and run Ruukh projects. It supports running your webapp in a development server.

To install it:

cargo install cargo-ruukh

For more information: read up the README at its own repo.

Code structure

The CLI to run your project effortlessly expects your code to be structured in a particular way. Also, mind that this library requires latest nightly to work.

In lib.rs with 2018 edition enabled:

#![feature(proc_macro_hygiene, decl_macro)]

use wasm_bindgen::prelude::*;
use ruukh::prelude::*;

#[component]
#[derive(Lifecycle)]
struct MyApp;

impl Render for MyApp {
    fn render(&self) -> Markup<Self> {
        html! {
            "Hello World!"
        }
    }
}

#[wasm_bindgen]
pub fn run() {
    App::<MyApp>::new().mount("app");
}

To check & see how the Ruukh app works, go to the Examples section and run those projects.


The project is licensed under MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].