• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A fast, resilient, isomorphic hacker news clone in ~1k lines of rust.

Hackernews sauron

A hacker news clone in ~1k lines of rust. This is using sauron web-framework.

Feature

  • Isomorphic
    • Completely identical server-side rendered and client-side rendered
    • No weird font jumping.
  • Resilient
    • Can work without javascript enabled.
    • Can work without the page server*.
      • You can kill the server after the initial serve.
    • *Note: This will not work if both points of failure are encountered at the same time.

Quickstart

Prerequisite:

cargo install wasm-pack

Compile and run

git clone --depth=1 https://github.com/ivanceras/hackernews-sauron

cd hackernews-sauron

wasm-pack build client --release --target web

cargo run --release --bin server

Navigate to http://localhost:3030

Screenshot

Online demo

More Repositories

1

svgbob

Convert your ascii diagram scribbles into happy little SVG
Rust
3,675
star
2

sauron

A versatile web framework and library for building client-side and server-side web applications
Rust
1,875
star
3

sauron-native

Truly cross platform, truly native. multiple backend GUI for rust
Rust
630
star
4

diwata

A user-friendly database interface
Rust
394
star
5

rustorm

an orm for rust
Rust
248
star
6

spongedown

Markdown with svg bob support
Rust
237
star
7

rust-vim-setup

Setting up vim to be used in rust development
196
star
8

old-rustorm

An ORM for rust
Rust
165
star
9

curtain

Moved to https://github.com/ivanceras/diwata
Rust
141
star
10

sakila

Sakila sample database for each database platform
TSQL
131
star
11

titik

A cross platform minimalistic text user interface
Rust
118
star
12

r2d2-sqlite

r2d2 connection pool for sqlite
Rust
106
star
13

elm-examples

Elm examples and snippets
HTML
78
star
14

ultron

Web base text editor written in rust
Erlang
62
star
15

restq

Compacting the SQL into the URL rest API
Rust
56
star
16

balisong

Voxel renderer using raytracing, written in rust
Rust
44
star
17

ivancerust

Unlimited detail voxel engine in rust
Rust
31
star
18

sql-ast

SQL abstract syntax tree
Rust
29
star
19

inquerest

url parameter parser for rest filter inquiry
Rust
25
star
20

sauron-perf

Rust frontend webframework relative to react
JavaScript
21
star
21

codegenta

Generate source code for your models which corresponds from the database tables
Rust
15
star
22

futureostech

a simplified demo of futuristic UI
HTML
14
star
23

rustupefy

Automagically transform vim into a stunningly beautiful and fast IDE for rust
Shell
13
star
24

fluentsql

fluent sql is a SQL writer used by ivanceras ORM
Java
12
star
25

futuristic-ui

An example project for sauron web framework, showcasing animation transition
Rust
12
star
26

orm

ivanceras ORM, a very simple extensible ORM, which supports offline database handling in the browser using GWT
Java
10
star
27

mt-dom

Generic virtual dom implementation for rust
Rust
10
star
28

blob-uuid

Convert Uuid to a url friendly 22 character string blob
Rust
10
star
29

tinki

A personal wiki
CSS
9
star
30

jss

Easily create dynamic css using json notation
Rust
8
star
31

machine-ip

Get local ip address in rust, equivalent to `hostname -I` in linux
Rust
7
star
32

rust-node-ffi-string

A very practical example of rust and node ffi call using string, json
Rust
6
star
33

curtain-elm

A rebooted implementation of curtain client using elm
HTML
4
star
34

r2d2-sqlite3

An r2d2 connection pool manager for sqlite3
Rust
4
star
35

elm-webclient

elm webclient for diwata
Elm
3
star
36

Books

Collection of my self written books
Shell
3
star
37

ivanceras.github.io

JavaScript
3
star
38

keywordSQL

All the SQL keywords in Java
Java
3
star
39

winapi-rust-example

Example of rust windows ui
Rust
3
star
40

url_path

Rust
2
star
41

dota-sql

A sample data structure using dota2 heroes by valve
Rust
2
star
42

pallet-chainbridge

Chainbridge pallet
Rust
2
star
43

html2sauron

Convert html code to sauron view code
Rust
2
star
44

sauron-markdown

A markdown processor which converts markdown code into a sauron Node
Rust
2
star
45

mandelbrot

A simple implementation of limited iterative calculation of mandrelbot set
Rust
2
star
46

helloworldOS

A minimal code for booting an OS using grub and prints hello world
Assembly
2
star
47

curtain_ui

Client for curtain implemented in javascript
JavaScript
2
star
48

voxel

Rust
1
star
49

madnotes

Interactive notebooks for the mad scientist that you are!
Rust
1
star
50

mushroom

A fork of substrate-api-client
Rust
1
star
51

bazaar

Bazaar plugin for curtain
Rust
1
star
52

crypto-gwt

Provides cryptographic operations for the Google Web Toolkit
Java
1
star
53

curtain_gtk

Gtk client for curtain
Rust
1
star
54

comic

Rust
1
star
55

rust-examples

rust test and example codes
Rust
1
star
56

sample-data

Sample data from mysql db
PLpgSQL
1
star