Linux Candy: ascii_moon – displays the moon phase

Linux Candy is a series of articles covering interesting eye candy software. We only feature open source software in this series.

Some of the programs in this series are purely cosmetic, frivolous pieces of fun. Candy at their finest. But we also include some programs that aren’t purely decorative.

There’s a diverse range of programs included in this series. Programs such as eDEX-UI and Variety are actually highly practical programs. ASCIIQuarium has soothing and relaxing qualities for your desktop. Other programs included in this series (such as lolcat, cacafire) are included purely for their decorative qualities. And then there’s some really fun software that just raises a smile or two.

ascii_moon is a small TUI program that displays the moon phase in ASCII art. It’s a small single native binary that’s free and open source software.

Installation

I evaluated ascii_moon with Manjaro, an Arch-based Linux distribution.

There’s a package in the Arch User Repository which installs with Pamac, Manjaro’s rather nifty GUI installer, seamlessy.

Installing ascii_moon with Manjaro

The program is actually trivial to install whatever Linux distro you’re running.

In Operation

Issuing the command $ ascii_moon launches the program in its interactive mode. It displays an ASCII art representation of the moon’s phase for the current date.

Current date

Waning Gibbous is a moon phase occurring after the Full Moon and before the Third Quarter, where the moon appears more than half-illuminated but the lit portion is decreasing (“waning”), looking like a shrinking, “hump-backed” shape as it moves towards the New Moon

ascii_moon is a TUI program. Use the arrow keys to show the moon’s phase for forthcoming and previous days. In the example below, I’ve gone back a few days.

Full moon

I like that you can turn on lunar features:

Features

 

There are other keyboard shortcuts available.

  • Cycle through multiple languages for labels (English, Chinese, French, Japanese, and Spanish) with the ‘L’ key.
  • Toggle hiding the unlit (dark) part of the moon with the ‘d’ key.
  • Toggle the information panel with the ‘i’ key.

Summary

Unlike some software featured in the series, ascii_moon is more than just a candy program. But it certainly can liven up a MOTD for your terminal too. It certainly makes for an interesting MOTD when used in its non-interactive mode.

This is cross-platform software running under Linux, macOS, and Windows. No dark side of the moon puns are necessary.

Website: github.com/rockydd/ascii_moon
Support:
Developer: rockydd
License: MIT License

ascii_moon is written in Rust. Learn Rust with our recommended free books and free tutorials.


Complete list of articles in this series:

Linux Candy
ASCIIQuariumEmbrace marine life from the terminal with beautiful ASCII art
ASCII Art ConverterA small utility that converts images into ASCII art
ascii_moonDisplays the moon phase
BobRossQuotesCollection of quotes from Bob Ross
BoxesCommand line ASCII boxes
BuohOnline strips comics reader
cacafireColor ASCII fire
catclockxclock with an enhanced cat mode
cbonsaiGenerate bonsai trees in the terminal
christmasfetchFestive cheer on the desktop
chucknorrisChuck Norris jokes in your terminal
ClairvoyantLike a magic 8-ball inspired fortune teller
cornyjokesCorny jokes for the terminal
CMatrixncurses program that simulates the display from “The Matrix”
ctreeA Christmas tree right on your terminal
cutieasciiDisplays random ASCII art emojis
dogeSimple motd script
eDEX-UISci-fi computer terminal emulator and system monitor
emojSimple tool that to find suitable emojis for pasting to your clipboard
EmoteModern popup emoji picker
EvolvotronInteractive generative art
FantasceneDynamic wallpaper changer
FondoFind beautiful wallpapers from Unsplash
gtiTypo-based curio inspired by Steam Locomotive
HidamariPython-based app that offers video wallpaper for Linu
HollywoodFill your console with Hollywood melodrama technobabble
lifecyclerAquarium right in your terminal
linuxwaveGenerate music from the entropy of Linux
lolcatRainbows and unicorns
MemeFun tool to create memes
No More SecretsRecreates the data decryption effect from the Sneakers movie
nookPlays Animal Crossing hourly themes on the hour
nyancatTerminal-based Pop Tart Cat Animation
onekoAnimal chasing fun
Picture Of The DayYour daily wallpaper
pipes.shAnimated pipes terminal screensaver
ponysaycowsay reimplemention for ponies
projectMMusic visualizer originally based on Milkdrop
pscircleA different take on the venerable ps command
PyBonsaiGenerates procedural ASCII art trees
pyjokesOne line jokes for programmers
PywalGenerate color schemes on the fly (not actively developed)
RelaxatorRelax to soothing sounds
ricksayRick and Morty quotes of the day
Rusty AquariumMonitoring by visualization
shuffleASCII art with a cool shuffle effect
Steam LocomotiveC program written in 295 lines. It's harmless fun
TernimalAnimated lifeform in the terminal
terminal-parrotParty parrot time
tetrisTile-matching puzzle video game in your terminal
VarietyWallpaper manager with many desktops and wallpaper sources
WallGenGenerate HQ poly wallpapers with a few arguments.
WallpaperDownloaderDownload, change, and manage wallpapers
wallustCreate 16 color palettes
walrsFast colorscheme generator
WSelectorBrowse, download, and set wallpapers from Wallhaven.cc
xcowsayDisplays a cow on your desktop with message
XDecorationsAdd some festive cheer to your desktop
XScreenSaverFramework and collection of screensavers
yosayLike cowsay but with less cow
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments