gh-space-shooter 1.0.0__tar.gz → 1.0.1__tar.gz

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.
Files changed (52) hide show
  1. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/.github/workflows/publish.yml +1 -1
  2. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/.github/workflows/test.yml +1 -1
  3. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/PKG-INFO +1 -1
  4. gh_space_shooter-1.0.1/app/public/android-chrome-192x192.png +0 -0
  5. gh_space_shooter-1.0.1/app/public/android-chrome-512x512.png +0 -0
  6. gh_space_shooter-1.0.1/app/public/apple-touch-icon.png +0 -0
  7. gh_space_shooter-1.0.1/app/public/favicon-16x16.png +0 -0
  8. gh_space_shooter-1.0.1/app/public/favicon-32x32.png +0 -0
  9. gh_space_shooter-1.0.1/app/public/og-image.gif +0 -0
  10. gh_space_shooter-1.0.1/app/public/site.webmanifest +1 -0
  11. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/app/src/main.py +1 -1
  12. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/app/src/templates/index.html +58 -1
  13. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/pyproject.toml +2 -2
  14. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/uv.lock +564 -564
  15. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/.github/dependabot.yml +0 -0
  16. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/.gitignore +0 -0
  17. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/.python-version +0 -0
  18. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/CLAUDE.md +0 -0
  19. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/LICENSE +0 -0
  20. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/README.md +0 -0
  21. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/action.yml +0 -0
  22. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/app/README.md +0 -0
  23. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/app/public/favicon.ico +0 -0
  24. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/app/pyproject.toml +0 -0
  25. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/app/src/__init__.py +0 -0
  26. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/example.gif +0 -0
  27. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/__init__.py +0 -0
  28. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/cli.py +0 -0
  29. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/console_printer.py +0 -0
  30. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/constants.py +0 -0
  31. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/__init__.py +0 -0
  32. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/animator.py +0 -0
  33. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/drawables/__init__.py +0 -0
  34. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/drawables/bullet.py +0 -0
  35. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/drawables/drawable.py +0 -0
  36. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/drawables/enemy.py +0 -0
  37. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/drawables/explosion.py +0 -0
  38. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/drawables/ship.py +0 -0
  39. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/drawables/starfield.py +0 -0
  40. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/game_state.py +0 -0
  41. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/render_context.py +0 -0
  42. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/renderer.py +0 -0
  43. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/strategies/__init__.py +0 -0
  44. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/strategies/base_strategy.py +0 -0
  45. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/strategies/column_strategy.py +0 -0
  46. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/strategies/random_strategy.py +0 -0
  47. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/game/strategies/row_strategy.py +0 -0
  48. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/github_client.py +0 -0
  49. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/src/gh_space_shooter/py.typed +0 -0
  50. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/tests/conftest.py +0 -0
  51. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/tests/test_bullet_collision.py +0 -0
  52. {gh_space_shooter-1.0.0 → gh_space_shooter-1.0.1}/tests/test_strategies.py +0 -0
@@ -22,7 +22,7 @@ jobs:
22
22
  runs-on: ubuntu-latest
23
23
 
24
24
  steps:
25
- - uses: actions/checkout@v4
25
+ - uses: actions/checkout@v6
26
26
 
27
27
  - name: Install uv
28
28
  uses: astral-sh/setup-uv@v7
@@ -19,7 +19,7 @@ jobs:
19
19
 
20
20
  steps:
21
21
  - name: Checkout code
22
- uses: actions/checkout@v4
22
+ uses: actions/checkout@v6
23
23
 
24
24
  - name: Install uv
25
25
  uses: astral-sh/setup-uv@v7
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gh-space-shooter
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: A CLI tool that visualizes GitHub contribution graphs as gamified GIFs
5
5
  Author-email: zane <czl970721@gmail.com>
6
6
  License-File: LICENSE
