Awesome Mithril

A curated list of Mithril awesome

Mithril is a modern client-side JavaScript framework for building Single Page Applications.

Contents

Official Resources

Community

Learn

Tutorials

  • Isomorphic web application with Mithril - How to write isomorphic web applications, i.e. server-side rendering and client-side code with one codebase.
  • Example Mithril Components - Concise examples with both ES5 and ES6 versions.

Examples

Apps

Snippets

Starter kits

Testing

Mithril does not require specialized tools for testing, however the following have been developed as side projects to the main framework or by the community.

  • Ospec - Mithril's own fast test runner.
  • Mithril Query - Query Mithril virtual dom for testing purposes.

Libraries, Components & Plugins

  • Polythene - Material Design for Mithril and React.
  • mopt - Optimize m() calls to javascript objects.
  • mithril-range - Customizable range component.
  • mithril-select - Customizable select component.
  • Mithril-Datepicker - Localizable date picker.
  • TypeScript types - Typescript type definitions for Mithril.
  • mithril-helpers - Collection of Mithril helpers and utilities.
  • mithril-transition-group - Components for creating state/class based transitions.
  • mithril-checkbox - Customizable checkbox and radio button component.
  • Construct-UI - a UI library inspired by Blueprint, Polythene and Ant-design
  • mithril-materialized - a component library for materialize-css
  • mithril-leaflet - a map component based on Leaflet
  • mithril-portal - a component for rendering inline children to document.body

Tools

pre 1.0 Release

  • Leo's Blog - Leo, the main Mithril author, writes about virtual dom and tips and tricks.
  • Github Wiki - Wiki content is mostly about the 0.2 version, some material may be more up to date with the current API.

Mithril in the Wild

  • flems.io - Web Playground & Sandbox with easily shareable urls and other neat features.
  • lichobile - Mobile version for lichess.org using Mithril inside Cordova.

License

CC0