Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
306 commits
Select commit Hold shift + click to select a range
c325273
chore: update package-lock.json
thijsfranck Aug 9, 2025
b8eaaeb
started script to get horizons api data, small changes in pyproject.toml
fluffy-marmot Aug 9, 2025
21681c1
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
fluffy-marmot Aug 9, 2025
d86e959
docs: add my profile (#17)
esmaycat Aug 9, 2025
bf2dea1
script now gets coordinates of planets using today's date, also gets …
fluffy-marmot Aug 9, 2025
1a853d8
script now gets coordinates of planets using today's date, also gets …
fluffy-marmot Aug 9, 2025
fc98049
Made the pygame window and and "game"
Programmer-5090 Aug 9, 2025
623d271
I created the orbiting system but there's need for a lot of improveme…
Programmer-5090 Aug 10, 2025
5f84074
organize api and add models
TheRatLord Aug 10, 2025
ca4014d
disable COM812 rule
TheRatLord Aug 10, 2025
857e809
create parsers
TheRatLord Aug 10, 2025
fd43c45
modify script to use wrapper
TheRatLord Aug 10, 2025
73d175a
uv lock
TheRatLord Aug 10, 2025
4e09df7
big hot mess, but a simple example of animation loop in browser using…
fluffy-marmot Aug 10, 2025
32fcd2c
dark's thing in darkscript, still messy, needs lots of cleanup
fluffy-marmot Aug 10, 2025
755c041
ruff did some auto fixing
fluffy-marmot Aug 11, 2025
3685462
merge game-logic branch
fluffy-marmot Aug 11, 2025
3200de3
Merge branch 'main' into api-models
fluffy-marmot Aug 11, 2025
477e25e
Merge pull request #2 from fluffy-marmot/api-models
fluffy-marmot Aug 11, 2025
2021383
removed uv.lock, renamed horizons/ dir to horizons_data/, minor house…
fluffy-marmot Aug 11, 2025
f76819e
just added some comments to app.py and game.py
fluffy-marmot Aug 11, 2025
af6c31e
feat: add basic components for the app (#18)
thijsfranck Aug 11, 2025
45a49a1
fix: configure pyright with venv path (#19)
esmaycat Aug 11, 2025
bd774a6
Added a scene class
Programmer-5090 Aug 11, 2025
5fb5e7e
added star system
spirledaxis Aug 12, 2025
f50491b
Merge branch 'Game-logic' of https://github.com/fluffy-marmot/codejam…
fluffy-marmot Aug 12, 2025
c5a3acd
merging stars into main
fluffy-marmot Aug 12, 2025
2884966
merged stars system and better planet numbers into main
fluffy-marmot Aug 12, 2025
ffce0d0
make stars start at with random shade and fade_in values
fluffy-marmot Aug 12, 2025
5d5d137
added reliable logger to browser console, mouse and keyboard event ha…
fluffy-marmot Aug 12, 2025
6be4e2f
added favicon.ico for browser tab icon
fluffy-marmot Aug 12, 2025
8766053
Merge branch 'Scene/Player'
fluffy-marmot Aug 12, 2025
594b93e
feat: add camera capture (#20)
thijsfranck Aug 12, 2025
494120c
merge scene and small fix
fluffy-marmot Aug 12, 2025
505713b
added player sprite
Programmer-5090 Aug 12, 2025
30a545d
easier sprite urls via window.sprites dictionary
fluffy-marmot Aug 12, 2025
49d268b
sprites dict refers to HTML image objects, not urls now
fluffy-marmot Aug 12, 2025
4f22c10
add get_bounding_box method to space mass and use it in render method
fluffy-marmot Aug 13, 2025
b787992
fix mouse coordinate events to use canvas's coord system
fluffy-marmot Aug 13, 2025
124c24b
detect planet clicks and refactor to use positions
TheRatLord Aug 13, 2025
c7173a3
ruff format
TheRatLord Aug 13, 2025
4e7819e
a few more ruff issues were shut up
TheRatLord Aug 13, 2025
53a8ff9
Added the player class and currently rendering on the screen to test it
Programmer-5090 Aug 13, 2025
65f1676
move dataclasses to common and more formatting changes
TheRatLord Aug 13, 2025
0ade1c6
Merge branch 'main' into planet-detection
TheRatLord Aug 13, 2025
4322dc8
can't import relative :(, will look into it later
TheRatLord Aug 13, 2025
6d02299
Merge pull request #3 from fluffy-marmot/planet-detection
fluffy-marmot Aug 13, 2025
c101bbe
modify Rect class so bottom/right are handled as properties and only …
fluffy-marmot Aug 13, 2025
ec4ecb6
removed player_sprite as this is already accessible as sprites[player…
fluffy-marmot Aug 13, 2025
8c9a5c8
oops
fluffy-marmot Aug 13, 2025
fc4b798
move player timekeeping of last frame from game.py to inside player c…
fluffy-marmot Aug 13, 2025
17597d3
decent start, some parts haven't been fully integrated but main scene…
fluffy-marmot Aug 13, 2025
f7a9984
scene switching is working
fluffy-marmot Aug 13, 2025
aa7589f
included WIP turtle's asteroid.py file
fluffy-marmot Aug 13, 2025
68b75b4
Added asteroids and its spawing. Tried adding collision but its not c…
Programmer-5090 Aug 13, 2025
98a57d4
highlight planet on hover
TheRatLord Aug 14, 2025
35d3fbb
add sprites wrapper, asteroids not covered yet
TheRatLord Aug 14, 2025
8f4c86a
minor fix to exclude asteroid sprites dir from sprites list
fluffy-marmot Aug 14, 2025
4cf3ec0
feat: prototype of the a description model (#21)
esmaycat Aug 14, 2025
0adad67
add collision bumping player around and healthbar
fluffy-marmot Aug 14, 2025
886938b
planets start more random instead of perfect spiral
fluffy-marmot Aug 14, 2025
a5106f9
Couldn't do much just added rotation for player
Programmer-5090 Aug 15, 2025
41dff0a
added scanner
spirledaxis Aug 15, 2025
12bd21b
added bar icons
spirledaxis Aug 15, 2025
f519bbd
organize browser-side .py files into static/scripts/ folder
fluffy-marmot Aug 15, 2025
8390c7f
moved position methods to SceneObject
fluffy-marmot Aug 15, 2025
43a4a5a
feat: Introduce web sockets as the communication mode, since it is fa…
SOORAJTS2001 Aug 15, 2025
bb5cca8
fix: Avoided hardcoding browser height and width and now sending only…
SOORAJTS2001 Aug 15, 2025
1280627
some minor refactoring, new debris system still getting tweaked
fluffy-marmot Aug 15, 2025
6674152
interim commit
SOORAJTS2001 Aug 15, 2025
e28ba51
fix: Update poetry dependency also add emoji
SOORAJTS2001 Aug 15, 2025
5ca1450
audio system, attributions file, better debris
fluffy-marmot Aug 15, 2025
ae30777
volume option for play_sound, clamp max debris size
fluffy-marmot Aug 15, 2025
636f1da
add planet names to highlighting
fluffy-marmot Aug 15, 2025
d488a35
minor refactor of reused code
fluffy-marmot Aug 15, 2025
9b1fbf5
hard mode activated
fluffy-marmot Aug 15, 2025
0147b7f
added buggy logic for planet completion
spirledaxis Aug 16, 2025
75583b5
move horizons_api
TheRatLord Aug 16, 2025
4a754ce
add pyscript tool
TheRatLord Aug 16, 2025
87f8d97
remove duplicate distance method
TheRatLord Aug 16, 2025
eedec0d
add basic result display # No sound yet
TheRatLord Aug 16, 2025
14cc5e1
move spritesheet scripts to tools
fluffy-marmot Aug 16, 2025
cd4e60a
add loading label while pyscript is loading
fluffy-marmot Aug 16, 2025
28fd727
feat: Add mode activation for Rage, Wander and Shadow from extension …
SOORAJTS2001 Aug 16, 2025
3af0821
Merge pull request #3 from SOORAJTS2001/feat/mode-activation
SOORAJTS2001 Aug 16, 2025
a3015cc
WIP on level select screen
fluffy-marmot Aug 16, 2025
499cf9e
create state class and fix planet completion display issue
TheRatLord Aug 16, 2025
d784663
Merge branch 'main' into restructure
TheRatLord Aug 16, 2025
e50c831
Merge pull request #4 from fluffy-marmot/restructure
fluffy-marmot Aug 16, 2025
37ef9d6
fix asteroid nums
fluffy-marmot Aug 16, 2025
bd87796
lower collision volume
fluffy-marmot Aug 16, 2025
6843602
feat: camera image analysis (#24)
thijsfranck Aug 16, 2025
8fedcef
added level info screen on clicking planets
fluffy-marmot Aug 16, 2025
98069f6
attempt to merge planet info overlays
fluffy-marmot Aug 16, 2025
7b0cd7e
fix my merge problems
fluffy-marmot Aug 16, 2025
fa774bf
smoother player disabling and scanner limits
TheRatLord Aug 16, 2025
fa3f018
bump asteroids away, add asteroid health and destruction
fluffy-marmot Aug 16, 2025
3135058
improve scanner visuals
TheRatLord Aug 16, 2025
26e3b7e
merge scanner changes
TheRatLord Aug 17, 2025
07c28e9
player invincible upon level completion
spirledaxis Aug 17, 2025
6bda095
why doesn't planet.complete work??
spirledaxis Aug 17, 2025
350d99f
made description more in theme
spirledaxis Aug 17, 2025
864a8c7
shh dont tell soosh i did anyhting
TheRatLord Aug 17, 2025
5d9a426
goodluck soosh
spirledaxis Aug 17, 2025
2052fb1
Merge https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 17, 2025
a88bb13
added starting scence with dialouge
spirledaxis Aug 17, 2025
cde59ad
simple one line fix
fluffy-marmot Aug 17, 2025
fcd90a7
removed API VERSION in info
spirledaxis Aug 17, 2025
ca02213
planet info fix
fluffy-marmot Aug 17, 2025
33e4583
load new attributes
TheRatLord Aug 17, 2025
e20cee7
Merge https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 17, 2025
a98fed2
User must now re-hold spacebar upon getting hit
spirledaxis Aug 17, 2025
6db64bf
structure for difficulty properties
fluffy-marmot Aug 17, 2025
b79f893
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
fluffy-marmot Aug 17, 2025
d33b713
better typing
TheRatLord Aug 17, 2025
186ef2a
merge with main
TheRatLord Aug 17, 2025
be24504
Merge branch 'main' into loading-attributes
TheRatLord Aug 17, 2025
67639f7
text refining: audio, centering option
fluffy-marmot Aug 17, 2025
62b9806
quick fix
fluffy-marmot Aug 17, 2025
c34b659
added some more audio and music
fluffy-marmot Aug 17, 2025
d84657b
feat: Add easter-eggs on the sites loading
SOORAJTS2001 Aug 17, 2025
4556e8c
feat: store pokemon in indexeddb (#25)
thijsfranck Aug 17, 2025
3622fba
feat: Add extension icon and description
SOORAJTS2001 Aug 17, 2025
b2bc32c
level difficulties now affect gameplay, numbers may need tweaking
fluffy-marmot Aug 17, 2025
a0340b6
comment clarification
fluffy-marmot Aug 17, 2025
e557e53
add control tips for player
fluffy-marmot Aug 17, 2025
6e9600e
fix scanner sprite
fluffy-marmot Aug 17, 2025
96e1a3a
get rid of unicode arrow key characters
fluffy-marmot Aug 17, 2025
11adcb1
open json with utf-8 encoding
fluffy-marmot Aug 17, 2025
25c9e89
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
Programmer-5090 Aug 17, 2025
27169c6
Death Screen and explosion. Press k to insta die
Programmer-5090 Aug 17, 2025
78f6a05
added utf-8 encoding
spirledaxis Aug 17, 2025
928d096
added 3d stars in the start scence
spirledaxis Aug 17, 2025
991b414
Merge https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 17, 2025
b56de66
reset planet completions on player
Programmer-5090 Aug 17, 2025
ea6a912
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 17, 2025
5810bae
added max radius to 3d stars
spirledaxis Aug 17, 2025
0d928a1
fixed star scene
Programmer-5090 Aug 17, 2025
9ac1f3a
Merge https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 17, 2025
3347f81
fixed insta die error
Programmer-5090 Aug 17, 2025
7dd1522
removed print statement
spirledaxis Aug 17, 2025
768795e
added player to start scence
spirledaxis Aug 17, 2025
39f59b9
Merge https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 17, 2025
2334e18
jupiter g, earth repair, mercury dmg
fluffy-marmot Aug 17, 2025
85ea6ce
merge level interactions
fluffy-marmot Aug 17, 2025
2f29d0c
guys i can't get the lunar surface to look good i need help
Programmer-5090 Aug 17, 2025
5fd9851
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
Programmer-5090 Aug 17, 2025
b5b68d9
final scene started
Programmer-5090 Aug 17, 2025
84d80c0
lore added, with dramatic pauses for puncuation
spirledaxis Aug 18, 2025
2bd9a68
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 18, 2025
3945583
add button to death screen + minor
fluffy-marmot Aug 18, 2025
058121c
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
fluffy-marmot Aug 18, 2025
133f55b
add reqs
spirledaxis Aug 18, 2025
99ce4fc
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 18, 2025
2be98ed
Added the recycling items, and a slightly higher difficulty for earth
Programmer-5090 Aug 18, 2025
f2ff1d3
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
Programmer-5090 Aug 18, 2025
707e5fe
scan progress gets reduced when hit
Programmer-5090 Aug 18, 2025
b0008c2
explosion sound, refine music switching
fluffy-marmot Aug 18, 2025
559c83a
explosion sound, refine music switching
fluffy-marmot Aug 18, 2025
03513ed
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
fluffy-marmot Aug 18, 2025
795aa8c
removed puncuation pausing
spirledaxis Aug 18, 2025
1014d01
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 18, 2025
84c2b9f
moved player explosion class to player class
Programmer-5090 Aug 18, 2025
062c17f
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
Programmer-5090 Aug 18, 2025
096e8b0
disable health bar in intro
fluffy-marmot Aug 18, 2025
ee8340f
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
fluffy-marmot Aug 18, 2025
96d2628
remove player momentum on reset
fluffy-marmot Aug 18, 2025
f7ca03a
Escaping out of final scene
Programmer-5090 Aug 18, 2025
921b3ad
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
Programmer-5090 Aug 18, 2025
eb63d2e
Reduced earth difficulty
Programmer-5090 Aug 18, 2025
1d20f0a
add skip intro button, +attributions
fluffy-marmot Aug 18, 2025
ffecbaf
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
fluffy-marmot Aug 18, 2025
5d39d8d
externalize lore to txt file, disable scan loss (Sorry dark lol)
fluffy-marmot Aug 18, 2025
e3a92b2
add hint to text overlay
TheRatLord Aug 18, 2025
17a6ff3
add new music theme to intro (and plan for endscreen)
fluffy-marmot Aug 18, 2025
df65fbe
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
fluffy-marmot Aug 18, 2025
800f951
move text overlays to own file
TheRatLord Aug 18, 2025
d493003
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
TheRatLord Aug 18, 2025
76f22af
add attributions
fluffy-marmot Aug 18, 2025
ff5b5dc
set email in pyproject.toml
fluffy-marmot Aug 18, 2025
b177f85
add some docstrings and clean up scene descriptions file
fluffy-marmot Aug 18, 2025
eb3dcf1
swap button label when game completed
TheRatLord Aug 18, 2025
c22445c
update dependencies
TheRatLord Aug 18, 2025
6631158
fix author, update req.txt
TheRatLord Aug 18, 2025
8fb038d
fix author, update req.txt
TheRatLord Aug 18, 2025
840010e
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
spirledaxis Aug 18, 2025
6cb4f44
adjustable gravity in nudge_towards
spirledaxis Aug 18, 2025
c39b29a
centered scanner beam
spirledaxis Aug 18, 2025
5f26857
jupiter scans faster
spirledaxis Aug 18, 2025
d396037
spawning considers player position
spirledaxis Aug 18, 2025
0b58dde
add scrolling credits
TheRatLord Aug 18, 2025
3091641
Merge branch 'main' of https://github.com/fluffy-marmot/codejam2025
TheRatLord Aug 18, 2025
cd19640
color star functionality
fluffy-marmot Aug 18, 2025
1db698c
Merge remote-tracking branch 'origin/main' into colored-stars
fluffy-marmot Aug 18, 2025
6a6dd60
credits
fluffy-marmot Aug 18, 2025
1723966
Merge branch 'colored-stars'
fluffy-marmot Aug 18, 2025
fd77734
fix: Change static directory name
SOORAJTS2001 Aug 18, 2025
311aa66
Merge pull request #4 from SOORAJTS2001/feat/easter-eggs
SOORAJTS2001 Aug 18, 2025
a8da8b1
change credits music track
fluffy-marmot Aug 18, 2025
626caa0
added 'cheats' info for judges convenience
fluffy-marmot Aug 18, 2025
df7ae15
delete requirements.txt, using alternates
fluffy-marmot Aug 18, 2025
839924d
feat: Add Makefile and remove the font on mobile page
SOORAJTS2001 Aug 18, 2025
195f371
Merge pull request #5 from SOORAJTS2001/feat/easter-eggs
SOORAJTS2001 Aug 18, 2025
8208e0b
increased player speed and increased player hp after every planet com…
Programmer-5090 Aug 18, 2025
372805e
updated-makefile
SaketKunjathur Aug 18, 2025
1f940f1
Fix: Add comments and docstrings
SOORAJTS2001 Aug 18, 2025
c7d1f20
fix: remove unwanted noqa's
SOORAJTS2001 Aug 18, 2025
a1bb14b
fix: update pyproject.toml
SOORAJTS2001 Aug 18, 2025
d3bcd3b
fix: update setup powershell script
SOORAJTS2001 Aug 18, 2025
3d94ea1
fix hp overflow
fluffy-marmot Aug 18, 2025
4532595
add-makefile
SaketKunjathur Aug 18, 2025
11db0fd
update-makefile-again
SaketKunjathur Aug 18, 2025
b1462f3
ok its safe enough...
fluffy-marmot Aug 18, 2025
79f726d
feat: ui cleanup and bug fixes (#26)
thijsfranck Aug 18, 2025
f962903
Merge pull request #8 from SOORAJTS2001/features
SOORAJTS2001 Aug 18, 2025
28aa958
interim commit
SOORAJTS2001 Aug 18, 2025
9e67ba8
Merge branch 'refs/heads/main' into fix/linting-and-formatting
SOORAJTS2001 Aug 18, 2025
f6bb50e
Merge pull request #7 from SOORAJTS2001/fix/linting-and-formatting
SOORAJTS2001 Aug 18, 2025
2341de5
change music attribution to preferred
fluffy-marmot Aug 18, 2025
645b58b
feat: users can mark pokemon as "favourites" (#27)
esmaycat Aug 18, 2025
52ec6fc
quick readme notes
fluffy-marmot Aug 19, 2025
2f59f26
Feat: Add documentation as README.md
SOORAJTS2001 Aug 21, 2025
707882c
Feat: Add images and gif for mobile page and extension
SOORAJTS2001 Aug 21, 2025
05af317
Feat: Change the gif and How to use heading
SOORAJTS2001 Aug 21, 2025
288d259
readme rough draft
spirledaxis Aug 21, 2025
daf0fc3
readme second draft
spirledaxis Aug 21, 2025
f2c2ba7
Update README.md with installation and usage steps
TheRatLord Aug 21, 2025
9c3c107
added yt link
spirledaxis Aug 22, 2025
2b36bcf
work on readme, add screenshots
fluffy-marmot Aug 22, 2025
1f90982
work on readme, add screenshots
fluffy-marmot Aug 22, 2025
0fc2770
merge
fluffy-marmot Aug 22, 2025
d0a6e58
readme stuff
fluffy-marmot Aug 22, 2025
6e8dfa6
add some code examples to readme
fluffy-marmot Aug 22, 2025
71ccb87
Feat: Add working and Usage
SOORAJTS2001 Aug 22, 2025
79b66ed
Merge branch 'refs/heads/main' into feat/add-documentation
SOORAJTS2001 Aug 22, 2025
c7097db
Feat: Add Mode activation Gif's
SOORAJTS2001 Aug 22, 2025
b65184a
docs: add presentation (#28)
thijsfranck Aug 22, 2025
b9c73b8
Feat: Add error docs
SOORAJTS2001 Aug 22, 2025
37207b0
Merge pull request #9 from SOORAJTS2001/feat/add-documentation
SOORAJTS2001 Aug 22, 2025
01eb748
Feat: Add explanation
SOORAJTS2001 Aug 22, 2025
ec2e916
Feat: Add explanation
SOORAJTS2001 Aug 22, 2025
59071c7
Merge pull request #10 from SOORAJTS2001/feat/add-documentation
SOORAJTS2001 Aug 22, 2025
024340c
Feat: Add why wrong tool for the job doc
SOORAJTS2001 Aug 22, 2025
553f62e
Merge pull request #11 from SOORAJTS2001/feat/add-documentation
SOORAJTS2001 Aug 22, 2025
0754d17
Delete: Unwanted space
SOORAJTS2001 Aug 22, 2025
bc38117
Delete: Unwanted space
SOORAJTS2001 Aug 22, 2025
3a820a0
Merge pull request #12 from SOORAJTS2001/feat/add-documentation
SOORAJTS2001 Aug 22, 2025
05d0eb9
Add 'cool-cacti/' from commit '6e8dfa63e83a5ebe644dbc66b5c559f7144c3e3c'
janine9vn Sep 10, 2025
eb53f26
Add 'calm-calatheas/' from commit 'b65184af2bb2e5b62cd66bc76edbf24957…
janine9vn Sep 10, 2025
2c2d794
Add 'daring-daffodils/' from commit '3a820a07f7be61a962eb6ad91fe91cb0…
janine9vn Sep 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
93 changes: 93 additions & 0 deletions calm-calatheas/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"customizations": {
"vscode": {
"extensions": [
"bierner.markdown-mermaid",
"charliermarsh.ruff",
"DavidAnson.vscode-markdownlint",
"esbenp.prettier-vscode",
"GitHub.vscode-pull-request-github",
"tamasfe.even-better-toml",
"-ms-python.autopep8"
],
"settings": {
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff"
},
"[toml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"files.exclude": {
"**/.pytest_cache": true,
"**/.ruff_cache": true,
"**/__pycache__": true,
".venv": true,
"node_modules": true,
"site": true
},
"files.insertFinalNewline": true,
"files.watcherExclude": {
"**/.pytest_cache": true,
"**/.ruff_cache": true,
"**/__pycache__": true,
"**/dist": true,
".git/objects/**": true,
".git/subtree-cache/**": true,
".venv": true,
"node_modules": true,
"site": true
},
"python.analysis.typeCheckingMode": "standard",
"python.defaultInterpreterPath": "${containerWorkspaceFolder}/.venv/bin/python",
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false
}
}
},
"features": {
"ghcr.io/devcontainers-extra/features/apt-packages": {
"packages": ["gnupg2", "graphviz"]
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/devcontainers/features/python:1": {
"toolsToInstall": ["uv"],
"version": "3.13"
}
},
"forwardPorts": [8000, 9000],
"image": "mcr.microsoft.com/devcontainers/base:noble",
"name": "Calm Calatheas 🪴",
"onCreateCommand": {
"npm": "bash .devcontainer/npm.sh",
"uv": "bash .devcontainer/uv.sh"
},
"portsAttributes": {
"8000": {
"label": "Development Server",
"onAutoForward": "notify"
},
"9000": {
"label": "Documentation Server",
"onAutoForward": "notify"
}
},
"postCreateCommand": {
"playwright": "bash .devcontainer/playwright.sh",
"pre-commit": "bash .devcontainer/pre-commit.sh"
},
"runArgs": ["--gpus", "all"]
}
4 changes: 4 additions & 0 deletions calm-calatheas/.devcontainer/npm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# Install or update dependencies
npm install
4 changes: 4 additions & 0 deletions calm-calatheas/.devcontainer/playwright.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# Install playwright dependencies
uv run playwright install --with-deps
7 changes: 7 additions & 0 deletions calm-calatheas/.devcontainer/pre-commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# Mark the current directory as safe for Git operations
git config --global --add safe.directory $PWD

# Install pre-commit hooks using uv
uv run pre-commit install
5 changes: 5 additions & 0 deletions calm-calatheas/.devcontainer/uv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# Install Python dependencies using uv
uv venv --allow-existing
uv sync
3 changes: 3 additions & 0 deletions calm-calatheas/.envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_url "https://raw.githubusercontent.com/cachix/devenv/82c0147677e510b247d8b9165c54f73d32dfd899/direnvrc" "sha256-7u4iDd1nZpxL4tCzmPG0dQgC5V+/44Ba+tHkPob1v2k="

use devenv
1 change: 1 addition & 0 deletions calm-calatheas/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
57 changes: 57 additions & 0 deletions calm-calatheas/.github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Lint

on:
push:
branches:
- main
pull_request:

concurrency: lint-${{ github.sha }}

jobs:
lint:
runs-on: ubuntu-latest

env:
PYTHON_VERSION: "3.13"

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install uv
run: python -m pip install uv

- name: Cache the virtualenv
uses: actions/cache@v4
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/uv.lock') }}

- name: Install Python dependencies
run: uv venv --allow-existing && uv sync

- name: Update GITHUB_PATH
run: echo "$(uv python find)" >> $GITHUB_PATH

- name: Setup Node.js and dependencies
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
registry-url: "https://npm.pkg.github.com"

- name: Install Node.js dependencies
run: npm install
shell: bash

- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.1

- name: Build the documentation
run: uv run task build-docs
50 changes: 50 additions & 0 deletions calm-calatheas/.github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Publish Documentation

concurrency:
group: "docs"

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: write
pages: write

env:
PYTHON_VERSION: "3.13"

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- run: git config --global user.email "calm-calatheas@github.com"
- run: git config --global user.name "Calm Calatheas"

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install uv
run: python -m pip install uv

- name: Cache the virtualenv
uses: actions/cache@v4
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/uv.lock') }}

- name: Install Python dependencies
run: uv venv --allow-existing && uv sync

- name: Publish documentation
run: uv run mkdocs gh-deploy
shell: bash
Loading