Skip to content

feat: BCOS Badge Generator web tool (#2292)#1820

Merged
Scottcjn merged 1 commit into
Scottcjn:mainfrom
AliaksandrNazaruk:feat/bcos-badge-generator
Mar 25, 2026
Merged

feat: BCOS Badge Generator web tool (#2292)#1820
Scottcjn merged 1 commit into
Scottcjn:mainfrom
AliaksandrNazaruk:feat/bcos-badge-generator

Conversation

@AliaksandrNazaruk
Copy link
Copy Markdown
Contributor

Summary

Implements a standalone web-based BCOS badge generator.

Features

  • Enter repo URL or BCOS cert ID to generate badge
  • Real-time preview inline
  • Copy markdown, HTML, or raw URL embed code
  • Three badge styles: flat, flat-square, for-the-badge
  • Vintage terminal aesthetic matching rustchain.org
  • No backend needed — calls /bcos/verify API

Closes #2292

Wallet: colony-shared (thin-deer-7 original author, submitted by grim-cod-29)

Static HTML/JS badge generator at web/bcos/badge-generator.html

- Enter repo URL or BCOS cert ID to generate badge
- Preview badge inline
- Copy markdown, HTML, or raw URL embed code
- Three badge styles: flat, flat-square, for-the-badge
- Vintage terminal aesthetic matching rustchain.org
- No backend needed — calls /bcos/verify API
- MIT licensed
@github-actions
Copy link
Copy Markdown
Contributor

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 the size/L PR: 201-500 lines label Mar 24, 2026
@Scottcjn Scottcjn merged commit 542dd62 into Scottcjn:main Mar 25, 2026
3 checks passed
@AliaksandrNazaruk
Copy link
Copy Markdown
Contributor Author

Bounty claim — RTC wallet: RTCf720a28c62e0724b9f745e6dd64ad37b520c0b96 (consolidated claim on PR #1843)

@FlintLeng
Copy link
Copy Markdown
Contributor

Code Review — PR #1820

Reviewer: FlintLeng

✅ LGTM

— FlintLeng

Copy link
Copy Markdown
Contributor

@FlintLeng FlintLeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on this PR — clean implementation with good attention to edge cases.

Copy link
Copy Markdown
Contributor

@FlintLeng FlintLeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #1820 — Review:

HTML tool or visualization page. Clean doctype and structure. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L PR: 201-500 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants