Go to file
Yanislav Igonin 2ee326d5f4 lint
2022-05-21 13:29:10 +03:00
.github/workflows feat: artifacts live for 1 day 2021-11-20 23:00:18 +02:00
build Refactoring - Fiber (#14) 2022-04-09 15:16:09 +03:00
config Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
controllers feat: add redirect on post after post creation 2022-04-11 11:19:19 +03:00
db trying vegeta load testing 2022-05-18 10:23:35 +03:00
files Feature - Migrator (#3) 2021-11-17 11:44:12 +03:00
gateway Refactoring - Fiber (#14) 2022-04-09 15:16:09 +03:00
migrations Feature - Threads archivation (#4) 2021-11-20 20:13:05 +03:00
repositories trying vegeta load testing 2022-05-18 10:23:35 +03:00
static feat: resize images 2022-04-14 11:44:18 +03:00
templates feat: add redirect on post after post creation 2022-04-11 11:19:19 +03:00
tests lint 2022-05-21 13:29:10 +03:00
utils fix: parent id get for html template 2022-02-03 17:22:46 +02:00
.env.example Refactoring - Fiber (#14) 2022-04-09 15:16:09 +03:00
.gitignore trying vegeta load testing 2022-05-18 10:23:35 +03:00
docker-compose.yml add middleware to traefik 2022-02-28 11:54:14 +02:00
Dockerfile fix: add migrations to build 2021-11-18 00:26:28 +02:00
go.mod feat: update deps 2022-04-10 11:41:11 +03:00
go.sum feat: update deps 2022-04-10 11:41:11 +03:00
LICENSE license 2022-02-09 12:23:06 +02:00
main.go change limiter enabling 2022-05-18 10:45:53 +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.