Commit graph

25 commits

Author SHA1 Message Date
73eebdca94
Remove leftover references of gitea
All checks were successful
/ Building (push) Successful in 2m32s
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2024-01-16 17:41:38 +05:30
66e61392be
Fix panic on 404
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-12-24 18:24:44 +05:30
683358f3c1
Switch it to gitea
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-09-24 22:03:32 +05:30
69a3c01a06
Serve directly from root
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-09-07 23:54:09 +05:30
26cc78334a
Use markdown for all errors
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 22:44:38 +05:30
b22bd2dab1
Add a basic welcome page when paste-id is missing
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 22:39:30 +05:30
300b0c9a3c
Handle a specific case where gitlab token or project id can be wrong
Also make BASE_URL an env variable

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 22:33:27 +05:30
9eadd3b9c5
Run cargo fmt
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-02-21 12:52:46 +05:30
3c8aee3c09
Use base64::Engine instead of base64::decode
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-02-21 12:52:14 +05:30
1156085333
Optionally parse as markdown if requested on query params
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-26 00:16:19 +05:30
62b3c30a48
Run cargo fmt
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-22 19:35:17 +05:30
cbb1198bce
Remove tailwind cdn, use proper method to handle the css
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 23:42:45 +05:30
4aa9bf2810
Move out scripts and styles
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 21:19:41 +05:30
b5efd31fdd
Set appropriate contenttype
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-12 00:01:48 +05:30
750ede9f21
Make bind address configurable
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 22:44:39 +05:30
ec38c59631
Improve dockerfile
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 22:05:50 +05:30
3d3e3512db
Fetch gitlab token from env vars
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 19:52:20 +05:30
01d902d311
Deserialize paste json properly
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 19:45:48 +05:30
e7a18f4b03
Handle paste dynamic fetch
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 19:16:24 +05:30
ebf8733048
Use reqwest to fetch the file necessary
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-20 19:16:42 +05:30
215753bb59
Use get request parameters instead of routes
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-20 09:09:56 +05:30
527e5a5fe1
Improve the template
Add syntax highlighting, add a proper footer

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-19 22:56:05 +05:30
bf76580950
Make the template a bit more proper
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-19 18:17:38 +05:30
db32d8b07e
Basic run with tera templating
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-11 20:02:22 +05:30
fa3b2204d3
Root Commit
Basically a hello world

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-11 19:11:33 +05:30