shellfish

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

shellfish

A virtual pet Fish that lives in your terminal. You name it, feed it and keep it company, and it carries on living while the app is closed: it gets hungry in real time, but it never dies.

Install

Homebrew (macOS and Linux):

brew install kyu-seok/tap/shellfish

If Homebrew asks you to trust the tap first, run brew trust kyu-seok/tap and install again.

npm:

npm install -g @kyu-seok/shellfish
# or try it without installing:
npx @kyu-seok/shellfish

Go (1.24 or later):

go install github.com/Kyu-seok/shellfish@latest

Or download a binary for macOS, Linux or Windows from the Releases page.

Play

Run shellfish. The first time, pick a Species and give your Fish a name.

Do this And
Click the water Drop Food where you clicked
f or space Drop Food at the top of the Tank
1, 2, 3 Choose the Food: pellet, flake or worm
Click the Fish Pat it: it wiggles and sends up a heart
Move the mouse over the Tank A curious Fish swims over to see
r Release the Fish, to start again with a new one
q or Esc Close the Tank (the Fish carries on living)

The Fish shows how it feels: Content, Hungry or Starving. A hungry Fish dashes for Food, and a Starving one droops to the bottom of the Tank until it's fed.

The Tank needs a window of at least 30×10 and a terminal with 256 colours; with fewer, or with NO_COLOR set, the Fish is drawn as a silhouette. In tmux, turn on set -g mouse on for the mouse.

shellfish --version and shellfish --help work any time, even while a Tank is open.

Where your Fish lives

One Fish is saved per user, in shellfish/fish.json under:

  • macOS: ~/Library/Application Support
  • Linux: $XDG_DATA_HOME, or ~/.local/share
  • Windows: %LOCALAPPDATA%

If $XDG_DATA_HOME is set, it is used on any system.

Only one Tank can be open at a time.

License

MIT

Documentation

Overview

Command shellfish is a virtual pet Fish that lives in the terminal.

Directories

Path Synopsis
internal
app
Package app is the Bubble Tea model for shellfish.
Package app is the Bubble Tea model for shellfish.
fish
Package fish holds the Fish's state and the rules about it.
Package fish holds the Fish's state and the rules about it.
render
Package render draws everything shellfish shows: the Tank from a snapshot, the status line below it, the welcome-back greeting, and the naming prompt and other messages that take the Tank's place.
Package render draws everything shellfish shows: the Tank from a snapshot, the status line below it, the welcome-back greeting, and the naming prompt and other messages that take the Tank's place.
store
Package store loads and saves the Fish in the user's data folder.
Package store loads and saves the Fish in the user's data folder.
tank
Package tank simulates the Tank: where the Fish is, how it moves, and the seaweed it swims around.
Package tank simulates the Tank: where the Fish is, how it moves, and the seaweed it swims around.
tools
checkrules command
Command checkrules enforces the repo's mechanical rules, which a reviewer would otherwise have to remember:
Command checkrules enforces the repo's mechanical rules, which a reviewer would otherwise have to remember:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL