acamilleri / slidups

Mini go web server to upload reveal-md presentation to my server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slidups

Go Report Card

Mini go web server to easily upload my reveal-md presentations to my self-hosted instance of webpro/reveal-mid.

Installation

Docker

Run with docker

$ docker run -p 80:8080 acamilleri/slidups:latest

From source

clone the project

$ git clone git@github.com:acamilleri/slidups.git

run

make run

Note: with make run command, slidups will start with /tmp directory as upload destination.

Usage

Push file

$ curl -F file=@presentation.md http://localhost/upload

Push file to a custom directory

$ curl -F file=@presentation.md http://localhost/upload?destionation=/slides/custom

Build from source

clone the project

$ git clone git@github.com:acamilleri/slidups.git

build

$ make build

TODO:

  • Improve code (tests!)
  • Adding metrics

About

Mini go web server to upload reveal-md presentation to my server.

License:Apache License 2.0


Languages

Language:Go 91.2%Language:Makefile 5.1%Language:Dockerfile 3.6%