Code Monkey home page Code Monkey logo

karax's Introduction

Karax โ€“ Single page applications in Nim travis

Karax is a framework for developing single page applications in Nim. It's still in heavy development, so keep in mind that the API is subject to change.

To try it out, run:

nimble install # For first time

cd examples/todoapp
nim js todoapp.nim
open todoapp.html
cd ../..

cd examples/mediaplayer
nim js playerapp.nim
open playerapp.html

It uses a virtual DOM like React, but is much smaller than the existing frameworks plus of course it's written in Nim for Nim. No external dependencies! And thanks to Nim's whole program optimization only what is used ends up in the generated JavaScript code. But don't take my word for it, look at this:

docs/benchmark.png

Goals

  • Leverage Nim's macro system to produce a framework that allows for the development of applications that are boilerplate free.
  • Keep it small, keep it fast, keep it flexible.

karax's People

Contributors

alehander92 avatar araq avatar bluenote10 avatar freevryheid avatar haiodo avatar pnuzhdin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.