Simple blogging system written in Go https://goblog.app
Go to file
Jan-Lukas Else 9e423526bd Various improvements & more tests 2021-09-01 16:38:08 +02:00
.vscode Vanity import path and listing of media files 2021-06-28 22:17:18 +02:00
dbmigrations Refactor and test authentication middleware 2021-07-24 13:35:26 +02:00
docs Go 1.17 2021-08-17 07:55:50 +02:00
leaflet Serve leaflet locally, proxy tiles 2021-07-19 18:41:38 +02:00
original-assets "GoBlog export path" for exporting markdown files of posts 2021-08-10 13:27:19 +02:00
pkgs Add option to set extra address for media 2021-08-02 20:43:24 +02:00
templates "GoBlog export path" for exporting markdown files of posts 2021-08-10 13:27:19 +02:00
testdata Benchmark markdown rendering 2021-06-14 22:41:58 +02:00
.drone.yml Use Google image mirror 2021-07-12 16:34:38 +02:00
.gitignore Serve files in "static" folder 2020-12-23 14:11:14 +01:00
Dockerfile Go 1.17 2021-08-17 07:55:50 +02:00
Dockerfile.Tools Additional Docker image with tools 2021-06-24 20:50:55 +02:00
LICENSE Add MIT license 2020-12-18 22:25:58 +01:00
README.md Add some docs 2021-07-15 18:56:03 +02:00
activityPub.go Tests for blog stats 2021-07-30 15:43:13 +02:00
activityPubSending.go Vanity import path and listing of media files 2021-06-28 22:17:18 +02: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 Fix rendering Markdown title 2021-08-04 23:26:38 +02:00
authentication.go Some cache fixes 2021-07-25 10:53:12 +02:00
authentication_test.go Various improvements & more tests 2021-09-01 16:38:08 +02:00
blogroll.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
blogstats.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
blogstats_test.go Tests for blog stats 2021-07-30 15:43:13 +02:00
cache.go Some cache fixes 2021-07-25 10:53:12 +02:00
captcha.go Refactor and test authentication middleware 2021-07-24 13:35:26 +02:00
captcha_test.go Tests for blog stats 2021-07-30 15:43:13 +02:00
check.go Further improve post title rendering 2021-08-05 08:09:34 +02:00
comments.go Various improvements & more tests 2021-09-01 16:38:08 +02:00
commentsAdmin.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
comments_test.go Various improvements & more tests 2021-09-01 16:38:08 +02:00
config.go Add debug logs to webmentions 2021-08-03 21:32:02 +02:00
contact.go Fix formatting of contact messages 2021-09-01 11:14:49 +02:00
customPages.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
database.go Refactor database hooks to make them more useful 2021-08-09 18:31:42 +02: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 Further improve post title rendering 2021-08-05 08:09:34 +02:00
editorFiles.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
errors.go Save paths of deleted posts and show 410 error 2021-07-23 09:53:35 +02:00
errors_test.go Tests for blog stats 2021-07-30 15:43:13 +02:00
example-config.yml Add option to set extra address for media 2021-08-02 20:43:24 +02: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 More rendered titles 2021-08-05 14:53:22 +02:00
garbagecollector.go Added regular garbage collection 2021-03-13 13:17:42 +01:00
geo.go Section option to show full post content on index & fixes 2021-07-31 13:20:51 +02:00
geoMap.go Further improve post title rendering 2021-08-05 08:09:34 +02:00
go.mod Add test for markdown images 2021-09-01 08:29:21 +02:00
go.sum Add test for markdown images 2021-09-01 08:29:21 +02:00
healthcheck.go Update to new shutdowner version 2021-06-19 23:54:07 +02:00
hooks.go Tests for blog stats 2021-07-30 15:43:13 +02:00
http.go Fix Tor header on media requests 2021-08-02 21:10:38 +02:00
httpClient.go Tests for blog stats 2021-07-30 15:43:13 +02:00
httpClient_test.go Various refactorings 2021-06-23 19:20:50 +02:00
httpLogs.go Big refactoring: Avoid global vars almost everywhere 2021-06-06 14:39:42 +02:00
httpMiddlewares.go Fix Tor header on media requests 2021-08-02 21:10:38 +02:00
httpRouters.go Various improvements & more tests 2021-09-01 16:38:08 +02:00
httpsCache.go Use autocert instead of certmagic (was broken) 2021-06-30 16:15:07 +02:00
indieAuth.go Add optional database logging and add index for queue 2021-06-29 17:07:08 +02:00
indieAuthServer.go Refactor time usages (use Format instead of String) 2021-07-13 17:23:10 +02:00
main.go "GoBlog export path" for exporting markdown files of posts 2021-08-10 13:27:19 +02:00
markdown.go Fix formatting of contact messages 2021-09-01 11:14:49 +02: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 Vanity import path and listing of media files 2021-06-28 22:17:18 +02:00
mediaCompression_test.go Fix permissions 2021-08-17 23:23:49 +02:00
mediaStorage.go Fix permissions 2021-08-17 23:23:49 +02:00
mediaStorage_test.go Various refactorings 2021-06-23 19:20:50 +02:00
micropub.go Further improve post title rendering 2021-08-05 08:09:34 +02: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 Use more strings.Builder instead of += for building queries etc. (more efficient) 2021-07-23 17:26:14 +02:00
opensearch.go More rendered titles 2021-08-05 14:53:22 +02: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 Fix formatting of contact messages 2021-09-01 11:14:49 +02:00
postsDb.go "GoBlog export path" for exporting markdown files of posts 2021-08-10 13:27:19 +02:00
postsDb_test.go Further improve post title rendering 2021-08-05 08:09:34 +02:00
postsFuncs.go "GoBlog export path" for exporting markdown files of posts 2021-08-10 13:27:19 +02:00
privateMode.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
queue.go Refactor time usages (use Format instead of String) 2021-07-13 17:23:10 +02: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 Fix rendering Markdown title 2021-08-04 23:26:38 +02: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 Fix formatting of contact messages 2021-09-01 11:14:49 +02:00
sessions.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
shortDomain.go Add option to set extra address for media 2021-08-02 20:43:24 +02:00
shortPath.go Improve posts db 2021-07-03 12:11:57 +02:00
sitemap.go Sitemap indices with LastMod 2021-08-18 14:47:31 +02:00
staticFiles.go Big refactoring: Avoid global vars almost everywhere 2021-06-06 14:39:42 +02:00
taxonomies.go Reduce complexity of router build method 2021-07-27 12:51:08 +02:00
telegram.go Further improve post title rendering 2021-08-05 08:09:34 +02:00
telegram_test.go Further improve post title rendering 2021-08-05 08:09:34 +02:00
templateAssets.go Simple XSL stylesheet for sitemaps 2021-08-04 15:45:58 +02: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
utils.go Various improvements & more tests 2021-09-01 16:38:08 +02:00
utils_test.go Various improvements & more tests 2021-09-01 16:38:08 +02:00
webmention.go Use Golang toLower func for lower in queries, add webmention tests 2021-08-09 13:09:45 +02:00
webmentionAdmin.go Improve method to get relative and full addresses (first unit tests!) 2021-06-10 22:10:13 +02:00
webmentionSending.go Section option to show full post content on index & fixes 2021-07-31 13:20:51 +02:00
webmentionVerification.go Tests for regex redirects 2021-08-18 10:28:17 +02:00
webmention_test.go Tests for regex redirects 2021-08-18 10:28:17 +02:00

README.md

GoBlog

Hello!

This repository contains the code for GoBlog, my own blogging system. I created it because I was tired of all the workarounds to customize Hugo and other blog systems to my needs.

The goals of GoBlog are:

  • Minimalism
  • Performance
  • Flexibility
  • IndieWeb

To configure GoBlog, take a look at the example-config.yml file and save your configuration to config\config.yml. How to install and run GoBlog is explained in the docs.

Administration paths:

  • Login: /login
  • Logout: /logout
  • Editor: /editor (prefixed with the blog path)
  • Notifications: /notifications
  • Webmentions: /webmention
  • Comments: /comment

jlelse