Compare commits
3 Commits
3650683125
...
7860e8323b
| Author | SHA1 | Date | |
|---|---|---|---|
| 7860e8323b | |||
| 1b9f9293bf | |||
| 897b9d720d |
2
.env.example
Executable file
@@ -0,0 +1,2 @@
|
||||
PORT=48916
|
||||
DEV=true
|
||||
1
.gitignore
vendored
Normal file → Executable file
@@ -2,3 +2,4 @@ node_modules/
|
||||
private/
|
||||
*/private/
|
||||
package-lock.json
|
||||
.env
|
||||
|
||||
0
autoupdate.sh
Normal file → Executable file
0
blog/articles/ageverification.html
Normal file → Executable file
0
blog/testingtopic/verykewlblog.html
Normal file → Executable file
0
blog/testingtopic2/otherkewlblog.html
Normal file → Executable file
8
index.js
@@ -1,4 +1,5 @@
|
||||
// Import all the things
|
||||
require('dotenv').config();
|
||||
const axios = require('axios');
|
||||
const express = require('express');
|
||||
const fs = require('node:fs');
|
||||
@@ -28,7 +29,12 @@ const playlistId = 'PLnlTMS4cxfx3-et_L8APzpEgy_eCf18-U';
|
||||
/**
|
||||
* 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
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"license": "fuck you it's mine",
|
||||
"dependencies": {
|
||||
"axios": "^1.10.0",
|
||||
"dotenv": "^17.2.3",
|
||||
"ejs": "^3.1.10",
|
||||
"express": "^5.1.0",
|
||||
"sqlite3": "^5.1.7",
|
||||
|
||||
0
public/-.-.png
Normal file → Executable file
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
0
public/00.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
0
public/><.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
0
public/DIE.png
Normal file → Executable file
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
0
public/Dotdotdot.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
0
public/^^.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
0
public/activated.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
0
public/angy.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
0
public/base_full.png
Normal file → Executable file
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
0
public/blank.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
0
public/blank_full.png
Normal file → Executable file
|
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
0
public/dotDotdot.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
0
public/dotdotDot.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
0
public/dotdotdot.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
0
public/favicon.ico
Normal file → Executable file
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
0
public/hihi.png
Normal file → Executable file
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
0
public/loading.gif
Normal file → Executable file
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
0
public/piskelfile/-.-.piskel
Normal file → Executable file
0
public/piskelfile/00.piskel
Normal file → Executable file
0
public/piskelfile/><.piskel
Normal file → Executable file
0
public/piskelfile/DIE.piskel
Normal file → Executable file
0
public/piskelfile/Dotdotdot.piskel
Normal file → Executable file
0
public/piskelfile/^^.piskel
Normal file → Executable file
0
public/piskelfile/activated.piskel
Normal file → Executable file
0
public/piskelfile/angy.piskel
Normal file → Executable file
0
public/piskelfile/base.piskel
Normal file → Executable file
0
public/piskelfile/base_full.piskel
Normal file → Executable file
0
public/piskelfile/blank.piskel
Normal file → Executable file
0
public/piskelfile/blank_full.piskel
Normal file → Executable file
0
public/piskelfile/dotDotdot.piskel
Normal file → Executable file
0
public/piskelfile/dotdotDot.piskel
Normal file → Executable file
0
public/piskelfile/dotdotdot.piskel
Normal file → Executable file
0
public/piskelfile/hihi.piskel
Normal file → Executable file
0
public/piskelfile/question.piskel
Normal file → Executable file
0
public/piskelfile/sad.piskel
Normal file → Executable file
0
public/piskelfile/scared.piskel
Normal file → Executable file
0
public/question.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
0
public/robots.txt
Normal file → Executable file
0
public/sad.png
Normal file → Executable file
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
0
public/scared.png
Normal file → Executable file
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |