Compare commits

...

3 Commits

Author SHA1 Message Date
7860e8323b Merge pull request 'add dotenv' (#1) from dev into main
Reviewed-on: #1
2026-01-19 01:47:51 -05:00
1b9f9293bf add dotenv 2026-01-19 01:41:43 -05:00
897b9d720d initial commit for dev branch 2026-01-19 01:31:10 -05:00
53 changed files with 11 additions and 1 deletions

2
.env.example Executable file
View File

@@ -0,0 +1,2 @@
PORT=48916
DEV=true

1
.gitignore vendored Normal file → Executable file
View File

@@ -2,3 +2,4 @@ node_modules/
private/ private/
*/private/ */private/
package-lock.json package-lock.json
.env

0
autoupdate.sh Normal file → Executable file
View File

0
blog/articles/ageverification.html Normal file → Executable file
View File

0
blog/testingtopic/verykewlblog.html Normal file → Executable file
View File

0
blog/testingtopic2/otherkewlblog.html Normal file → Executable file
View File

View File

@@ -1,4 +1,5 @@
// Import all the things // Import all the things
require('dotenv').config();
const axios = require('axios'); const axios = require('axios');
const express = require('express'); const express = require('express');
const fs = require('node:fs'); const fs = require('node:fs');
@@ -28,7 +29,12 @@ const playlistId = 'PLnlTMS4cxfx3-et_L8APzpEgy_eCf18-U';
/** /**
* Port that nginx proxies to public * Port that nginx proxies to public
*/ */
const port = 48915; const port = process.env.PORT || 48915;
/**
* Are we prod or dev
*/
const dev = process.env.DEV || false;
// Helper functions I've made to do things and stuff :P // Helper functions I've made to do things and stuff :P

View File

@@ -7,6 +7,7 @@
"license": "fuck you it's mine", "license": "fuck you it's mine",
"dependencies": { "dependencies": {
"axios": "^1.10.0", "axios": "^1.10.0",
"dotenv": "^17.2.3",
"ejs": "^3.1.10", "ejs": "^3.1.10",
"express": "^5.1.0", "express": "^5.1.0",
"sqlite3": "^5.1.7", "sqlite3": "^5.1.7",

0
public/-.-.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

0
public/00.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

0
public/><.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

0
public/DIE.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

0
public/Dotdotdot.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

0
public/^^.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

0
public/activated.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

0
public/angy.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

0
public/base_full.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

0
public/blank.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

0
public/blank_full.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

0
public/dotDotdot.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

0
public/dotdotDot.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

0
public/dotdotdot.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

0
public/favicon.ico Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

0
public/hihi.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

0
public/loading.gif Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

0
public/piskelfile/-.-.piskel Normal file → Executable file
View File

0
public/piskelfile/00.piskel Normal file → Executable file
View File

0
public/piskelfile/><.piskel Normal file → Executable file
View File

0
public/piskelfile/DIE.piskel Normal file → Executable file
View File

0
public/piskelfile/Dotdotdot.piskel Normal file → Executable file
View File

0
public/piskelfile/^^.piskel Normal file → Executable file
View File

0
public/piskelfile/activated.piskel Normal file → Executable file
View File

0
public/piskelfile/angy.piskel Normal file → Executable file
View File

0
public/piskelfile/base.piskel Normal file → Executable file
View File

0
public/piskelfile/base_full.piskel Normal file → Executable file
View File

0
public/piskelfile/blank.piskel Normal file → Executable file
View File

0
public/piskelfile/blank_full.piskel Normal file → Executable file
View File

0
public/piskelfile/dotDotdot.piskel Normal file → Executable file
View File

0
public/piskelfile/dotdotDot.piskel Normal file → Executable file
View File

0
public/piskelfile/dotdotdot.piskel Normal file → Executable file
View File

0
public/piskelfile/hihi.piskel Normal file → Executable file
View File

0
public/piskelfile/question.piskel Normal file → Executable file
View File

0
public/piskelfile/sad.piskel Normal file → Executable file
View File

0
public/piskelfile/scared.piskel Normal file → Executable file
View File

0
public/question.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

0
public/robots.txt Normal file → Executable file
View File

0
public/sad.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

0
public/scared.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

0
views/art.ejs Normal file → Executable file
View File

0
views/blog.ejs Normal file → Executable file
View File

0
views/editor.ejs Normal file → Executable file
View File

0
views/sourceviewer.ejs Normal file → Executable file
View File

0
views/template.ejs Normal file → Executable file
View File