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

Alex Myasoedov fe1908d154 Download mod. 2 years ago
auth 9857e3d452 Switch to go modules. 2 years ago
files e72437eff8 Add files utils 4 years ago
slides 3f89ea6787 Added example into initial-slides.md and skip folders from stash view to prevent errors / creation of images.md file to improve #23 :) 4 years ago
static fe71fe8133 Update reveal js version. 2 years ago
templates 3d8ee42287 Add base64 favicon 4 years ago
.dockerignore ae63721e69 Update docker file to support go modules build. 2 years ago
.gitattributes 8e161e8054 Make it Linguist friendly 6 years ago
.gitignore 79a7a4eef8 Add caching 4 years ago
.travis.yml 3f89ea6787 Added example into initial-slides.md and skip folders from stash view to prevent errors / creation of images.md file to improve #23 :) 4 years ago
Dockerfile fe1908d154 Download mod. 2 years ago
LICENSE 137c2b23c7 LICENSE 6 years ago
Makefile ae63721e69 Update docker file to support go modules build. 2 years ago
Readme.md be82c766a6 Fix tables. 4 years ago
app_test.go f6dc3a04e3 Test for redirect 4 years ago
go.mod 9857e3d452 Switch to go modules. 2 years ago
go.sum 9857e3d452 Switch to go modules. 2 years ago
initial-slides.md 3f89ea6787 Added example into initial-slides.md and skip folders from stash view to prevent errors / creation of images.md file to improve #23 :) 4 years ago
main.go 9857e3d452 Switch to go modules. 2 years ago
package-lock.json fe71fe8133 Update reveal js version. 2 years ago
package.json fe71fe8133 Update reveal js version. 2 years ago
yarn.lock 74e9462530 Update deps 4 years ago

Readme.md

Hacker Slides

MIT licensed Build Status Open Source Helpers

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

Use local images

Store pictures you want to use in the images subfolder, slides/images/ and reference them in the editor as Markdown:

![demoPicture](/images/demo.png)

or as HTML:

<img src="/images/demo.png">

Getting Help

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