Schede di micro presentazione per risolvere necessità, cercare tecnologie appropriate, uscire dai cloud GAFAM.

Alex Myasoedov e72437eff8 Add files utils před 6 roky
files e72437eff8 Add files utils před 6 roky
static 74e9462530 Update deps před 6 roky
templates ce7c6620eb Template format před 6 roky
.dockerignore a535f8fecd Updated reveal.js před 7 roky
.gitattributes 8e161e8054 Make it Linguist friendly před 8 roky
.gitignore 74e9462530 Update deps před 6 roky
.travis.yml a751a0fd65 Travis před 8 roky
Dockerfile ec39b0506b Dockerfile for heroku před 7 roky
LICENSE 137c2b23c7 LICENSE před 8 roky
Makefile 35bd626830 Make file versioning před 6 roky
Readme.md f0c292f921 Fix lang před 6 roky
app_test.go b94899938d All tests passes před 8 roky
initial-slides.md d8becc44a2 Initial static files před 8 roky
main.go e7112adca4 Add basic auth middleware před 6 roky
package.json 74e9462530 Update deps před 6 roky
yarn.lock 74e9462530 Update deps před 6 roky

Readme.md

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

Protect slides with password

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