Back to rankings

andrewsbarbaro/for-the-badge

Vueforthebadge.com

It all started because of an obsession with two words: “build passing”. It all ended with this: badges, for badges’ sake.

badgesbadges-generatorbadges-githubforthebadgesvg
Star Growth
Stars
1.8k
Forks
145
Weekly Growth
Issues
1
1.8k
May 26May 26Jun 26Jul 26
README

For the Badge

Built with Nuxt Deployed on Cloudflare License: MIT Open Collective

Badges for badges' sake.

🌐 Live Site: forthebadge.com

Features

  • 🎨 Custom Badge Creator - Design badges with custom text, colors, and icons
  • 📦 Pre-made Badges - Browse a library of ready-to-use badges
  • 🏆 Developer Awards - Earn and display achievement badges
  • 👤 User Accounts - Save and manage your badge collections
  • 🔗 Easy Sharing - Copy badge URLs or download as images

Tech Stack

Getting Started

Prerequisites

Installation

# Enable Corepack for Yarn
corepack enable

# Clone the repository
git clone https://github.com/forthebadge/for-the-badge.git
cd for-the-badge

# Install dependencies
yarn install

# Copy environment variables
cp .env.example .env
# Edit .env with your values

Development

# Start development server
yarn dev

The app will be available at http://localhost:3000.

Building

# Build for production
yarn build

# Preview production build locally
yarn preview

Configuration

Environment Variables

See .env.example for all available configuration options.

Required variables:

  • NUXT_SESSION_PASSWORD - Session encryption password
  • PASSWORD_PEPPER - Additional password hashing security
  • ACCOUNT_HMAC_SECRET - HMAC secret for account operations
  • BADGE_ENCRYPTION_KEY - Encryption key for badge data
  • REFERRAL_SQIDS_ALPHABET - Alphabet for generating referral IDs

Cloudflare Setup

  1. Create a D1 database:

    wrangler d1 create forthebadge
    
  2. Create a KV namespace:

    wrangler kv:namespace create KV
    
  3. Update wrangler.jsonc with your database and KV IDs

  4. Set secrets:

    wrangler secret put NUXT_SESSION_PASSWORD
    wrangler secret put PASSWORD_PEPPER
    wrangler secret put ACCOUNT_HMAC_SECRET
    wrangler secret put BADGE_ENCRYPTION_KEY
    wrangler secret put REFERRAL_SQIDS_ALPHABET
    

Scripts

Command Description
yarn dev Start development server
yarn build Build for production
yarn preview Preview production build
yarn test Run tests
yarn test:coverage Run tests with coverage
yarn db:generate Generate database migrations
yarn security:check Run security audits

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Security

For security concerns, please see SECURITY.md.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you find For the Badge useful, consider supporting us on Open Collective.

Acknowledgments

Related repositories
alexandresanlim/Badges4-README.md-Profile

:octocat: Improve your README.md profile with these amazing badges.

MarkdownMIT Licenseiconicons
alexandresanlim.github.io/Badges4-README.md-Profile/
13.3k1.7k
PanXProject/awesome-certificates

Curated list of 20,000+ hours and 200+ free courses with certificates in IT, CS, Design and Business.

Creative Commons Zero v1.0 Universalbadgescertificate
panx.io/awesome-certificates/
5.1k422
Schweinepriester/github-profile-achievements

A collection listing all Achievements available on the GitHub profile 🏆

MarkdownMIT Licensegithubgithub-profile
5.1k452
Naereen/badges

:pencil: Markdown code for lots of small badges :ribbon: :pushpin: (shields.io, forthebadge.com etc) :sunglasses:. Contributions are welcome! Please add yours!

MakefileMIT Licenseforthebadgebadges
naereen.github.io/badges/
4.6k541
drknzz/GitHub-Achievements

🔥 A Complete List of GitHub Profile Badges and Achievements 🔥

MarkdownMIT Licenseachievementachievements
drknzz.github.io/GitHub-Achievements/
3k303
wei/socialify

💞 Socialify your project. 🌐 Share with the world!

TypeScriptnpmMIT Licensesocialgithub
socialify.git.ci
2.2k123
Thinkright20/Profile-Badges

🛡️ A list of all profile badges and how to obtain each one 🛡️

MIT Licenseachievementsbadge
2.1k251
inttter/md-badges

An extensive list of Shields.io badges.

MarkdownMIT Licensemarkdownshields-io
inttter.github.io/md-badges/
2k148
illacceptanything/illacceptanything

The project where literally anything* goes.

RubyRubyGemsMIT Licensepypihtml
2k590
envoy1084/awesome-badges

😎 A curated list of GitHub badges for your next project

MIT Licenseawesomeawesome-lists
envoy-vc.github.io/awesome-badges/
1.5k149
Droppers/AnimatedBottomBar

A customizable and easy to use BottomBar navigation view with sleek animations, with support for ViewPager, ViewPager2, NavController, and badges.

KotlinMIT Licensekotlinandroid
1.5k109
Envoy-VC/awesome-badges

😎 A curated list of GitHub badges for your next project

MIT Licenseawesomeawesome-lists
envoy-vc.github.io/awesome-badges/
1.3k135