Schede di micro presentazione per risolvere necessità, cercare tecnologie appropriate, uscire dai cloud GAFAM.
Find a file
Alex Myasoedov c99e8841fb
Merge pull request #16 from msoedov/pr14
#14 Optional basic auth
2017-11-12 17:51:32 -05:00
static Add stash link to index page. opens a list of files to edit to easy access. 2017-11-06 21:57:13 +03:00
templates Add stash link to index page. opens a list of files to edit to easy access. 2017-11-06 21:57:13 +03:00
.dockerignore Updated reveal.js 2017-03-01 19:07:23 -05:00
.gitattributes Make it Linguist friendly 2016-03-05 12:26:01 +02:00
.gitignore Make build 2017-02-07 20:02:35 -05:00
.travis.yml Travis 2016-03-06 21:04:58 +02:00
app_test.go All tests passes 2016-03-03 11:41:18 +02:00
Dockerfile Dockerfile for heroku 2017-05-13 11:24:55 -04:00
initial-slides.md Initial static files 2016-02-29 20:31:32 +02:00
LICENSE LICENSE 2016-03-03 15:09:12 +02:00
main.go Add basic auth middleware 2017-11-12 17:45:20 -05:00
Makefile Fix test 2017-02-07 20:06:16 -05:00
package.json Updated reveal.js 2017-03-01 19:07:23 -05:00
Readme.md Update readme with basic auth 2017-11-12 17:48:48 -05:00

Hacker Slides

MIT licensed Build Status

This repo is a reworked version of Sandstorm Hacker Slides which features easy set up run outside of Sandstorm and without vagrant-spk. Likewise you can publish and edit your previous markdown slides which is not supported in the original version.

Features:

  • Reach ui editor
  • Markdown markup
  • Live reload
  • Color schemes
  • Pdf print
  • Demo version
  • Tiny 10 Mb docker image
  • Optional Basic auth
Edit mode Published
1st 1st
2nd 2nd

Run from docker image

docker run -it -p 8080:8080 -v $(pwd)/slides:/app/slides msoedov/hacker-slides

Build locally

To build and run it locally

go get
go run main.go

[GIN-debug] Listening and serving HTTP on :8080

And then you can just open http://127.0.0.1:8080 and it's ready to use with sample slides.

Run with docker

docker run -it -p 8080:8080 -v $(pwd)/slides:/app/slides msoedov/hacker-slides

Basic auth (disabled by default)

USER=bob PASSWORD=password1 go run main.go
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

WARN[0000] Auth mode enabled
WARN[0000] Visit http://bob:password1@0.0.0.0:8080
docker run -it -p 8080:8080 -e USER=bob -e PASSWORD=password1 -v $(pwd)/slides:/app/slides msoedov/hacker-slides

Getting Help

For feature requests and bug reports submit an issue to the GitHub issue tracker