https://github.com/ckampfe/empress
Fucking simple presentations
https://github.com/ckampfe/empress
Last synced: 11 months ago
JSON representation
Fucking simple presentations
- Host: GitHub
- URL: https://github.com/ckampfe/empress
- Owner: ckampfe
- License: agpl-3.0
- Created: 2015-04-12T00:42:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-31T08:16:43.000Z (about 8 years ago)
- Last Synced: 2023-08-02T13:24:58.529Z (almost 3 years ago)
- Language: Scala
- Size: 1.04 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Empress
=======
Fucking simple presentations.
## Why?
- You want to write your slides in Markdown, because like plain text, Markdown is classy, portable, and patriotic as fuck
- You don't want to mess around with Keynote, Powerpoint, Prezi or Reveal.js like a peasant
## How?
- Write slides in Markdown files.
- Put the slides in a directory and name them like this to indicate presentation order:
```sh
1-getting_started.md
2-practical.md
3-exploratory.md
4-big_projects.md
5-class.md
6-value_object.md
7-object.md
8-immutability.md
9-pattern_matching.md
```
- Use the `.jar` to start the presentation server:
```sh
$ java -DslidesPath=$PATH_TO_SLIDES \
-DpresentationName=$TITLE_OF_PRESENTATION \
-jar $PATH_TO_JAR
```
- Give the people what they want:
```sh
$ open http://localhost:9000
```
- If you haven't built the `.jar`, build it like this:
```sh
$ git clone $THE_REPO
$ cd empress
$ sbt assembly
```
The `.jar` file will be in `target/scala-2.12`
- If you don't have a JRE, I feel sorry for you.
## Native binary
Another option, if you have GraalVM, is you can build a native image.
Do this:
```
native-image -H:+ReportUnsupportedElementsAtRuntime \
-jar target/scala-2.12/empress-assembly-0.2.0.jar
```
Then:
```
./empress-assembly-0.2.0 /Users/xcxk066/code/testdeck "a great talk"
```