Commit Graph

106 Commits

Author SHA1 Message Date
37f1c553b4 Add pre-commit gofmt hook. 2024-03-17 15:06:04 +01:00
34270dfea0 Update formatting. 2024-03-16 18:34:49 +01:00
0b97c205c5 Use nix-direnv flake support. 2024-03-07 19:50:22 +01:00
a54ca0623a Remove .envrc from .gitignore 2024-03-07 18:42:20 +01:00
f5b1e6b77d Add direnv files to .gitignore 2024-03-07 18:40:34 +01:00
fc73213a6c Update version. 2024-03-03 12:07:46 +01:00
9d9acbe7d3 Print file names when curling /files/ path. 2024-03-03 11:24:30 +01:00
821c0c91c8 Fix regex. 2024-03-03 11:18:28 +01:00
b87a56623b Wrap it in a flake with a great tool. 2024-03-03 11:02:29 +01:00
f914d57a74 Update links. 2024-01-06 20:49:11 +01:00
7365240e35 Remove redirect for security reasons. 2024-01-06 20:39:02 +01:00
fc098ec7c6 Update the readme with a more secure installation guide. 2024-01-06 20:29:32 +01:00
61e20c9b06 Update curl links 2023-12-21 18:38:27 +01:00
82cca8084f Document new option. 2023-12-21 18:33:53 +01:00
21dc8f1fa1 Add domain cli option. 2023-12-21 18:31:50 +01:00
7f06794dc2 Update curl links 2023-12-21 17:28:09 +01:00
f8cc04f18e Merge branch 'main' into go
Fix issues
2023-12-21 17:10:46 +01:00
bc26af8a97 Update the readme. 2023-12-21 16:49:08 +01:00
dd0e1b63cf Set port and ip to listen on with arguments. 2023-12-21 16:20:31 +01:00
8b1337bdc1 Add support for file deletion with DELETE request 2023-12-21 13:11:24 +01:00
8c1ab0b53b Fix regex detection. 2023-12-21 12:23:11 +01:00
2c1342a20e File upload form
This one for you tulg.
2023-12-21 12:08:07 +01:00
66fd12473e Cleanup. 2023-12-21 11:22:31 +01:00
e0b51e3c96 Remove UploadOnly value. 2023-12-21 11:22:31 +01:00
79b65dfb34 List and preview uploaded files. 2023-12-21 11:22:31 +01:00
8e9ffa2405 Fix up names in index.html 2023-12-21 11:22:31 +01:00
7beb2ae538 Return a struct for index template instead of mapping. 2023-12-21 11:22:31 +01:00
59104bcb12 Log error to outpu. 2023-12-21 11:22:31 +01:00
c60056d7ce Embed html templates and static files. 2023-12-21 11:22:31 +01:00
8113202f5f Check if a file with same name already exist's 2023-12-21 11:22:31 +01:00
16761d4382 Basic file upload. 2023-12-21 11:22:31 +01:00
c2e09996a2 Serve basic files page. 2023-12-21 11:22:31 +01:00
d68add7803 Server future uploaded files. 2023-12-21 11:22:31 +01:00
912f0049af Style index with css 2023-12-21 11:22:31 +01:00
34f04d3380 Server static files. 2023-12-21 11:22:31 +01:00
929df87147 Add css. 2023-12-21 11:22:31 +01:00
2edeff726d go mod tidy 2023-12-21 11:22:31 +01:00
cd4592d257 Add basic index page. 2023-12-21 11:22:31 +01:00
677ac4f427 Basic web backend and fronted with echo 2023-12-21 11:22:31 +01:00
6240310747 Update readme 2023-12-21 11:22:31 +01:00
08df1ee3dc Start a go rewrite. 2023-12-21 11:22:31 +01:00
212bf7ca75 Update main.py 2023-12-19 13:10:13 +01:00
7711c4c552 Each import per line. 2023-11-02 10:53:19 +01:00
8585fe9552 Document settings 2023-11-01 16:39:59 +01:00
4a0136c9a3 Add .env example 2023-11-01 16:35:11 +01:00
8b7b009941 Make upload only to be default by default 2023-11-01 16:33:42 +01:00
d85637afcb Add the upload only option. 2023-11-01 16:32:47 +01:00
47ac321d62 Update dependencies. 2023-10-29 20:08:58 +01:00
b5fb6bcd09 Actually update dependencies 2023-10-29 16:46:49 +01:00
4893dd6bed Update dependencies. 2023-10-29 16:45:44 +01:00