moonleay
1a43d8d5a3
big bang v2? feat: finished with html (pretty much) started with css fix: fixed issues with the footer feat: added basic responsive design chore: moved to pnpm, improved footer feat: kinda finished homepage Init astro Add prettier Add import pahts Migrate Layout Move Files to new location Move Layout style Migrate Components Migrate all routes Added sass and migrated styles fix: moved scss and css to seperate file, fixed overflow chore: added folders to gitignore Signed-off-by: moonleay <contact@moonleay.net> feat: copyright notice now shows its clickableness chore: merged chore/fix-astro into master Add astro dependencies for build WIP: temp commit in case my laptop explodes WIP: fixed typos, added links, added text to about WIP: continued work on the feature page WIP: changes Chore: grid on features page WIP: further improvement of features page WIP: added CSS to how-do-i page, stack page, edited about page, edited links in footer, edited invite-link in header WIP: removed bg image from feature page WIP: improved css all around, started fixing features page fix: features page WIP: fixed typos on about page, wrapped acknowledgements with div, fixed typo in features, added new line in how-do-i footer, edited imprint formatting, updated privacy-policy and terms-of-service, updated about page css, styled acknowledgements page, added color to links on contact page, edited how-do-i style, added css to imprint, added css to privacy-policy, edited style of the stack page, added css to terms-of-service page feat: added docker support fix: centered image on stack page feat: added support server to contact page chore: edit privacy-policy formatting feat: added Discord Support server link into footer feat: made mobile screenshots appear on the mobile how-do-i page fix: fixed features page overflowing on chrome chore: bump version feat: improve footer Moved files to prepare for solid-start migration chore: squashed some commits, which are not for public viewing fix: fixed ImageSection being broken on mobile feat: added proper imprint feat: added name to privacy-policy feat: bump version fix: fixed footer not rendering correct on some mobile devices chore: bump version feat: imported html from Config repo Updated packages Migration from astro to solid-start Add database and auth Add discord rest testing Database schema rework API meeting progress Fix styles Add docker Add local assets Improved docker workflow feat: added styling to config page Fix: schema, move favicon and config page Update solid-start style: login and config working feat: complete last commit chore: Create Readme |
||
---|---|---|
public | ||
src | ||
.dockerignore | ||
.eslintrc.json | ||
.gitignore | ||
.prettierrc.json | ||
discord_client_testing.http | ||
Dockerfile | ||
drizzle.config.ts | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
sample_conf.json | ||
tsconfig.json | ||
vite.config.ts |
li'l Judd - Competitive Splatoon Bot
Welcome to li'l Judd, your go-to bot for enhancing your competitive Splatoon experience! Whether you're looking for match statistics, team coordination, or general Splatoon information, li'l Judd has got you covered.
Features
- Match Statistics: Track and analyze your Splatoon matches to improve your gameplay.
- Team Coordination: Plan strategies and coordinate with your team more effectively.
- General Splatoon Information: Get information about weapons, maps, and game updates.
Getting Started
To get started with li'l Judd, follow the instructions below.
Prerequisites
- Node.js and pnpm installed (pnpm is strongly recommended for local development)
- Docker (optional, for containerized deployment)
- A Font Awesome subscription (required for the paid version used)
Installation
-
Clone the repository:
git clone https://git.moonleay.net/Websites/liljudd-website.git
-
Install dependencies:
cd lil-judd # Install pnpm if not already installed npm i -g pnpm # Add token to authenticate when using installing Font Awesome packages echo "@fortawesome:registry=https://npm.fontawesome.com/" > ~/.npmrc echo "//npm.fontawesome.com/:_authToken=<YOUR_TOKEN>" >> ~/.npmrc pnpm install
-
Set up environment variables:
Create a
.env
file in the root directory and add the following variables:VITE_DISCORD_CLIENT=your_discord_client_id VITE_DISCORD_CLIENT_SECRET=your_discord_client_secret VITE_DISCORD_BOT_TOKEN=your_discord_bot_token VITE_AUTH_SECRET=your_auth_secret VITE_DATABASE_URL=your_database_url
Development
Specify
VITE_AUTH_REDIRECT_PROXY_URL
only if necessary, particularly when setting up a reverse proxy to test authentication with callbacks to your development box. Auth.js Docs ReferenceThe duplicate
DATABASE_URL
is only needed for Drizzle Studio.VITE_AUTH_REDIRECT_PROXY_URL=your_auth_redirect_proxy_url DATABASE_URL=your_database_url
Usage
-
Run development server:
pnpm dev # Use --host if you have set up a reverse proxy to test auth with callback to your dev box pnpm dev --host
-
Build for production:
pnpm build
-
Start production server:
pnpm start
-
Generate openapi types from specs:
openapi.json (from discord-api-spec repo) -> discord.d.ts
pnpm discord-openapi-gen pnpm liljudd-openapi-gen
Drizzle Studio:
Explore the database with ease through the intuitive web-based interface of Drizzle Studio, offering a visual and user-friendly way to interact with the data behind the scenes.
pnpm drizzle-studio
-
Docker Container:
docker build --build-arg FONT_AWESOME_TOKEN=<YOUR_TOKEN> -t $image_name .
Contributing
If you'd like to contribute to li'l Judd, feel free to open an issue or submit a pull request. Your contributions are highly appreciated!
License
This project is licensed under the MIT License.
Happy splatting! 🦑🎮