Skip to content
suren shrestha edited this page Jul 16, 2016 · 66 revisions

Here you will find a list of projects created by Mithril users. Feel free to contribute.
Smaller code snippets can be found in Recipes and Snippets


Table of Contents

Styles

  • messed-up-style - write modular, composable CSS in a functional way with pure javascript.

Theming

Routing

Animation

Custom Events

  • Mithril-touch - handle touch and mouse events evenly with Mithril. Supports tap, dbltap, taphold (longpress), swipeleft, swiperight, swipeup, swipedown.
  • eventsMixin - eventsMixin for Mithril for pain-free cross-component communication. Uses browser DOM events. Registered events are automatically removed on unload of component controller.
  • PubSub mixin - uses custom events
  • PubSub - utilizes the browser eventsystem - communication between components
  • mithril.bindings with pub/sub Succinct bi-directional bindings with pub/sub and the ability to create custom bindings.

Testing

  • mithril-query A virtual Dom querying library to make traversal of templates easier for testing.

Isomorphism

Databases

Internationalization

Storage

  • Mithril-storage - A storage library for your Mithril applications (cookies, localStorage, sessionStorage, in-memory).

User Interface

Form

  • powerform A powerful tiny form model. (previously mithril-form)

Miscellaneous

Dependency Injection

Bi-directional Bindings

  • mithril.bindings - Succinct bi-directional bindings with pub/sub and the ability to create custom bindings.
  • bidi.js by Barney Carroll - Component with bi-directional bindings. Can be used as extension to Mithril view language by patching m() bidi example Uses the modulator extension.

Firebase integration

Other

  • Mithril.Elements - composable custom element types for Mithril
  • Modulator - an alternative to m.component with a focus on precise controller identity, without mandating unique DOM elements per component
  • Superflux, an opinionated model layer for Mithril based on Flux
  • Mithril Solr - A Front-end Interface to Solr

Pro Tips

Forks

  • mReact, React like rendering library built on top of mithril's rendering engine

Uncategorized

Lab experiments

  • MALT - Flux Experiments with alt.js
  • mithril-objectify - Optimize m() calls into simple JS objects via API, CLI, or Browserify
  • arkenstone - Powerful and flexible componentization for Mithril
Clone this wiki locally