Go to file
2022-02-28 11:32:11 +02:00
.github/workflows feat: artifacts live for 1 day 2021-11-20 23:00:18 +02:00
build fix: css renaming for recursively structured folders 2022-02-02 11:49:49 +02:00
config Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
controllers feat: disable captcha for local dev 2022-02-09 09:18:51 +02:00
db feat: little refactoring 2022-01-21 01:24:30 +02:00
files Feature - Migrator (#3) 2021-11-17 11:44:12 +03:00
gateway Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
migrations Feature - Threads archivation (#4) 2021-11-20 20:13:05 +03:00
repositories fix: BumpThreadInTx method 2022-02-03 18:28:22 +02:00
static Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
templates Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
utils fix: parent id get for html template 2022-02-03 17:22:46 +02:00
.env.example Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
.gitignore feat: add rate limiter 2021-09-08 16:56:03 +03:00
docker-compose.yml add slash for prefix 2022-02-28 11:32:11 +02:00
Dockerfile fix: add migrations to build 2021-11-18 00:26:28 +02:00
go.mod Feature - Migrator (#3) 2021-11-17 11:44:12 +03:00
go.sum Feature - Migrator (#3) 2021-11-17 11:44:12 +03:00
LICENSE license 2022-02-09 12:23:06 +02:00
main.go Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
Makefile Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
README.md docs 2022-02-06 19:40:21 +02:00

micrach

Go tryout. Single board imageboard.

Motivation

Tired of a fucking SPAs, so I decided to write this simple and lightweight imageboard (microboard, actually) with as less JS as possible.
Also, I wanted to learn Go, so I decided to write this in Go.

Maybe I'll add an api and create a SPA with the Next.js framework in the future, but right now I'm trying to make this as simple as possible.

Prerequisites

  1. Go 1.13+.
  2. PostgreSQL.
  3. Create .env file from .env.example, change env vars to your needs.
  4. Create db with the name that is specified in .env file in POSTGRES_URL env var.

Run

Just run:

go run main.go

In development I prefer to run it with fresh for live reload.