1
0
Fork 0
Introduzioni ai vari strumenti per editing collaborativo etherpad/calc/collabora-nextcloud
Find a file
2020-09-28 10:34:03 +02:00
auth Switch to go modules. 2019-06-13 12:34:44 +03:00
files Add files utils 2018-01-18 20:01:02 -05:00
slides ultmi dettagli 2020-09-15 11:21:13 +02:00
static ultmi dettagli 2020-09-15 11:21:13 +02:00
templates Add base64 favicon 2018-03-05 20:23:12 -05:00
.dockerignore Update docker file to support go modules build. 2019-06-13 13:29:15 +03:00
.gitattributes Make it Linguist friendly 2016-03-05 12:26:01 +02:00
.gitignore modificato il gitignore 2020-09-03 15:39:20 +02:00
.travis.yml Added example into initial-slides.md and skip folders from stash view to prevent errors / creation of images.md file to improve #23 :) 2018-02-23 11:55:49 +01:00
app_test.go Test for redirect 2018-01-18 20:15:19 -05:00
DataEconomy.pdf ultmi dettagli 2020-09-15 11:21:13 +02:00
Dockerfile Download mod. 2019-06-28 13:23:05 +03:00
go.mod Update deps. 2019-06-28 13:32:33 +03:00
go.sum Update deps. 2019-06-28 13:32:33 +03:00
initial-slides.md Added example into initial-slides.md and skip folders from stash view to prevent errors / creation of images.md file to improve #23 :) 2018-02-23 11:55:49 +01:00
LICENSE merge repo complotti 2020-09-03 13:27:29 +02:00
main.go Switch to go modules. 2019-06-13 12:34:44 +03:00
Makefile Update docker file to support go modules build. 2019-06-13 13:29:15 +03:00
package.json Revert "Update reveal js version." 2019-06-28 13:23:20 +03:00
Readme.md Update Readme.md 2019-07-01 16:04:09 +03:00
README.md Aggiorna 'README.md' 2020-09-28 10:34:03 +02:00
yarn.lock Update deps 2017-11-20 17:46:32 -05:00

Hacker Slides

MIT licensed Build Status Open Source Helpers

Hacker Slides is a self hosted reveal.js presentations editor form markdown files.

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

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.

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