Schede di micro presentazione per risolvere necessità, cercare tecnologie appropriate, uscire dai cloud GAFAM.
|
4 years ago | |
---|---|---|
auth | 4 years ago | |
files | 5 years ago | |
slides | 5 years ago | |
static | 5 years ago | |
templates | 5 years ago | |
.dockerignore | 4 years ago | |
.gitattributes | 7 years ago | |
.gitignore | 5 years ago | |
.travis.yml | 5 years ago | |
Dockerfile | 4 years ago | |
LICENSE | 7 years ago | |
Makefile | 4 years ago | |
Readme.md | 4 years ago | |
app_test.go | 5 years ago | |
go.mod | 4 years ago | |
go.sum | 4 years ago | |
initial-slides.md | 5 years ago | |
main.go | 4 years ago | |
package.json | 6 years ago | |
yarn.lock | 6 years ago |
Hacker Slides is a self hosted reveal.js presentations editor form markdown files.
Edit mode | Published |
---|---|
![]() |
![]() |
![]() |
![]() |
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.
docker run -it -p 8080:8080 -v $(pwd)/slides:/app/slides msoedov/hacker-slides
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
Store pictures you want to use in the images subfolder, slides/images/ and reference them in the editor as Markdown:

or as HTML:
<img src="/images/demo.png">
For feature requests and bug reports submit an issue to the GitHub issue tracker