GithubHelp home page GithubHelp logo

k-phoen / boucle Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 1.16 GB

Boucle is a static travel map and albums generator.

Home Page: http://blog.kevingomez.fr/boucle/

License: MIT License

Makefile 1.41% CSS 2.62% JavaScript 19.97% PHP 73.48% HTML 2.53%

boucle's Introduction

Boucle PHP7 ready Build Status Coverage Status

Boucle is a static travel map generator.

As your explored the world during your travels, Boucle will help you build a map of your periples.

See the demo

Features

  • Generation of a static map with all the steps of your travel
  • Configuration through a simple YAML file
  • Generation of static galleries, one for each of your travel steps
  • Automatic generation of thumbnails
  • Can be deployed on GitHub's gh-pages

Usage

To generate your website, there are a few steps to follow:

  1. Download Boucle
  2. Describe your travel
  3. Generate the website
  4. Deploy!

Downloading Boucle

The easiest way to use the PHAR archive. Download the latest archive in the releases page and you will be good to go.

Describing the travel

Boucle expects your travel to be described in a YAML file that looks like this:

boucle:
    title: Scotland – 2018

    start: Clermont-Ferrand, France

    steps:
        -
            to: Lyon, France
            with: bus
            date: '2018-08-28'
        -
            to: Edinburgh, Scotland
            with: plane
            date: '2018-08-31'
            album:
                path: albums/edinburgh
                cover: P9020042.JPG
        -
            to: Stirling, Scotland
            with: car
            date: '2018-09-12'
            type: daytrip
        -
            to: Glasgow, Scotland
            with: car
            date: '2018-09-13'
        -
            to: Lyon, France
            with: plane
            date: '2018-09-15'

To check how Boucle understood your travel, you can use the following command:

./boucle steps:list

A more detailed example can be found in the examples directory.

Generating the website

Once your albums are configured, you can use Boucle to generate the website for your:

./boucle build

Deploying

If you are deploying on GitHub's gh-pages, you can commit the changes and push them.

Authors

  • Kévin Gomez - Initial work
  • Bjorn Sandvik - For the original version of the Leaflet.Photo plugin

See also the list of contributors who participated in this project.

Contributing

See the CONTRIBUTING.md file for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

boucle's People

Contributors

k-phoen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.