GitHub - EvanZhouDev/calendar-tetris: Play Tetris in Apple Calendar 路 GitHub
/" data-turbo-transient="true" />
Skip to content
Search/
Sign in<br>Sign upAppearance settings
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
EvanZhouDev
calendar-tetris
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
main
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>32 Commits<br>32 Commits
assets
assets
src
src
.gitignore
.gitignore
LICENSE
LICENSE
README.md
README.md
package-lock.json
package-lock.json
package.json
package.json
tsconfig.json
tsconfig.json
View all files
Repository files navigation
馃搮 Calendar Tetris
Play Tetris in Apple Calendar.
5-Column mode with HUD off. Run with npx calendar-tetris --5-col --no-hud
Run
Run the CLI and follow the instructions to get started. Calendar Tetris requires macOS.
npx calendar-tetris
Control Calendar Tetris by entering keys into your terminal.
Warning<br>Calendar Tetris requires permission to control your calendar.<br>It creates and uses its own calendars and should never affect your existing calendars.<br>Nonetheless, if you have important information in your calendar, proceed with caution.
Modes
Default mode of 10 columns with HUD. Run with npx calendar-tetris
--no-hud
You can hide the HUD (Hold, Up Next, and the header) with the --no-hud flag.
npx calendar-tetris --no-hud
--5-col
You can play a modified 5-column version of Tetris with the --5-col flag. It has the I (3-cell), Domino (2-cell), L, T, S, and Z pieces.<br>This mode has better performance since there are fewer events being created and edited.
npx calendar-tetris --5-col
Cleanup
Calendar Tetris should automatically clean up any Calendars created during the game.
However, if the process was force-quit before automatic cleanup completed, run:
npx calendar-tetris cleanup
Cleanup should only ever remove game calendars created by Calendar Tetris. You can also safely manually perform cleanup by deleting calendars whose names start with __CALENDAR_TETRIS__*.
How Does it Work?
Calendar Tetris controls your calendar with AppleScript and EventKit.<br>By creating calendars for every color needed, Calendar Tetris can create and edit events in the proper-colored calendars to turn events into Tetris blocks falling down your calendar.
Development
npm install<br>npm test
The test suite compiles every AppleScript without launching or contacting Calendar.
About<br>Play Tetris in Apple Calendar<br>Topics<br>applecalendartetris<br>Resources<br>Readme<br>Apache-2.0 license<br>Activity<br>Stars<br>0 stars<br>Watchers<br>0 watching<br>Forks<br>0 forks<br>Report repository
Contributors
Languages
You can鈥檛 perform that action at this time.