Commit Graph
108 Commits
Author SHA1 Message Date
Odyssey a41e5ac009 Add caching headers to static files, and fix explicit width and height (closes #52)
Signed-off-by: Odyssey <hi@odyssey346.dev>
2023-02-08 17:32:22 +01:00
Odyssium 34fef31226 Merge pull request 'Add dev.gh.akisblack.dev instance' (#49) from akis/gothub:dev into dev
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/49
2023-02-07 15:56:02 +00:00
Akis 90cbacb80c Add dev.gh.akisblack.dev instance 2023-02-07 15:55:12 +00:00
Odyssey ad0c084876 Use chroma v2 import
Signed-off-by: Odyssey <hi@odyssey346.dev>
2023-02-07 16:47:01 +01:00
Odyssey 652ccd0952 cleanup serve/serve.go a bit
Signed-off-by: Odyssey <hi@odyssey346.dev>
2023-02-07 15:35:44 +01:00
Odyssium 474d1838cc Merge pull request 'add support for .github/profile for user README' (#47) from aryak/gothub:dev into dev
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/47
2023-02-07 14:28:49 +00:00
Arya Kiran d149207a3b add support for .github/profile for user README 2023-02-06 20:53:09 +05:30
Odyssium dba4708a3b 🫡
Signed-off-by: Odyssium <odyssium@noreply.codeberg.org>
2023-02-05 18:23:37 +00:00
Odyssium bb3c6f25da Merge pull request 'gh.phreedom.club added' (#44) from tolstoevsky/gothub:dev into dev
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/44
2023-01-18 14:52:10 +00:00
tolstoevsky 34e3fb81a0 gh.phreedom.club added 2023-01-16 17:16:41 +00:00
Odyssey eececefec1 Add lunar.icu instance
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-14 12:44:12 +01:00
Odyssey faaecd2b11 I don't know how Gitea issue templates work.
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-14 12:42:40 +01:00
Odyssey 366fe77002 idk
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-14 12:41:36 +01:00
Odyssey c13376e594 Try an issue template
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-14 12:39:49 +01:00
Odyssium 8b1188468c Add esmailelbob instance 2023-01-14 11:24:49 +00:00
Odyssium f3504e7ff1 Add Drivet instance 2023-01-13 20:31:06 +00:00
Odyssium dc65598b2e Merge pull request 'Add gh.akisblack.dev instance' (#42) from akis/gothub:dev into dev
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/42
2023-01-13 19:41:25 +00:00
Akis fc22e06a6d Add gh.akisblack.dev instance 2023-01-13 19:40:17 +00:00
Odyssium 666f5d9e82 Deprecate wiki 2023-01-13 19:35:45 +00:00
Odyssey 41c503f00c Make proxied requests a utility function
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-06 21:13:53 +01:00
Odyssium 5245e9fb61 Merge branch 'master' into dev 2023-01-06 12:50:50 +00:00
Midou36O 2e145acfac Merge pull request 'Add compose.yml (Closes #30)' (#32) from compose into dev
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/32
2023-01-06 12:11:30 +00:00
Midou36O e6d314c715 Merge branch 'dev' into compose 2023-01-06 12:04:07 +00:00
Midou36O 3c099ba41d Delete the env. 2023-01-05 23:21:25 +01:00
Midou36O a7bdf2de46 Fix indentation 2023-01-05 23:18:06 +01:00
Midou36O 614e804126 Add a docker compose file. 2023-01-05 23:07:43 +01:00
Odyssey a928d70b0e Add titles
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-05 20:58:41 +01:00
Odyssey a4a4e15673 Make version a utility function
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-05 20:46:49 +01:00
Odyssey 8f95e44fab Add Docker environment variable (closes #15)
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-05 20:41:47 +01:00
Odyssey 30014eadb0 Add version API
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-05 20:35:31 +01:00
Odyssey 02325162a8 Add extra legal notice (fixes #23)
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-05 17:45:54 +01:00
Odyssey de088ef107 Update dependencies and add fiber/go version
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-05 17:42:36 +01:00
Odyssium 67d31ff213 Merge pull request 'Merge dev into master' (#28) from dev into master
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/28
Reviewed-by: Midou36O <midou36o@noreply.codeberg.org>
2023-01-01 00:14:55 +00:00
Odyssey 7eb43d9c97 Syntax Highlighting CSS fix.
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-01 01:10:16 +01:00
Odyssey 40dcdcf68c switch to alpine for docker image
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-01 00:27:10 +01:00
Odyssey de9ab67e8c Add raw button to file view
Signed-off-by: Odyssey <odyssey346@disroot.org>
2022-12-27 15:40:12 +01:00
Odyssey 286fe9c7a0 Add a legal notice (closes #23)
Signed-off-by: Odyssey <odyssey346@disroot.org>
2022-12-27 15:19:26 +01:00
Midou36O 27f5e08f7f Merge pull request 'Syntax Highlight' (#24) from snematoda/gothub:syntax-highlight into dev
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/24
2022-12-26 18:16:29 +00:00
Shiny Nematoda bf13a8095e Update 'views/file.html' 2022-12-26 04:21:33 +00:00
Shiny Nematoda 68b48ca672 Update 'views/file.html' 2022-12-26 04:20:57 +00:00
Shiny Nematoda 3ce44d4c3c Code formatting 2022-12-24 19:10:31 +00:00
Shiny Nematoda f772a4c2ae Added syntax highlight 2022-12-24 19:08:07 +00:00
Midou36O de99762b07 Expose the port in docker 2022-12-17 20:48:50 +01:00
Odyssey 9457ccaa6f Just say unknown instead.
Signed-off-by: Odyssey <odyssey346@disroot.org>
2022-12-17 20:48:01 +01:00
Odyssey 05398f3831 Finish the readme.
Signed-off-by: Odyssey <odyssey346@disroot.org>
2022-12-17 20:27:19 +01:00
Odyssey ebf23cfe36 It's not necessary to build commit info to ldflags now.
Signed-off-by: Odyssey <odyssey346@disroot.org>
2022-12-17 20:09:19 +01:00
Odyssium 92a55a3141 Merge pull request 'Fix GitHub API request for /explore and add View on GitHub button.' (#19) from dev into master
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/19
Reviewed-by: Midou36O <midou36o@noreply.codeberg.org>
2022-12-11 20:16:06 +00:00
Odyssey 721b0cd287 Merge branch 'dev' of https://codeberg.org/Odyssium/gothub into dev 2022-12-10 21:05:33 +01:00
Odyssey 25376fa03a rename downloadButton to button.
Signed-off-by: Odyssey <odyssey346@disroot.org>
2022-12-10 21:05:30 +01:00
Odyssium ff43ca5c3f Merge branch 'master' into dev 2022-12-10 19:00:41 +00:00