Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericalli/static-site-boilerplate
A better workflow for building modern static websites.
https://github.com/ericalli/static-site-boilerplate
babel boilerplate es6 eslint ftp html less minification netlify postcss sass starter-kit stylelint webpack
Last synced: 7 days ago
JSON representation
A better workflow for building modern static websites.
- Host: GitHub
- URL: https://github.com/ericalli/static-site-boilerplate
- Owner: ericalli
- License: mit
- Created: 2018-11-29T14:27:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-14T23:01:03.000Z (over 2 years ago)
- Last Synced: 2024-10-29T17:12:50.952Z (about 1 month ago)
- Topics: babel, boilerplate, es6, eslint, ftp, html, less, minification, netlify, postcss, sass, starter-kit, stylelint, webpack
- Language: JavaScript
- Homepage: http://staticsiteboilerplate.com
- Size: 4.46 MB
- Stars: 1,736
- Watchers: 25
- Forks: 163
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- my-awesome-list - static-site-boilerplate
README
# Static Site Boilerplate [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Static%20Site%20Boilerplate%3A%20A%20better%20workflow%20for%20building%20modern%20static%20websites&url=http://staticsiteboilerplate.com/&via=ericalli&hashtags=html,css,javascript,webdev)
[![Build Status](https://travis-ci.org/ericalli/static-site-boilerplate.svg?branch=master)](https://travis-ci.org/ericalli/static-site-boilerplate)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Support on Open Collective](https://img.shields.io/badge/support-on%20open%20collective-3285FF.svg?logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMCAwIDQwIDQ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dmc+)](https://opencollective.com/static-site-boilerplate)
[![Join the chat at https://gitter.im/ericalli/static-site-boilerplate](https://badges.gitter.im/ericalli/static-site-boilerplate.svg)](https://gitter.im/ericalli/static-site-boilerplate?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)**Discuss it on [Product Hunt](https://www.producthunt.com/posts/static-site-boilerplate) 🦄**
[![Static Site Boilerplate](https://ericalli.s3.amazonaws.com/ssb/github.png)](https://github.com/ericalli/static-site-boilerplate/releases/latest)
* Homepage: [http://staticsiteboilerplate.com/](http://staticsiteboilerplate.com//)
* Documentation: [https://docs.staticsiteboilerplate.com/](https://docs.staticsiteboilerplate.com/)## Installation
```bash
git clone https://github.com/ericalli/static-site-boilerplate
```
```bash
cd static-site-boilerplate
```
```bash
rm -rf .git && git init
```
## Features* **Modern Technologies:** Full support for HTML5, JavaScript (Vanilla and ES6) and CSS (Sass and PostCSS)
* **Built-in Server:** Local development server with hot reloading
* **Performance Tuning:** CSS and JavaScript transpilation, bundling, autoprefixing, and minification
* **Image Optimization:** Optimizes images for loading speed
* **Favicon Generation:** Automatically generates all favicons for Web, Apple and Android devices from one image file
* **Code Linting:** Full support for JavaScript (ESLint) and CSS (StyleLint) linting
* **Sitemap & Robots.txt Generation:** Automatically generates a sitemap.xml and robots.txt files
* **Setup Wizard:** Optionally install helpful libraries and snippets including:
* CSS Resets: `normalize.css` `reset.css` or `sanitize.css`
* jQuery
* Google Analytics
* **Cutting Edge:** Uses Webpack for processing and bundling your code
* **Deployment:** Built-in support for deployment via FTP or Netlify## Browser Support
* Chrome _\(latest 2\)_
* Edge _\(latest 2\)_
* Firefox _\(latest 2\)_
* Internet Explorer 9+
* Opera _\(latest 2\)_
* Safari _\(latest 2\)__This is fully dependent on your code and doesn't mean that Static Site Boilerplate won't work in older browsers, just that we'll ensure compatibility with the ones mentioned above._
## Support & Contributing
For general questions about Static Site Boilerplate, tweet at [@ericalli](https://twitter.com/ericalli).
Anyone is welcome to contribute. If you decide to get involved, please take a moment and check out the following:
* [Bug reports](.github/ISSUE_TEMPLATE/bug_report.md)
* [Feature requests](.github/ISSUE_TEMPLATE/feature_request.md)## Sponsors
[**Become a sponsor**](https://opencollective.com/static-site-boilerplate) and get your company in front of thousands of engaged front end developers and support this project!
[![Become a sponsor](https://opencollective.com/static-site-boilerplate/tiers/backer.svg?avatarHeight=64)](https://opencollective.com/static-site-boilerplate)
## Author
**Eric Alli**
- Website:
- Github:## License
The code is available under the [MIT license](LICENSE).