4 Commits

Author SHA1 Message Date
1a73732f7c gaming tips
All checks were successful
App Image CI / Build app image (push) Successful in 55s
NPM Audit Check / Check NPM audit (push) Successful in -2m7s
2025-10-27 11:16:23 -05:00
cf43cdcf22 v0.0.4
All checks were successful
NPM Audit Check / Check NPM audit (push) Successful in -2m8s
App Image CI / Build app image (push) Successful in 57s
2025-10-27 00:29:28 -05:00
4dbf6a4ae6 traffic logging
Some checks failed
NPM Audit Check / Check NPM audit (push) Has been cancelled
App Image CI / Build app image (push) Has been cancelled
2025-10-27 00:28:54 -05:00
617cffc052 update flyers
All checks were successful
App Image CI / Build app image (push) Successful in 33s
NPM Audit Check / Check NPM audit (push) Successful in -2m8s
2025-10-24 11:25:23 -05:00
7 changed files with 24 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "madisonlinux",
"version": "0.0.3",
"version": "0.0.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "madisonlinux",
"version": "0.0.3",
"version": "0.0.5",
"license": "MIT",
"dependencies": {
"ejs": "3.1.10",

View File

@@ -1,6 +1,6 @@
{
"name": "madisonlinux",
"version": "0.0.3",
"version": "0.0.5",
"description": "Website for upcoming Linux install party in Madison WI",
"keywords": [
"web",

View File

@@ -3,7 +3,7 @@ import crypto from 'crypto';
import express from 'express';
import bodyParser from 'body-parser';
import type { Express } from 'express';
import { createEvent} from 'ics';
import { createEvent } from 'ics';
interface WebConfig {
port?: number;
@@ -56,7 +56,13 @@ class Web {
res.send('Healthy');
});
app.get('/', (_, res) => {
app.get('/', (req, res) => {
if (req.query?.['utm_medium']) {
console.log(`${req.query['utm_medium']} | ${req.headers?.['user-agent']}`);
}
else {
console.log(req.headers?.['user-agent']);
}
res.render('index', {
page: {
title: 'Madison End of 10 Install Party',
@@ -93,7 +99,7 @@ class Web {
organizer: { name: 'Cory Sanin', email: 'endof10@cory.sanin.dev' },
method: 'REQUEST'
}, (err, s) => {
if(err) {
if (err) {
console.error(err);
res.status(500).send('something went wrong.');
return;
@@ -105,6 +111,11 @@ class Web {
});
});
app.use(function (req, res, _) {
console.log(`404: ${req.url} requested by ${req.ip} "${req.headers['user-agent']}"`);
res.redirect('/');
});
this._webserver = this.app.listen(this.port, () => console.log(`madisonlinux is running on port ${this.port}`));
}

View File

@@ -35,6 +35,13 @@
</ul>
</p>
<h2>Gaming Focused</h2>
<p>
Before migrating from Windows to Linux, please consult <a href="https://www.protondb.com/">ProtonDB</a> to verify
the games you want to play run in Linux. If you play competitive games that utilize anti-cheat,
<a href="https://areweanticheatyet.com/">Are We Anti-Cheat Yet?</a> is also a handy resource. Compatibilty is quite
strong these days, but since it's not 100% it's better to know ahead than to be blindsided when your favorite games
won't start up.
</p>
<p>
For gaming-focused PC's, of course most general purpose distros will do. However, there are a couple
options worth your consideration.