Source code for https://vlw.se
Find a file
Victor Westerlund 55a8234800 refactor: move CSS and JS assets to directory in project root (#72)
In this PR we move all of the CSS and JavaScript assets from the public assets directory to a new directory in the project root. The main reason for this is that I would like to believe this makes them easier to find. Since all CSS and JS is bundled with each page anyways there is no need to access these directly from a public directory. The main argument against this I think would be "transparency". We already run this site with `display_php_source=true` in Vegvisir (so page source code can be inspected by appending `.php` to the end of a url. But there is of course no reason to trust that it's the actual source code.

Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/72
2026-04-05 12:18:10 +02:00
api fix: enable strict parameter checks for /coffee POST endpoint (#51) 2025-08-30 08:27:36 +02:00
assets refactor: move CSS and JS assets to directory in project root (#72) 2026-04-05 12:18:10 +02:00
public refactor: move CSS and JS assets to directory in project root (#72) 2026-04-05 12:18:10 +02:00
reflect@8119464c1d chore: bump Reflect to 2.9.0 and Vegvisir to 3.3.1 (#57) 2025-11-08 19:12:53 +01:00
src fix: add array for defining Forgejo languages to merge (#61) 2026-01-18 10:26:02 +01:00
vegvisir@08758c560f chore: bump Vegvisir to 3.7.0 (#69) 2026-03-28 13:18:19 +01:00
.env.example.ini refactor: database models and views inc. bump to PHP 8.4 (#46) 2025-08-02 13:30:23 +02:00
.gitignore refactor: database models and views inc. bump to PHP 8.4 (#46) 2025-08-02 13:30:23 +02:00
.gitmodules refactor: database models and views inc. bump to PHP 8.4 (#46) 2025-08-02 13:30:23 +02:00
composer.json chore: lock implicit package updates to patches only (#68) 2026-03-14 08:29:44 +01:00
composer.lock chore: lock implicit package updates to patches only (#68) 2026-03-14 08:29:44 +01:00
install.sh feat(content): export static database data for version control and seeding (#54) 2025-11-08 19:12:33 +01:00
LICENSE feat: release 1.0.0 (#1) 2024-04-01 10:22:25 +00:00
README.md feat: add install script (#48) 2025-08-07 13:00:10 +02:00

vlw.se

This is the source code behind vlw.se which is my personal website that I have written and designed from the ground up. The website is built on top of my own Vegvisir web framework and its optional REST API is built on top of my Reflect API framework.

Installation

Here's how you get my website up and running on your own machine. Note, I have only tested this on Linux and the install script we will run requires Bash with coreutils installed.

Prerequisites

  • A web server
  • A MariaDB/MySQL server
  • PHP 8.4 or newer with the following extensions enabled:
    • php8.4-mysql
    • php8.4-mbstring
  • The composer package manager
  • Bash with coreutils installed (for the install script)

1. Clone this repo

Clone this repository with its submodules. Preferably to a non-public directory - the frameworks will handle that.

git clone https://codeberg.org/vlw/vlw.se --recurse-submodules --depth 1

2. Run the install script

Run the install.sh script from the root directory of this repository.

./install.sh

This script will install and configure Vegvisir, Reflect, and the website through a few propmpted steps.