GithubHelp home page GithubHelp logo

cbourgois / calavera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dunglas/calavera

0.0 2.0 0.0 100 KB

A (static) Single Page Application generator using Markdown files

License: MIT License

Go 100.00%

calavera's Introduction

Calavera, a static Single Page Application generator

Calavera helps to create a full-Javascript webapp from Markdown files.

Basically, it converts Markdown files stored in a Git repository to JSON-LD files using the Schema.org vocabulary. Those files include metadata extracted from the Git repository (author name, last modification date...).

JSON-LD files are easily consumed by JavaScript libraries and framework such as Angular, Flux and jQuery.

Websites generated with Calavera can easily (and freely) be hosted on GitHub Pages.

Build Status

Install

Go programming language is the only required dependency to compile Calavera.

If you don't already have a Go workspace, create it:

$ mkdir -p ~/workspace/go
$ export GOPATH=~/workspace/go

Create the appropriate directory structure and download the source code:

$ mkdir -p ~/workspace/go/src/github.com/dunglas
$ cd ~/workspace/go/src/github.com/dunglas
$ git clone [email protected]:dunglas/calavera.git

Go to the source code directory, download external libraries and compile the program:

$ cd calavera
$ go get
$ go install

Usage

$ ~/workspace/go/bin/calavera input_directory output_directory

Markdown files from the input_directory will be converted to JSON-LD files in output_directory.

Options

  • -prettify: Prettify json-ld output files

License

Calavera is distributed under the MIT license.

Credits

Written in Go (golang) by Kévin Dunglas and sponsored by Les-Tilleuls.coop.

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.