Show HN: Javalamp – A glowing terminal screensaver that keeps your Mac awake

tbreschi1 pts0 comments

GitHub - breschio/javalamp: A glowing terminal screensaver that keeps your Mac awake · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

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 }}

breschio

javalamp

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>5 Commits<br>5 Commits

.github

.github

assets

assets

scripts

scripts

src/javalamp

src/javalamp

tests

tests

.gitignore

.gitignore

CHANGELOG.md

CHANGELOG.md

CONTRIBUTING.md

CONTRIBUTING.md

LICENSE

LICENSE

Makefile

Makefile

README.md

README.md

SCENE_GUIDE.md

SCENE_GUIDE.md

pyproject.toml

pyproject.toml

View all files

Repository files navigation

javalamp

A glowing terminal screensaver that keeps your Mac awake.

Install

From this repo:

make install<br>javalamp

After the PyPI release:

pipx install javalamp<br>javalamp

Requires Python 3.10+ and pipx. On macOS:

brew install pipx

Run

javalamp # open the scene picker<br>javalamp java # play the Java scene<br>javalamp matrix # play one scene directly<br>javalamp --cycle # rotate through every scene<br>javalamp -l # list scenes

While the picker or a scene is running:

arrows navigate<br>enter play<br>t cycle theme<br>q quit

What It Does

Runs animated ASCII scenes in your terminal.

Defaults to the warm sunset theme.

Keeps your Mac awake with caffeinate -d -i while running.

Restores your terminal cleanly when you quit.

Lets you add custom scenes in ~/.config/javalamp/scenes/.

Disable the macOS sleep guard when you want:

javalamp --no-caffeinate

Develop

python -m venv .venv<br>source .venv/bin/activate<br>pip install -e ".[dev]"<br>pytest

Useful repo shortcuts:

make reinstall # update the global command after editing<br>make test # run tests<br>make list # list scenes

Regenerate README media:

PYTHONPATH=src python scripts/render_readme_assets.py

Custom Scenes

javalamp new-scene lava<br>javalamp check-scene lava<br>javalamp lava

See SCENE_GUIDE.md for the tiny scene API.

About

A glowing terminal screensaver that keeps your Mac awake

Resources

Readme

License

MIT license

Contributing

Contributing

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

Python<br>99.2%

Makefile<br>0.8%

You can’t perform that action at this time.

javalamp scene terminal reload scenes keeps

Related Articles