Skip to content

Commit 35d7b18

Browse files
wesmclaude
andcommitted
feat: Add professional badges and fix badge lightbox issue
Added professional shields.io badges to README and documentation homepage, and fixed the lightbox JavaScript to exclude badges from clickable image handling. Changes: - README.md: Added PyPI, Python version, MIT License, and GitHub stars badges - docs/index.md: Added same badge set - docs/javascripts/lightbox.js: Exclude shields.io and badge URLs from lightbox (badges now click through to their links) Badge links: - PyPI badge → PyPI package page - Python badge → Python downloads - License badge → MIT license info - GitHub stars → Main repo page (for starring) This makes the project look more professional and makes it easy for users to star the repo, check the package on PyPI, etc. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4eac889 commit 35d7b18

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# moneyflow
22

3+
[![PyPI version](https://img.shields.io/pypi/v/moneyflow?color=blue)](https://pypi.org/project/moneyflow/)
4+
[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6+
[![GitHub stars](https://img.shields.io/github/stars/wesm/moneyflow?style=social)](https://github.com/wesm/moneyflow)
7+
38
**Track your moneyflow from the terminal.**
49

510
A keyboard-driven terminal UI for managing personal finance transactions. Built for users who prefer efficiency and direct control over their financial data.

docs/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# moneyflow [![GitHub stars](https://img.shields.io/github/stars/wesm/moneyflow?style=social)](https://github.com/wesm/moneyflow/stargazers)
1+
# moneyflow
2+
3+
[![PyPI version](https://img.shields.io/pypi/v/moneyflow?color=blue)](https://pypi.org/project/moneyflow/)
4+
[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6+
[![GitHub stars](https://img.shields.io/github/stars/wesm/moneyflow?style=social)](https://github.com/wesm/moneyflow)
27

38
**Terminal UI for personal finance power users**
49

docs/javascripts/lightbox.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
// Skip if already processed
8585
if (img.classList.contains('lightbox-enabled')) return;
8686

87+
// Skip badges/shields (shields.io, badge URLs)
88+
if (img.src.includes('shields.io') || img.src.includes('badge')) {
89+
return;
90+
}
91+
8792
// Add class and click handler
8893
img.classList.add('lightbox-enabled');
8994
img.title = img.alt + ' (click to enlarge)';

0 commit comments

Comments
 (0)