Get support for dunglas/calavera
If you're new to LTH, please see our FAQ for more information on what it is we do.
Support Options
Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:
View Open IssuesTake a look to see if anyone else has experienced the same issue as you and if they managed to solve it.
Open an IssueMake sure to read any relevant guidelines for opening issues on this repo before posting a new issue.
Sponsor directlyCheck out the page and see if there are any options to sponsor this project or it's developers directly.
dunglas/calavera
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 React, Angular or jQuery.
Websites generated with Calavera can be freely and easily hosted on GitHub Pages.
Install
The easiest way to use Calavera is through Docker. Just go to the usage section below.
Alternatively, you can compile Calavera from sources.
The 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
Then, download govendor to manage the dependencies of the project:
$ go get -u github.com/kardianos/govendor
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 git@github.com:dunglas/calavera.git
Go to the source code directory, download external libraries and compile the program:
$ cd calavera
$ ~/workspace/go/bin/govendor sync # Download dependencies
$ ~/workspace/go/bin/govendor install # Install the app
Usage
Using Docker:
$ docker run -v /my/src/directory:/in -v /my/output/directory:/out dunglas/calavera /in /out
If you installed it from source:
$ ~/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 generated JSON-LD files
License
Calavera is distributed under the MIT license.
Credits
Written in Go (golang) by Kévin Dunglas and sponsored by Les-Tilleuls.coop.
Our Mission
We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated
p-e622a1a2