No description
Find a file
moonleay 1a43d8d5a3
Merged previous state
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
2024-01-20 19:15:45 +01:00
public Merged previous state 2024-01-20 19:15:45 +01:00
src Merged previous state 2024-01-20 19:15:45 +01:00
.dockerignore Merged previous state 2024-01-20 19:15:45 +01:00
.eslintrc.json Merged previous state 2024-01-20 19:15:45 +01:00
.gitignore Merged previous state 2024-01-20 19:15:45 +01:00
.prettierrc.json Merged previous state 2024-01-20 19:15:45 +01:00
discord_client_testing.http Merged previous state 2024-01-20 19:15:45 +01:00
Dockerfile Merged previous state 2024-01-20 19:15:45 +01:00
drizzle.config.ts Merged previous state 2024-01-20 19:15:45 +01:00
package.json Merged previous state 2024-01-20 19:15:45 +01:00
pnpm-lock.yaml Merged previous state 2024-01-20 19:15:45 +01:00
README.md Merged previous state 2024-01-20 19:15:45 +01:00
sample_conf.json Merged previous state 2024-01-20 19:15:45 +01:00
tsconfig.json Merged previous state 2024-01-20 19:15:45 +01:00
vite.config.ts Merged previous state 2024-01-20 19:15:45 +01:00

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

  1. Clone the repository:

    git clone https://git.moonleay.net/Websites/liljudd-website.git
    
  2. 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
    
  3. 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 Reference

    The 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

    liljudd.json -> liljudd.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! 🦑🎮