My blog codebase
Go to file
jdeeline 91b2efe9c9
fix: typo (#5)
2023-12-29 09:32:30 +01:00
.github fix: add CLUB_OPENID_CONFIG_SECRET to github ci 2023-03-08 14:51:22 +01:00
authn fix: force https 2023-03-08 14:18:58 +01:00
clickers fix: add index on clickers 2023-01-12 12:51:06 +01:00
comments feat: improve admin models 2023-01-12 17:59:45 +01:00
common Turn off mute 2023-06-15 22:47:44 +02:00
etc/nginx feat: redirect vas3k.ru -> vas3k.blog 2023-03-20 14:05:22 +01:00
frontend fix: typo (#5) 2023-12-29 09:32:30 +01:00
inside fix: html email version 2023-01-30 13:38:47 +01:00
notifications feat: add preview=1 to chat announcements 2023-01-27 15:03:27 +01:00
posts fix: send_new_post script 2023-01-30 12:58:21 +01:00
rss feat: add link ref=canonical 2023-01-12 17:43:46 +01:00
users feat: add sitemap 2023-01-17 10:23:23 +01:00
utils initial commit... 2023-01-10 16:00:15 +01:00
vas3k_blog fix: add CLUB_OPENID_CONFIG_SECRET to github ci 2023-03-08 14:51:22 +01:00
.env.example fix: add CLUB_OPENID_CONFIG_SECRET to github ci 2023-03-08 14:51:22 +01:00
.gitignore initial commit... 2023-01-10 16:00:15 +01:00
Dockerfile ci: fix poetry permissions 2023-01-10 18:58:11 +01:00
Makefile fix: add index on clickers 2023-01-12 12:51:06 +01:00
README.md fix: show 404 on non-existend post types 2023-01-17 10:11:33 +01:00
docker-compose.production.yml feat: OpenID auth via vas3k.club 2023-03-08 13:49:42 +01:00
docker-compose.yml initial commit... 2023-01-10 16:00:15 +01:00
manage.py initial commit... 2023-01-10 16:00:15 +01:00
poetry.lock feat: OpenID auth via vas3k.club 2023-03-08 13:49:42 +01:00
pyproject.toml feat: OpenID auth via vas3k.club 2023-03-08 13:49:42 +01:00

README.md

vas3k.blog

This repository contains the source code of my blog — https://vas3k.blog

It is completely custom and is not intended to be used as a universal blog engine. I keep his code here purely because why not. Open Source FTW!

⚠️ Use it at your own risk! I'm not responsible for any damages or your wasted time trying to get your blog up and running on this. Also, I don't provide any support for this code, sorry.

⚙️ Tech details

Backend:

  • Python 3.11+
  • Django 4+
  • PostgreSQL
  • Poetry as a package manager

Frontend:

  • htmx
  • Mostly pure JS, no webpack, no builders
  • No CSS framework

Blogging part:

CI/CD:

🏗️ How to build

If you like to build it from scratch:

$ pip3 install poetry
$ poetry install
$ poetry run manage.py migrate
$ poetry run manage.py runserver 8000

Don't forget to create an empty Postgres database called vas3k_blog or your migrations will fail.

Another option for those who prefer Docker:

$ docker-compose up

Then open http://localhost:8000 and see an empty page.

🤔 Contributions, etc

Well, like, who in their right mind contributes to other people's blogs? But feel free to use Github Issues if you want to repord bug or anything else :)

🧸 Repository mascot