Skip to content

Web based Soundboard - Playing blips of sounds and videos - IDEA from GER TV series TV Total

License

Notifications You must be signed in to change notification settings

zwoefler/Nippleboard

Repository files navigation

Nippleboard

A soundboard that plays sounds from either local storage or a Supabase cloud database.

✨ Features

  • Toggle between local storage or Supabase cloud store
  • Basic search feature to locate sounds by name.

🛠 Install & Use

Prerequisites:

  • node
  • .env file with VITE_APP_SUPABASE_URL and VITE_APP_SUPABASE_ANON_KEY
  • .env file also includes VITE_DB_PATH, VITE_STORAGE_BUCKET, VITE_STORAGE_BUCKET_FOLDER

Find the settings in the Supabase project. Project Settings > API:

  • URL
  • Project API keys > anon public
VITE_APP_SUPABASE_URL=<SUPABASE-URL>
VITE_APP_SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY>
VITE_DB_PATH=assets
VITE_STORAGE_BUCKET=assets
VITE_STORAGE_BUCKET_FOLDER=assets

🚂 Getting Started:

git clone https://github.com/zwoefler/nippleboard.git
cd nippleboard

npm install
npm run dev

Note: Uses Supabase storage to store sounds. See Dev Docs on how to setup your dev environment

🤝🏽 Contributing

  1. 📝 Update Changelog:
  • Format: ## [x.y.z-alpha] - Abbreviation DAY dd.mm.yyyy
  • One-liner summary of changes.
  • List changes. Use tripple .md heading to prefix changes (e.g. ### Added or ### Fixed).
  1. 🔖 Update package.json:
  • Bump the version.
  1. 📬 Commit Changes:
  • Paste CHANGELOG.md entry. Remove "#"s:
git commit -am "<Paste changelog message>"
  1. 🏷️ Tag and Push Changes:
git tag -a x.y.z-alpha -m 'MVP Version x.y.z-alpha'
git push origin <BRANCH-NAME>
git push origin <TAG>

Setup GitHub Action for Deployment to GitHub Pages

Step 1: Activate GitHub Pages

  • Navigate to GitHub Repository Settings:
  • Click on the Settings Tab
  • Click Pages
  • Select Source: GitHub Actions

Step 2: Set Branches to publish from

  • In Settings:
  • Click Environments
  • Click "github-pages"
  • Below the list in "Deployment branches and tags" "Add deployment branch or tag rule"
  • Type "develop" (The branch used here)
  • Click add rule

Step 3: Set Environment Variables / Secrets

  • In Settings:
  • Click "Secrets and variables" > Actions
  • Click "New repository secret"
  • Add ONE (VITE_APP_SUPABASE_URL) variable from your .env file and paste the content in the larger text field below
  • Click "Add secret"
  • Repeat for all your variables (VITE_APP_SUPABASE_ANON_KEY)

Ensure these names match those used in your .github/workflows/deploy_to_github_pages.yaml file.

Step 4: Verify Workflow and Deployment

  • Ensure .github/workflows/deploy_to_github_pages.yaml is present.

About

Web based Soundboard - Playing blips of sounds and videos - IDEA from GER TV series TV Total

Resources

License

Stars

Watchers

Forks