Skip to content
프로젝트

소개

모든 것은 “빌드 통과”라는 두 단어에 대한 집착에서 시작되었습니다. 그리고 결국 탄생한 것은 배지를 위한 배지였습니다.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
+3

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

For the Badge

Built with Nuxt Deployed on Cloudflare License: MIT Open Collective

Badges for badges' sake.

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
  • 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

관련 프로젝트 살펴보기

불러오는 중…