ccusage-ui 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/index.html +7 -1
- package/public/share/legendary.html +28 -0
- package/public/share/mega.html +28 -0
- package/public/share/power.html +28 -0
- package/public/share/pro.html +28 -0
- package/public/share/starter.html +28 -0
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -761,7 +761,13 @@
|
|
|
761
761
|
};
|
|
762
762
|
|
|
763
763
|
const level = getLevelName(projected);
|
|
764
|
+
const levelId = projected >= 100 ? 'legendary' :
|
|
765
|
+
projected >= 50 ? 'mega' :
|
|
766
|
+
projected >= 10 ? 'power' :
|
|
767
|
+
projected >= 1 ? 'pro' : 'starter';
|
|
764
768
|
|
|
769
|
+
const shareUrl = `https://sowonlabs.github.io/ccusage-ui/share/${levelId}.html`;
|
|
770
|
+
|
|
765
771
|
const text = `I'm a ${level} AI user.
|
|
766
772
|
My monthly usage pace is ${projected.toFixed(1)}M tokens.
|
|
767
773
|
|
|
@@ -771,7 +777,7 @@ npx ccusage-ui
|
|
|
771
777
|
Do you use Claude Code like an employee?
|
|
772
778
|
Manage your team with @CrewX
|
|
773
779
|
|
|
774
|
-
#ClaudeCode #CrewX #SowonLabs`;
|
|
780
|
+
#ClaudeCode #CrewX #SowonLabs ${shareUrl}`;
|
|
775
781
|
|
|
776
782
|
const url = `https://twitter.com/intent/tweet?text=${encodeURIComponent(text)}`;
|
|
777
783
|
window.open(url, '_blank');
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Legendary User - Claude Code Usage</title>
|
|
6
|
+
|
|
7
|
+
<!-- Open Graph / Facebook -->
|
|
8
|
+
<meta property="og:type" content="website">
|
|
9
|
+
<meta property="og:url" content="https://sowonlabs.github.io/ccusage-ui/share/legendary.html">
|
|
10
|
+
<meta property="og:title" content="I'm a Legendary AI User (Opus 4.5 Class)">
|
|
11
|
+
<meta property="og:description" content="My AI usage pace is over 100M tokens/month. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
12
|
+
<meta property="og:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
13
|
+
|
|
14
|
+
<!-- Twitter -->
|
|
15
|
+
<meta property="twitter:card" content="summary_large_image">
|
|
16
|
+
<meta property="twitter:url" content="https://sowonlabs.github.io/ccusage-ui/share/legendary.html">
|
|
17
|
+
<meta property="twitter:title" content="I'm a Legendary AI User (Opus 4.5 Class)">
|
|
18
|
+
<meta property="twitter:description" content="My AI usage pace is over 100M tokens/month. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
19
|
+
<meta property="twitter:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
20
|
+
|
|
21
|
+
<!-- Redirect to main repo -->
|
|
22
|
+
<script>window.location.href = "https://github.com/sowonlabs/ccusage-ui";</script>
|
|
23
|
+
<meta http-equiv="refresh" content="0;url=https://github.com/sowonlabs/ccusage-ui" />
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
<p>Redirecting to <a href="https://github.com/sowonlabs/ccusage-ui">ccusage-ui</a>...</p>
|
|
27
|
+
</body>
|
|
28
|
+
</html>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Mega User - Claude Code Usage</title>
|
|
6
|
+
|
|
7
|
+
<!-- Open Graph / Facebook -->
|
|
8
|
+
<meta property="og:type" content="website">
|
|
9
|
+
<meta property="og:url" content="https://sowonlabs.github.io/ccusage-ui/share/mega.html">
|
|
10
|
+
<meta property="og:title" content="I'm a Mega AI User (Sonnet 4.5 Class)">
|
|
11
|
+
<meta property="og:description" content="My AI usage pace is over 50M tokens/month. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
12
|
+
<meta property="og:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
13
|
+
|
|
14
|
+
<!-- Twitter -->
|
|
15
|
+
<meta property="twitter:card" content="summary_large_image">
|
|
16
|
+
<meta property="twitter:url" content="https://sowonlabs.github.io/ccusage-ui/share/mega.html">
|
|
17
|
+
<meta property="twitter:title" content="I'm a Mega AI User (Sonnet 4.5 Class)">
|
|
18
|
+
<meta property="twitter:description" content="My AI usage pace is over 50M tokens/month. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
19
|
+
<meta property="twitter:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
20
|
+
|
|
21
|
+
<!-- Redirect to main repo -->
|
|
22
|
+
<script>window.location.href = "https://github.com/sowonlabs/ccusage-ui";</script>
|
|
23
|
+
<meta http-equiv="refresh" content="0;url=https://github.com/sowonlabs/ccusage-ui" />
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
<p>Redirecting to <a href="https://github.com/sowonlabs/ccusage-ui">ccusage-ui</a>...</p>
|
|
27
|
+
</body>
|
|
28
|
+
</html>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Power User - Claude Code Usage</title>
|
|
6
|
+
|
|
7
|
+
<!-- Open Graph / Facebook -->
|
|
8
|
+
<meta property="og:type" content="website">
|
|
9
|
+
<meta property="og:url" content="https://sowonlabs.github.io/ccusage-ui/share/power.html">
|
|
10
|
+
<meta property="og:title" content="I'm a Power AI User (Haiku 4.5 Class)">
|
|
11
|
+
<meta property="og:description" content="My AI usage pace is over 10M tokens/month. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
12
|
+
<meta property="og:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
13
|
+
|
|
14
|
+
<!-- Twitter -->
|
|
15
|
+
<meta property="twitter:card" content="summary_large_image">
|
|
16
|
+
<meta property="twitter:url" content="https://sowonlabs.github.io/ccusage-ui/share/power.html">
|
|
17
|
+
<meta property="twitter:title" content="I'm a Power AI User (Haiku 4.5 Class)">
|
|
18
|
+
<meta property="twitter:description" content="My AI usage pace is over 10M tokens/month. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
19
|
+
<meta property="twitter:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
20
|
+
|
|
21
|
+
<!-- Redirect to main repo -->
|
|
22
|
+
<script>window.location.href = "https://github.com/sowonlabs/ccusage-ui";</script>
|
|
23
|
+
<meta http-equiv="refresh" content="0;url=https://github.com/sowonlabs/ccusage-ui" />
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
<p>Redirecting to <a href="https://github.com/sowonlabs/ccusage-ui">ccusage-ui</a>...</p>
|
|
27
|
+
</body>
|
|
28
|
+
</html>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Pro User - Claude Code Usage</title>
|
|
6
|
+
|
|
7
|
+
<!-- Open Graph / Facebook -->
|
|
8
|
+
<meta property="og:type" content="website">
|
|
9
|
+
<meta property="og:url" content="https://sowonlabs.github.io/ccusage-ui/share/pro.html">
|
|
10
|
+
<meta property="og:title" content="I'm a Pro AI User (Daily User)">
|
|
11
|
+
<meta property="og:description" content="My AI usage pace is over 1M tokens/month. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
12
|
+
<meta property="og:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
13
|
+
|
|
14
|
+
<!-- Twitter -->
|
|
15
|
+
<meta property="twitter:card" content="summary_large_image">
|
|
16
|
+
<meta property="twitter:url" content="https://sowonlabs.github.io/ccusage-ui/share/pro.html">
|
|
17
|
+
<meta property="twitter:title" content="I'm a Pro AI User (Daily User)">
|
|
18
|
+
<meta property="twitter:description" content="My AI usage pace is over 1M tokens/month. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
19
|
+
<meta property="twitter:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
20
|
+
|
|
21
|
+
<!-- Redirect to main repo -->
|
|
22
|
+
<script>window.location.href = "https://github.com/sowonlabs/ccusage-ui";</script>
|
|
23
|
+
<meta http-equiv="refresh" content="0;url=https://github.com/sowonlabs/ccusage-ui" />
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
<p>Redirecting to <a href="https://github.com/sowonlabs/ccusage-ui">ccusage-ui</a>...</p>
|
|
27
|
+
</body>
|
|
28
|
+
</html>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Starter User - Claude Code Usage</title>
|
|
6
|
+
|
|
7
|
+
<!-- Open Graph / Facebook -->
|
|
8
|
+
<meta property="og:type" content="website">
|
|
9
|
+
<meta property="og:url" content="https://sowonlabs.github.io/ccusage-ui/share/starter.html">
|
|
10
|
+
<meta property="og:title" content="I'm a Starter AI User (Newcomer)">
|
|
11
|
+
<meta property="og:description" content="My AI usage pace is starting out. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
12
|
+
<meta property="og:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
13
|
+
|
|
14
|
+
<!-- Twitter -->
|
|
15
|
+
<meta property="twitter:card" content="summary_large_image">
|
|
16
|
+
<meta property="twitter:url" content="https://sowonlabs.github.io/ccusage-ui/share/starter.html">
|
|
17
|
+
<meta property="twitter:title" content="I'm a Starter AI User (Newcomer)">
|
|
18
|
+
<meta property="twitter:description" content="My AI usage pace is starting out. Check your local Claude Code stats with one command: npx ccusage-ui">
|
|
19
|
+
<meta property="twitter:image" content="https://sowonlabs.github.io/ccusage-ui/screenshot.png">
|
|
20
|
+
|
|
21
|
+
<!-- Redirect to main repo -->
|
|
22
|
+
<script>window.location.href = "https://github.com/sowonlabs/ccusage-ui";</script>
|
|
23
|
+
<meta http-equiv="refresh" content="0;url=https://github.com/sowonlabs/ccusage-ui" />
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
<p>Redirecting to <a href="https://github.com/sowonlabs/ccusage-ui">ccusage-ui</a>...</p>
|
|
27
|
+
</body>
|
|
28
|
+
</html>
|