blob: b06e89ef518bb5e6642de7120b02f0f61275c5d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# likha-pdf
a simple and crappy web app that converts markdown to pdf using pandoc and lualatex.
<img width="1280" height="801" alt="Screen Shot 2026-02-16 at 02 05 37" src="https://github.com/user-attachments/assets/f7154612-20d0-4065-b1c3-90c22c74b8df" />
## features
- markdown to pdf export
- crappy image upload (but it works)
- emoji-capable latex template
## requirements
- nim 1.6+
- pandoc
- lualatex
## image usage
1. upload an image from the page
2. click `insert into markdown`
3. generate pdf
## run
### local
```bash
cd src/
nim c -d:release -o:likha-pdf app.nim
./likha-pdf
```
### docker
```bash
docker build -t likha-pdf .
docker run -p 5000:5000 likha-pdf
```
open `http://localhost:5000`
|