WebMUN - some boilerplate for a generic MUN website. https://webmun.felipeqq2.rocks/
  • Go 50.9%
  • CSS 24.5%
  • HTML 23.5%
  • Shell 0.8%
  • JavaScript 0.3%
Find a file
Felipe Silva 8bb5077192
Improve examples
Move some images to repo (post images are still linked to Unsplash)
Remove unhelpful alt text
Change colors, and add comments
2023-06-30 21:25:32 -03:00
example Improve examples 2023-06-30 21:25:32 -03:00
helpers Add serve command 2023-05-01 10:27:13 -03:00
log Format 2023-05-01 08:25:37 -03:00
web Change button text color according to background contrast 2023-06-30 21:25:05 -03:00
.gitignore Add build.sh 2023-04-23 19:27:14 -03:00
build.sh Add build.sh 2023-04-23 19:27:14 -03:00
go.mod Add serve command 2023-05-01 10:27:13 -03:00
go.sum Add serve command 2023-05-01 10:27:13 -03:00
init.go Format 2023-05-01 08:25:37 -03:00
LICENSE Add LICENSE (ECL-2.0) 2023-03-01 20:04:49 -03:00
main.go Add serve command 2023-05-01 10:27:13 -03:00
README.md Renew infrastructure - use Go static website 2023-02-22 15:11:52 -03:00
serve.go Add serve command 2023-05-01 10:27:13 -03:00

WebMUN generator

  1. Run webmun init to initialize a new project at the current directory;
  2. Modify generated files (webmun.yaml, posts and assets) according to your specific needs;
  3. Run webmun generate to generate a brand-new static website at ./dist;
  4. 🌈

To-do

  • Add feed.xml;
  • Add sitemap;

This is a new version of a boilerplate repo built with SvelteKit. It worked ~OK, until things started to break with their updates (they were on alpha at the time). As it turns out, such a powerful framework also adds much unnecessary bloat and complexity to the application, delivering massive JS files (although much more performant if compared to others) and offering little benefits for such a small use case.

For now, unfortunately I'll lose features such as SCSS, Typescript and automatic JS/CSS bundling and processing, but it's a small price to pay for salvation (and I can always add them later if I really need to; adding new features just became much easier with this new setup).

I'm using two lines of JS for the whole website. I don't need such a framework at all.