Skip to content

feat: Add BCOS Badge Generator page#1808

Open
HuiNeng6 wants to merge 1 commit intoScottcjn:mainfrom
HuiNeng6:badge-gen
Open

feat: Add BCOS Badge Generator page#1808
HuiNeng6 wants to merge 1 commit intoScottcjn:mainfrom
HuiNeng6:badge-gen

Conversation

@HuiNeng6
Copy link

Summary

  • Added BCOS Badge Generator page at /bcos/badge-generator.html
  • Static HTML/JS implementation with retro terminal aesthetics matching rustchain.org
  • Supports 3 badge styles: flat, flat-square, for-the-badge
  • Generates markdown and HTML embed code for README files
  • Integrates with /bcos/verify API for repository verification

Features

  • Enter repository URL or BCOS certificate ID
  • Live badge preview
  • One-click copy for markdown/HTML code
  • Responsive design for mobile devices
  • Matches rustchain.org terminal-style design

Testing

  • Open docs/bcos/badge-generator.html in browser
  • Enter a BCOS certificate ID (e.g., BCOS-abc123)
  • Select badge style and verify preview
  • Copy generated code to clipboard

Bounty

Solves Bounty #2292 - Badge Generator (15 RTC)

Wallet Address

9dRRMiHiJwjF3VW8pXtKDtpmmxAPFy3zWgV2JY5H6eeT

- Static HTML/JS page for generating BCOS badges
- Retro terminal style matching rustchain.org
- Supports 3 badge styles: flat, flat-square, for-the-badge
- Generates markdown and HTML embed code
- Wallet: 9dRRMiHiJwjF3VW8pXtKDtpmmxAPFy3zWgV2JY5H6eeT
@github-actions
Copy link

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Your PR has a BCOS-L1 or BCOS-L2 label
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

@github-actions github-actions bot added documentation Improvements or additions to documentation size/L PR: 201-500 lines labels Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/L PR: 201-500 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant