silliest site on the web*

Files
README.md

novassite.net #

The silliest site on the web* #

novassite has been my primary project since december 1st 2021, this site has been my method of learning many different ways of doing code.

this current revision is written in astrojs and uses expressjs as the backend

this site is designed to be hosted myself and also acts as a discord bot in order to grab my discord presence

this project does not work off of releases, the current commit is the current version that should be expected to be public.

this is also a personal passion project so do not expect the code to be nice and commented.

Official Mirrors #

all mirrors have git lfs issues, i dont know how to fix it besides just manually pushing every once and awhile 😦

these are the official mirrors of novassite. i have my own forgejo instance which serves as the master

if anything is done outside the master it will be entirely ignored

these mirrors only exist to make sure the sites source is always avalible and to make sure its easy to switch if needed.

Older Repo #

a few commits ago i chose to move all assets to GIT LFS, this process was obviously very destructive and killed alot of the history i had built up for these assets

so i totally on purpose chose to keep the old gitlab edition up as i re synced the git-lfs version back everywhere (dont think about why its only gitlab shut up.)

How to run #

Command What it does
pnpm run build builds astro page
pnpm run dev astro dev mode (no server functions)
pnpm run netlify dev netlify dev mode (netlify server functions only)
node server.js run the server with node (must build pages first)

.env #

this is where all the api keys and other config goes

dont expect anything to help you if you forget to set it (im lazy)

example #

an easy example config for you to copy and paste

PORT=8080
STEAM_API_KEY=
LASTFM_API_KEY=
OPENWEATHER_API_KEY=
PRESENCE_USERID=
PRESENCE_GUILDID=
DISCORD_API_KEY=
DISCORD_BOT_CLIENTID=
JOINCHANNEL=
LOGCHANNEL=
DEVMODE=
NOVASSITE=true
HONEYPOT=
INVITE_CHANNEL=

explanation #

Key What it does where to get
PORT port for the website right above this
STEAM_API_KEY steam API key https://steamcommunity.com/dev/apikey
LASTFM_API_KEY Last.FM API Key https://www.last.fm/api/authentication
OPENWEATHER_API_KEY Open Weather Map API Key https://home.openweathermap.org/api_keys
PRESENCE_USERID Primary User ID that will be assumed to be websites owner. https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID
PRESENCE_GUILDID Primary Guild ID that will be used to grab any/all info https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID
DISCORD_API_KEY Discord Bot Token no guide avalible officially????
DISCORD_BOT_CLIENTID Discord Bots Client ID again no guide ig??
JOINCHANNEL Discord Channel where joins/leaves will be logged https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID
LOGCHANNEL Discord Channel where things will be logged https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID
DEVMODE weather to enable devmode or not true (must be lowercase, dont enter false for the checks are ass.)
NOVASSITE sets novabot to run in novassite mode
HONEYPOT sets honeypot channel https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID
INVITE_CHANNEL sets the channel for invite generation https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID

Licenses #

Note

i am an induvidual and do not profit from this site, any profits gained are given to me as an induvidual and not as a developer of this website.

Important

if you are a copyright owner and believe that i have infringed on your works contact me at takedown@novassite.net

How things are liscensed #

this sites source code is provided under the GNU General Public License (Version 3)
however assets fall under their own copyright and cannot be redistributed or modified without express permission from me.

Source Code #

falls under GNU General Public License (Version 3)
you are free to copy, edit, and view this code or use it however you please.
however any published variants must be provided with the same license.

Assets #

assets include anything that isnt code such as images, videos, fonts, sound effects and other binary files.

everything under git lfs should automatically be assumed to be an asset.