Simple blogging system written in Go https://goblog.app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jan-Lukas Else b4b36d1441 Update dependencies 3 days ago
.vscode Vanity import path and listing of media files 3 months ago
dbmigrations Refactor and test authentication middleware 2 months ago
docs Go 1.17 1 month ago
leaflet Serve leaflet locally, proxy tiles 2 months ago
original-assets Remove margin below announcement 1 week ago
pkgs Improved TTS 1 week ago
templates Remove margin below announcement 1 week ago
testdata Benchmark markdown rendering 3 months ago
.drone.yml Use Google image mirror 2 months ago
.gitignore Serve files in "static" folder 9 months ago
Dockerfile Go 1.17 1 month ago
Dockerfile.Tools Additional Docker image with tools 3 months ago
LICENSE Add MIT license 9 months ago
README.md Add some docs 2 months ago
activityPub.go Tests for blog stats 2 months ago
activityPubSending.go Vanity import path and listing of media files 3 months ago
activityPub_test.go Automatic ActivityPub key generation, doesn't need config anymore 2 months ago
activityStreams.go More rendered titles 1 month ago
app.go Fix rendering Markdown title 1 month ago
authentication.go Some cache fixes 2 months ago
authentication_test.go More tests 2 weeks ago
blogroll.go Reduce complexity of router build method 2 months ago
blogstats.go Reduce complexity of router build method 2 months ago
blogstats_test.go More tests 2 weeks ago
cache.go Some cache fixes 2 months ago
captcha.go Small improvements to editor and captcha 2 weeks ago
captcha_test.go More tests 2 weeks ago
check.go Further improve post title rendering 1 month ago
comments.go Various improvements & more tests 2 weeks ago
commentsAdmin.go Reduce complexity of router build method 2 months ago
comments_test.go More tests 2 weeks ago
config.go Add option to add announcement to blog header 1 week ago
contact.go Fix formatting of contact messages 2 weeks ago
customPages.go Reduce complexity of router build method 2 months ago
database.go Refactor database hooks to make them more useful 1 month ago
databaseHooks.go Refactor database hooks to make them more useful 1 month ago
databaseMigrations.go Add another index for posts, db migrations from embedded fs 2 months ago
database_test.go Improve posts db 3 months ago
debug.go Add debug logs to webmentions 1 month ago
editor.go Improved TTS 1 week ago
editorFiles.go Reduce complexity of router build method 2 months ago
errors.go Save paths of deleted posts and show 410 error 2 months ago
errors_test.go More tests 2 weeks ago
example-config.yml Add option to add announcement to blog header 1 week ago
export.go Fix permissions 1 month ago
export_test.go "GoBlog export path" for exporting markdown files of posts 1 month ago
feeds.go More rendered titles 1 month ago
garbagecollector.go Added regular garbage collection 6 months ago
geo.go Section option to show full post content on index & fixes 2 months ago
geoMap.go Further improve post title rendering 1 month ago
go.mod Update dependencies 3 days ago
go.sum Update dependencies 3 days ago
healthcheck.go Update to new shutdowner version 3 months ago
hooks.go Tests for blog stats 2 months ago
http.go Fix Tor header on media requests 2 months ago
httpClient.go Tests for blog stats 2 months ago
httpClient_test.go Various refactorings 3 months ago
httpLogs.go Big refactoring: Avoid global vars almost everywhere 3 months ago
httpLogs_test.go More tests 2 weeks ago
httpMiddlewares.go Fix Tor header on media requests 2 months ago
httpRouters.go Various improvements & more tests 2 weeks ago
httpsCache.go Use autocert instead of certmagic (was broken) 3 months ago
indieAuth.go Add optional database logging and add index for queue 3 months ago
indieAuthServer.go Refactor time usages (use Format instead of String) 2 months ago
main.go More tests 2 weeks ago
markdown.go Improved TTS 1 week ago
markdown_test.go Add test for markdown images 2 weeks ago
media.go Add option to set extra address for media 2 months ago
mediaCompression.go Vanity import path and listing of media files 3 months ago
mediaCompression_test.go Fix permissions 1 month ago
mediaStorage.go Fix permissions 1 month ago
mediaStorage_test.go Various refactorings 3 months ago
micropub.go Further improve post title rendering 1 month ago
micropubMedia.go Reduce complexity of router build method 2 months ago
nodeinfo.go Vanity import path and listing of media files 3 months ago
notifications.go Use more strings.Builder instead of += for building queries etc. (more efficient) 2 months ago
opensearch.go More rendered titles 1 month ago
paths.go Refactor media storage, add support for FTP 3 months ago
paths_test.go Refactor media storage, add support for FTP 3 months ago
persistentCache.go Refactor time usages (use Format instead of String) 2 months ago
posts.go Fix formatting of contact messages 2 weeks ago
postsDb.go Improved TTS 1 week ago
postsDb_test.go Further improve post title rendering 1 month ago
postsFuncs.go Improved TTS 1 week ago
privateMode.go Reduce complexity of router build method 2 months ago
privateMode_test.go More tests 2 weeks ago
queue.go Refactor time usages (use Format instead of String) 2 months ago
regexRedirects.go Big refactoring: Avoid global vars almost everywhere 3 months ago
regexRedirects_test.go Tests for regex redirects 4 weeks ago
render.go Fix rendering Markdown title 1 month ago
robotstxt.go Reduce complexity of router build method 2 months ago
robotstxt_test.go Reduce complexity of router build method 2 months ago
search.go Fix formatting of contact messages 2 weeks ago
sessions.go Reduce complexity of router build method 2 months ago
shortDomain.go Add option to set extra address for media 2 months ago
shortPath.go Improve posts db 3 months ago
sitemap.go Sitemap indices with LastMod 4 weeks ago
staticFiles.go Big refactoring: Avoid global vars almost everywhere 3 months ago
taxonomies.go Reduce complexity of router build method 2 months ago
telegram.go Further improve post title rendering 1 month ago
telegram_test.go Further improve post title rendering 1 month ago
templateAssets.go Simple XSL stylesheet for sitemaps 1 month ago
templateStrings.go Big refactoring: Avoid global vars almost everywhere 3 months ago
tor.go Fix permissions 1 month ago
tts.go Improved TTS 1 week ago
utils.go Update dependencies 3 days ago
utils_test.go Update dependencies 3 days ago
webmention.go Use Golang toLower func for lower in queries, add webmention tests 1 month ago
webmentionAdmin.go Improve method to get relative and full addresses (first unit tests!) 3 months ago
webmentionSending.go Section option to show full post content on index & fixes 2 months ago
webmentionVerification.go Tests for regex redirects 4 weeks ago
webmention_test.go More tests 2 weeks ago

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