@@ -0,0 +1 @@
1
+ {"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
@@ -37,7 +37,7 @@ def generate_gif(username: str, strategy: str, token: str) -> BytesIO:
37
37
  strategy_class: type[BaseStrategy] = STRATEGY_MAP.get(strategy, RandomStrategy)
38
38
  strat = strategy_class()
39
39
 
40
- animator = Animator(data, strat, fps=20, watermark=True)
40
+ animator = Animator(data, strat, fps=25, watermark=True)
41
41
  return animator.generate_gif(maxFrame=250)
42
42
 
43
43
  @app.get("/", response_class=HTMLResponse)
@@ -3,8 +3,65 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <link rel="icon" type="image/x-icon" href="/favicon.ico">
6
+ <!-- SEO Meta Tags -->
7
+ <meta name="description" content="Transform your GitHub contribution graph into an animated space shooter GIF. Choose from different animation strategies and share your coding year as a retro game.">
8
+ <meta name="keywords" content="github, contribution graph, space shooter, gif generator, github visualization, coding stats, github profile">
9
+ <meta name="author" content="Zane Chen">
10
+ <meta name="robots" content="index, follow">
11
+ <meta name="language" content="English">
12
+ <meta name="revisit-after" content="7 days">
13
+ <meta name="theme-color" content="#0d1117">
14
+ <link rel="canonical" href="https://gh-space-shooter.kiyo-n-zane.com/">
15
+
16
+ <!-- Open Graph Meta Tags -->
17
+ <meta property="og:title" content="GitHub Space Shooter - Visualize Your Contributions">
18
+ <meta property="og:description" content="Transform your GitHub contribution graph into an animated space shooter GIF. Choose from different animation strategies and share your coding year as a retro game.">
19
+ <meta property="og:type" content="website">
20
+ <meta property="og:url" content="https://your-domain.com/">
21
+ <meta property="og:image" content="/og-image.gif">
22
+ <meta property="og:image:alt" content="GitHub Space Shooter preview showing a contribution graph transformed into a space shooter game">
23
+ <meta property="og:image:width" content="1200">
24
+ <meta property="og:image:height" content="630">
25
+ <meta property="og:site_name" content="GitHub Space Shooter">
26
+ <meta property="og:locale" content="en_US">
27
+
28
+ <!-- Twitter Card Meta Tags -->
29
+ <meta name="twitter:card" content="summary_large_image">
30
+ <meta name="twitter:title" content="GitHub Space Shooter - Visualize Your Contributions">
31
+ <meta name="twitter:description" content="Transform your GitHub contribution graph into an animated space shooter GIF. Choose animation strategies and share your coding year as a retro game.">
32
+ <meta name="twitter:image" content="/og-image.gif">
33
+ <meta name="twitter:image:alt" content="GitHub Space Shooter preview showing a contribution graph transformed into a space shooter game">
34
+
35
+ <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
36
+ <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
37
+ <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
38
+ <link rel="manifest" href="/site.webmanifest">
39
+ <link rel="icon" type="image/x-icon" href="/favicon.ico" />
7
40
  <title>GitHub Space Shooter</title>
41
+
42
+ <!-- Structured Data (JSON-LD) -->
43
+ <script type="application/ld+json">
44
+ {
45
+ "@context": "https://schema.org",
46
+ "@type": "WebApplication",
47
+ "name": "GitHub Space Shooter",
48
+ "description": "Transform your GitHub contribution graph into an animated space shooter GIF",
49
+ "url": "https://your-domain.com/",
50
+ "applicationCategory": "DeveloperApplication",
51
+ "operatingSystem": "Any",
52
+ "offers": {
53
+ "@type": "Offer",
54
+ "price": "0",
55
+ "priceCurrency": "USD"
56
+ },
57
+ "author": {
58
+ "@type": "Person",
59
+ "name": "Zane Chen"
60
+ },
61
+ "screenshot": "/og-image.gif",
62
+ "browserRequirements": "Requires JavaScript"
63
+ }
64
+ </script>
8
65
  <style>
9
66
  :root {
10
67
  /* Colors - Background */
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "gh-space-shooter"
3
- version = "1.0.0"
3
+ version = "1.0.1"
4
4
  description = "A CLI tool that visualizes GitHub contribution graphs as gamified GIFs"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -29,7 +29,7 @@ build-backend = "hatchling.build"
29
29
 
30
30
 
31
31
  [tool.bumpversion]
32
- current_version = "1.0.0"
32
+ current_version = "1.0.1"
33
33
  parse = """(?x)
34
34
  (?P<major>0|[1-9]\\d*)\\.
35
35
  (?P<minor>0|[1-9]\\d*)\\.