Coder Social home page Coder Social logo

emptybox's Introduction

EmptyBox

A complete isomorphic hackable blog service based on React JS

Concept

Inspired by the Jekyll blog service. EmptyBox is a boilerplate ready for production. Instead of only producing a static page, you can run the service yourself. This puts EmptyBox in isomorphic mode. This will render the page on the server and deliver it quickly over the wire. On the client React JS takes over and adds your functionality. When the user continues to navigate your blog it will all happen in the client. This gives the best possible user experience.

Features

  • Isomorphic by default
  • Write articles in Github Markdown
  • Articles are automatically bundled with your application and lazy loaded
  • When editing markdown files and saving, the application HOT LOADS the article, magic!
  • Add whatever functionality you want. Simple APIs gives you access to the articles
  • Add Google Webfonts with automatic base64 inlining using package.json

Getting started

  1. Fork the repo and clone it to your computer
  2. In project root npm install to install dependencies
  3. npm start to start the service
  4. Go to localhost:3000
  5. You can add new articles in the posts/ folder. Use this convention on filename: 2015_02_28_MyArticle.md

Loading fonts

  • Go to: google-webfonts-helper and find the fonts you want to use
  • Identify the name and types, then update the package.json file, e.g. { ..., "blog": { "fonts": { "Roboto": ["regular", "700"] } } ... } If only using the "regular"-version, set an empty array
  • Just start the blog with npm start and fonts are downloaded and inlined automatically

Deploying to Heroku

  1. Create a Heroku account
  2. Add Heroku git repo as upstream to your fork
  3. When you want to push new version, push it to upstream

emptybox's People

Contributors

christianalfoni avatar gaspard avatar bdjnk avatar

Watchers

James Cloos avatar Claire Martinez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.