All Projects → middleman → Middleman

middleman / Middleman

Licence: mit
Hand-crafted frontend development

Programming Languages

ruby
36898 projects - #4 most used programming language
Gherkin
971 projects
HTML
75241 projects
CSS
56736 projects
SCSS
7915 projects
Sass
350 projects

Projects that are alternatives of or similar to Middleman

Staticman
💪 User-generated content for Git-powered websites
Stars: ✭ 2,098 (-69.2%)
Mutual labels:  static-site-generator, middleman
Awesome Docs With Static Site Generators
Pointers to all templates and implementations based on static site generators
Stars: ✭ 44 (-99.35%)
Mutual labels:  static-site-generator, middleman
Middleman Zurb Template
Middleman blog template containing ZURB Foundation and sensible default components and templates
Stars: ✭ 29 (-99.57%)
Mutual labels:  static-site-generator, middleman
Middleman Blog
Middleman : Blog Engine Extension
Stars: ✭ 317 (-95.35%)
Mutual labels:  static-site-generator, middleman
Zola
A fast static site generator in a single binary with everything built-in. https://www.getzola.org
Stars: ✭ 7,823 (+14.84%)
Mutual labels:  static-site-generator
Headlesscms.org
Source for headlesscms.org
Stars: ✭ 628 (-90.78%)
Mutual labels:  static-site-generator
Pretzel
A site generation tool (and then some) for .NET platforms
Stars: ✭ 592 (-91.31%)
Mutual labels:  static-site-generator
Static Site Generators
A definitive list of tools for generating static websites.
Stars: ✭ 553 (-91.88%)
Mutual labels:  static-site-generator
Thenewdynamic.org
Resources for Designers and Developers using the JAMstack
Stars: ✭ 24 (-99.65%)
Mutual labels:  static-site-generator
Bh
Bootstrap Helpers for Ruby
Stars: ✭ 834 (-87.76%)
Mutual labels:  middleman
Gatsby Starter Ghost
A starter template to build lightning fast websites with Ghost & Gatsby
Stars: ✭ 752 (-88.96%)
Mutual labels:  static-site-generator
Wowchemy Hugo Modules
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, build with widgets! 创建在线课程,学术简历或初创网站。
Stars: ✭ 6,093 (-10.55%)
Mutual labels:  static-site-generator
Couscous
Couscous is good.
Stars: ✭ 807 (-88.15%)
Mutual labels:  static-site-generator
Staticgen
Static website generator that lets you use HTTP servers and frameworks you already know
Stars: ✭ 628 (-90.78%)
Mutual labels:  static-site-generator
Jbake
Java based open source static site/blog generator for developers & designers.
Stars: ✭ 904 (-86.73%)
Mutual labels:  static-site-generator
Ox Hugo
A carefully crafted Org exporter back-end for Hugo
Stars: ✭ 591 (-91.32%)
Mutual labels:  static-site-generator
Portray
Your Project with Great Documentation.
Stars: ✭ 726 (-89.34%)
Mutual labels:  static-site-generator
Nextein
A static site generator with markdown + react for Next.js
Stars: ✭ 825 (-87.89%)
Mutual labels:  static-site-generator
Forty Jekyll Theme
A Jekyll version of the "Forty" theme by HTML5 UP.
Stars: ✭ 695 (-89.8%)
Mutual labels:  static-site-generator
Sigal
yet another simple static gallery generator
Stars: ✭ 682 (-89.99%)
Mutual labels:  static-site-generator

Middleman - Makes developing websites simple

Gem Version License

Middleman is a static site generator using all the shortcuts and tools in modern web development. Check out middlemanapp.com for detailed tutorials, including a getting started guide. You can also follow @middlemanapp for updates.

Why Middleman?

These days, many websites are built with an API in mind. Rather than package the frontend and the backend together, both can be built and deployed independently using the public API to pull data from the backend and display it on the frontend. Static websites are incredibly fast and require very little RAM. A front-end built to stand-alone can be deployed directly to the cloud or a CDN. Many designers and developers simply deliver static HTML/JS/CSS to their clients.

  • Uses Sass for DRY stylesheets.
  • Bring your own asset pipeline (WebPack, Babel, Sprockets or any other).
  • Easy templating with ERb or Haml.

Middleman gives the stand-alone developer access to all these tools and many, many more.

Installation

Middleman is built on Ruby and uses the RubyGems package manager for installation. These are usually pre-installed on Mac OS X and Linux. Windows users can install both using RubyInstaller. For windows RubyInstaller-Devkit is also required.

gem install middleman

Getting Started

Once Middleman is installed, you will have access to the middleman command. First, let's create a new project. From the terminal:

middleman init MY_PROJECT

This will create a new Middleman project located in the "MY_PROJECT" directory. This project contains a config.rb file for configuring Middleman and a source directory for storing your pages, stylesheets, javascripts and images.

Change directories into your new project and start the preview server:

cd MY_PROJECT
middleman server

The preview server allows you to build your site, by modifying the contents of the source directory, and see your changes reflected in the browser at: http://localhost:4567/

To get started, simply develop as you normally would by building HTML, CSS, and JavaScript in the source directory. When you're ready to use more complex templates, simply add the templating engine's extension to the file and start writing in that format.

For example, say I am working on a stylesheet at source/stylesheets/site.css and I'd like to start using Sass. I would rename the file to source/stylesheets/site.css.scss and Middleman will automatically begin processing that file as Sass. The same would apply to CoffeeScript (.js.coffee), Haml (.html.haml) and any other templating engine you might want to use.

Finally, you will want to build your project into a stand-alone site. From the project directory:

middleman build

This will compile your templates and output a stand-alone site which can be easily hosted or delivered to your client. The build step can also compress images, employ JavaScript & CSS dependency management, minify JavaScript & CSS and run additional code of your choice. Take a look at the config.rb file to see some of the most common extensions which can be activated.

Learn More

A full set of in-depth instructional guides are available on the official website at: https://middlemanapp.com

Additionally, up-to-date generated code documentation is available on RubyDoc

Community

The official community forum is available at: https://forum.middlemanapp.com

Contributing to Middleman

Contributions are welcomed! To get started, please see our contribution guidelines, which include information on submitting bug reports, and running the tests.

Donate

Click here to lend your support to Middleman

Versioning

This library aims to adhere to Semantic Versioning 2.0.0. Violations of this scheme should be reported as bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, that version should be immediately yanked and/or a new version should be immediately released that restores compatibility. Breaking changes to the public API will only be introduced with new major versions. As a result of this policy, you can (and should) specify a dependency on this gem using the Pessimistic Version Constraint with two digits of precision. For example:

spec.add_dependency 'middleman-core', '~> 4.0'

License

Copyright (c) 2010-today Thomas Reynolds. MIT Licensed, see LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].