Simple blogging system written in Go https://goblog.app
Go to file
Jan-Lukas Else 82d4c7f581 Fix tailscale 2022-01-13 21:25:56 +01:00
.vscode Vanity import path and listing of media files 2021-06-28 22:17:18 +02:00
dbmigrations Rework sessions, config and some tests 2021-12-14 17:38:36 +01:00
docs Support sending notifications to ntfy.sh 2021-12-29 07:09:42 +01:00
leaflet Serve leaflet locally, proxy tiles 2021-07-19 18:41:38 +02:00
original-assets Fix styles 2021-11-16 10:37:30 +01:00
pkgs Fix TTS for long texts 2022-01-05 10:56:53 +01:00
templates Replace summary templates with new rendering method 2022-01-11 12:40:31 +01:00
testdata Remove useless template includes and start rendering parts of the HTML directly with Go instead of templates 2022-01-09 21:08:38 +01:00
.drone.yml Add seperate Dockerfile step for test to be skipable for base or tools builds 2021-12-28 12:50:40 +01:00
.gitignore Serve files in "static" folder 2020-12-23 14:11:14 +01:00
.golangci.yml Add script to update go modules, add golangci-lint config 2021-12-07 14:20:27 +01:00
Dockerfile Improve Drone build time 2021-12-28 12:54:08 +01:00
LICENSE Add MIT license 2020-12-18 22:25:58 +01:00
README.md Structured docs 2021-09-26 13:10:37 +02:00
activityPub.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
activityPubSending.go Remove useless body discard 2021-11-02 18:38:08 +01:00
activityPub_test.go Automatic ActivityPub key generation, doesn't need config anymore 2021-07-29 15:31:49 +02:00
activityStreams.go More rendered titles 2021-08-05 14:53:22 +02:00
app.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
authentication.go Add noindex header to login page 2021-11-15 12:49:18 +01:00
authentication_test.go Rework sessions, config and some tests 2021-12-14 17:38:36 +01:00
blogroll.go Some improvements 2022-01-04 10:37:48 +01:00
blogroll_test.go Use tgbotapi and improve http client mocking 2021-12-07 18:23:57 +01:00
blogstats.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
blogstats_test.go More tests 2021-09-02 14:49:10 +02:00
cache.go Various small improvements and fixes 2021-12-30 12:40:21 +01:00
captcha.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
captcha_test.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
check.go Remove useless body discard 2021-11-02 18:38:08 +01:00
comments.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
commentsAdmin.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
comments_test.go More tests 2021-09-02 14:49:10 +02:00
config.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
config_test.go Various small improvements and fixes 2021-12-30 12:40:21 +01:00
contact.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
contact_test.go Improve the mock SMTP mechanism a lot 2021-11-08 16:27:33 +01:00
customPages.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
database.go Remove duplicated database logic 2021-12-12 10:36:47 +01:00
databaseHooks.go Refactor database hooks to make them more useful 2021-08-09 18:31:42 +02:00
databaseMigrations.go Add another index for posts, db migrations from embedded fs 2021-07-23 11:29:03 +02:00
database_test.go Improve posts db 2021-07-03 12:11:57 +02:00
debug.go Add debug logs to webmentions 2021-08-03 21:32:02 +02:00
editor.go More parts of the rendering in Go functions 2022-01-10 19:23:20 +01:00
editorFiles.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
editor_test.go More parts of the rendering in Go functions 2022-01-10 19:23:20 +01:00
errors.go Save paths of deleted posts and show 410 error 2021-07-23 09:53:35 +02:00
errors_test.go More tests 2021-09-02 14:49:10 +02:00
example-config.yml Update dependencies 2022-01-13 21:08:46 +01:00
export.go Fix permissions 2021-08-17 23:23:49 +02:00
export_test.go "GoBlog export path" for exporting markdown files of posts 2021-08-10 13:27:19 +02:00
feeds.go Various small improvements and fixes 2021-12-30 12:40:21 +01:00
feeds_test.go Some improvements 2022-01-04 10:37:48 +01:00
garbagecollector.go Added regular garbage collection 2021-03-13 13:17:42 +01:00
geo.go Some improvements 2022-01-04 10:37:48 +01:00
geoMap.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
geoTiles.go Make map tiles configurable 2021-11-22 16:36:17 +01:00
geoTiles_test.go Fix broken routes, use "/-" for leaflet and tiles instead of "/x" which broke the date archives 2021-12-12 11:03:14 +01:00
geoTrack.go Make map tiles configurable 2021-11-22 16:36:17 +01:00
geoTrack_test.go Support GPX routes and waypoints as well 2021-11-16 18:01:11 +01:00
go.mod Update dependencies 2022-01-13 21:08:46 +01:00
go.sum Update dependencies 2022-01-13 21:08:46 +01:00
healthcheck.go Remove useless body discard 2021-11-02 18:38:08 +01:00
highlighting.go Fix styles 2021-11-16 10:37:30 +01:00
hooks.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
http.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
httpClient.go Use tgbotapi and improve http client mocking 2021-12-07 18:23:57 +01:00
httpClient_test.go Some improvements 2022-01-04 10:37:48 +01:00
httpFs.go Editor live preview 2021-11-01 18:39:08 +01:00
httpListener.go Add integrated Tailscale 2021-10-13 09:01:54 +02:00
httpLogs.go Fix missing default logFile config 2021-12-27 21:47:12 +01:00
httpLogs_test.go Fix missing default logFile config 2021-12-27 21:47:12 +01:00
httpMiddlewares.go Fix 405 on HEAD requests, improve webmention verification 2021-11-19 17:36:03 +01:00
httpMiddlewares_test.go Add two middleware tests 2021-10-30 19:53:22 +02:00
httpRouters.go Replace summary templates with new rendering method 2022-01-11 12:40:31 +01:00
httpsCache.go Add a list of features to the docs and some small code improvements 2021-11-04 08:52:16 +01:00
indieAuth.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
indieAuthServer.go Use indieauth module 2021-11-23 15:23:01 +01:00
indieAuthServer_test.go Some improvements 2022-01-04 10:37:48 +01:00
indieAuth_test.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
main.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
markdown.go Fix styles 2021-11-16 10:37:30 +01:00
markdown_test.go Add test for markdown images 2021-09-01 08:29:21 +02:00
media.go Add option to set extra address for media 2021-08-02 20:43:24 +02:00
mediaCompression.go Some improvements 2022-01-04 10:37:48 +01:00
mediaCompression_test.go Use tgbotapi and improve http client mocking 2021-12-07 18:23:57 +01:00
mediaStorage.go Replace Google's hidden Translate TTS with official Google Cloud TTS and make it automatically generate audio after posting 2021-12-16 20:21:54 +01:00
mediaStorage_test.go Various refactorings 2021-06-23 19:20:50 +02:00
micropub.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
micropubMedia.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
nodeinfo.go Vanity import path and listing of media files 2021-06-28 22:17:18 +02:00
notifications.go Support sending notifications to ntfy.sh 2021-12-29 07:09:42 +01:00
ntfy.go Update requests dependency 2022-01-04 09:48:37 +01:00
ntfy_test.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
opensearch.go Various small improvements and fixes 2021-12-30 12:40:21 +01:00
paths.go Refactor media storage, add support for FTP 2021-06-23 14:28:51 +02:00
paths_test.go Refactor media storage, add support for FTP 2021-06-23 14:28:51 +02:00
persistentCache.go Refactor time usages (use Format instead of String) 2021-07-13 17:23:10 +02:00
posts.go Replace summary templates with new rendering method 2022-01-11 12:40:31 +01:00
postsDb.go Fix Microformats query for post, schedule post if it's posted without status and published time is in the future 2022-01-03 14:23:25 +01:00
postsDb_test.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
postsDeleter.go Some improvements 2022-01-04 10:37:48 +01:00
postsDeleter_test.go Some improvements 2022-01-04 10:37:48 +01:00
postsFuncs.go More parts of the rendering in Go functions 2022-01-10 19:23:20 +01:00
postsScheduler.go Support for scheduled posts 2021-12-11 19:43:40 +01:00
postsScheduler_test.go Support for scheduled posts 2021-12-11 19:43:40 +01:00
posts_test.go Some improvements 2022-01-04 10:37:48 +01:00
privateMode.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
privateMode_test.go More tests 2021-09-02 14:49:10 +02:00
queue.go Test queue 2021-11-28 09:11:37 +01:00
queue_test.go Test queue 2021-11-28 09:11:37 +01:00
regexRedirects.go Big refactoring: Avoid global vars almost everywhere 2021-06-06 14:39:42 +02:00
regexRedirects_test.go Tests for regex redirects 2021-08-18 10:28:17 +02:00
render.go Replace summary templates with new rendering method 2022-01-11 12:40:31 +01:00
robotstxt.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
robotstxt_test.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
search.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
search_test.go Fix date based archive routes 2021-11-03 18:52:41 +01:00
sessions.go Rework sessions, config and some tests 2021-12-14 17:38:36 +01:00
shortDomain.go Add option to set extra address for media 2021-08-02 20:43:24 +02:00
shortPath.go Reuse skipped shortpath ids 2021-11-14 07:58:49 +01:00
shortPath_test.go Add script to update go modules, add golangci-lint config 2021-12-07 14:20:27 +01:00
sitemap.go Various small improvements and fixes 2021-12-30 12:40:21 +01:00
sitemap_test.go Some improvements 2022-01-04 10:37:48 +01:00
staticFiles.go Directly serve 404 if no favicon.ico file exists 2021-11-22 17:05:49 +01:00
tailscale.go Fix tailscale 2022-01-13 21:25:56 +01:00
taxonomies.go Test complete captcha flow, simplify some code parts 2021-12-20 14:00:11 +01:00
telegram.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
telegram_test.go Support sending notifications to ntfy.sh 2021-12-29 07:09:42 +01:00
templateAssets.go Remove useless template includes and start rendering parts of the HTML directly with Go instead of templates 2022-01-09 21:08:38 +01:00
templateStrings.go Big refactoring: Avoid global vars almost everywhere 2021-06-06 14:39:42 +02:00
tor.go Fix permissions 2021-08-17 23:23:49 +02:00
tts.go Remove useless template includes and start rendering parts of the HTML directly with Go instead of templates 2022-01-09 21:08:38 +01:00
ui.go Replace summary templates with new rendering method 2022-01-11 12:40:31 +01:00
ui_test.go More parts of the rendering in Go functions 2022-01-10 19:23:20 +01:00
updateDeps.sh Add script to update go modules, add golangci-lint config 2021-12-07 14:20:27 +01:00
utils.go Fix and improve htmlText util method for TTS and use it for summary as well 2022-01-04 18:15:09 +01:00
utils_test.go Fix and improve htmlText util method for TTS and use it for summary as well 2022-01-04 18:15:09 +01:00
webmention.go Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
webmentionAdmin.go Fix 405 on HEAD requests, improve webmention verification 2021-11-19 17:36:03 +01:00
webmentionSending.go Update requests dependency 2022-01-04 09:48:37 +01:00
webmentionVerification.go Fix debug messages and webmention to root without path 2021-11-19 23:30:36 +01:00
webmentionVerification_test.go Use tgbotapi and improve http client mocking 2021-12-07 18:23:57 +01:00
webmention_test.go Fix: Don't return mentions when no address provided 2021-11-22 16:56:40 +01:00

README.md

GoBlog

How to install and run (and other useful information about) GoBlog is explained in the docs.