Sign inSign up

guyneale/switch-library

By guyneale

Updated about 1 year ago

Image
0

501

guyneale/switch-library repository overview

Switch Game Library

A simple, self-contained, and self-hosted web application for managing and tracking a shared library of physical Nintendo Switch games among friends and family.

✨ Features

  • Simple User Authentication: Secure login system with hashed passwords.
  • User Roles:
    • admin: Can manage users and their lock status.
    • user: Can manage their own games and profile settings.
  • Dynamic Game Library Dashboard: A clean, responsive grid view of all games, showing box art, title, owner, and current status (Available or Borrowed). Filter the view to see all games or just the ones you own.
  • API-Powered Game Adding: Search for games using the RAWG.io API to automatically fetch titles, descriptions, and box art.
  • Manual Fallback: If a game isn't found via the API, you can add it manually with placeholder details.
  • Game Management:
    • Add new games you own to the library.
    • Mark your games as borrowed by another user.
    • Mark your games as available again.
    • Delete games you own from the library.
  • User Account Management:
    • Update your profile with a first name and gamer tag.
    • Change your own password.
  • Admin Panel: A dedicated page for admin users to create new user accounts and lock or unlock existing user accounts.
    • Locked users cannot log in but can still be selected as a borrower.
  • Containerized: Easily deployable anywhere using Docker.

🔑 Default Credentials

An admin user is created by default when the database is initialized.

  • Username: admin
  • Password: switch

You can create new users via the Admin Panel after logging in.

Tag summary

Content type

Image

Digest

sha256:432e67454

Size

23.6 MB

Last updated

about 1 year ago

docker pull guyneale/switch-library