Skip to content
pelonpelon edited this page Oct 26, 2015 · 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


Templating

  • MSX - React-based preprocessor that allows Mithril templates to be written with HTML syntax (e.g. <div></div> instead of m("div"))

  • msx-reader - another MSX reader for JavaScript, powered by sweet.js

  • mithrilify Browserify transform for converting Mithril view templates

  • mithril.sugarTags Sugar'd tags for use with Mithril views, much nicer and succinct compared to normal view definitions with the same benefits

  • mithril-n - pure DOM nodes in Mithril templates

  • Mithril Material Design Icons - Material Design SVG icons as Mithril elements

  • jade-mithrilier - A design-focused abstraction layer over Mithril. Provides a small utility library to allow you to better harmonise your MVC strategy with server-side models and rendering processes

Styles

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

Mithril Postrest - Help you authenticating in a PostgREST server

I18N

  • Mithril-translate - i18n for your Mithril applications

  • translate.js - i18n translations with support for placeholders and multiple plural forms

Storage

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

User Interface

Miscellaneous

  • 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.

  • m.firebase - use firebase in conjunction with Mithril.

  • 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

Uncategorized

Lab experiments

Clone this wiki locally