Skip to main content

A terminal ambient experience — Arabic jazz & oud music in your terminal

Project description

 ███████╗ █████╗ ███████╗████████╗███████╗██████╗ ███╗   ██╗
 ██╔════╝██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗████╗  ██║
 █████╗  ███████║███████╗   ██║   █████╗  ██████╔╝██╔██╗ ██║
 ██╔══╝  ██╔══██║╚════██║   ██║   ██╔══╝  ██╔══██╗██║╚██╗██║
 ███████╗██║  ██║███████║   ██║   ███████╗██║  ██║██║ ╚████║
 ╚══════╝╚═╝  ╚═╝╚══════╝   ╚═╝   ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝

   ███╗   ██╗██╗ ██████╗ ██╗  ██╗████████╗
   ████╗  ██║██║██╔════╝ ██║  ██║╚══██╔══╝
   ██╔██╗ ██║██║██║  ███╗███████║   ██║
   ██║╚██╗██║██║██║   ██║██╔══██║   ██║
   ██║ ╚████║██║╚██████╔╝██║  ██║   ██║
   ╚═╝  ╚═══╝╚═╝ ╚═════╝ ╚═╝  ╚═╝   ╚═╝

                  🌙  الليل الشرقي  ✦

Eastern Night — الليل الشرقي

A terminal ambient experience · Powered by Sharqify

Eastern Night transforms your terminal into an immersive Arabic jazz café. It streams music directly from Sharqify's YouTube channel — Arabic jazz and oud fusion — while displaying a Saxon art panel and a city atmosphere widget, all rendered entirely in your terminal with no browser or GUI required.


Quickstart

Requires: mpv installed on your system and pipx.

# Ubuntu / PoPOS / Debian
sudo apt install mpv && pipx run eastern-night

# macOS
brew install mpv && pipx run eastern-night

# Arch Linux
sudo pacman -S mpv && pipx run eastern-night

That's it. No cloning, no virtual environment — pipx run handles everything else automatically.


Permanent install

If you want eastern-night available as a persistent command:

pipx install eastern-night
eastern-night

Features

  • Dynamic catalog — scrapes Sharqify's full YouTube channel at startup via yt-dlp; catalogue is cached locally for 24 hours and refreshed automatically
  • ASCII saxophone panel — static art panel on the left, coloured in a warm gold palette
  • Music streaming — plays audio direct from YouTube, resolved at runtime (no downloads)
  • Arab city clock — shows the local time of the current track's city (Cairo, Beirut, Baghdad, and more)
  • Live weather — fetches current temperature and conditions from wttr.in
  • Cinematic intro — brief splash screen with Arabic + English title on launch
  • Focus mode — minimal UI, just art and music
  • Keyboard controls — pause, next, shuffle, quit
  • Offline fallback — if the network scrape fails, falls back to the built-in curated catalog instantly

Usage

eastern-night                # Launch with intro splash
eastern-night --no-intro     # Skip intro, go straight to TUI
eastern-night --focus        # Focus/work mode — minimal UI
eastern-night --no-shuffle   # Play tracks in catalog order
eastern-night --track <id>   # Play a specific track by ID

Key Bindings

Key Action
p / space Pause / Resume
n Next track
s Toggle shuffle
q / Ctrl+C Quit

From source

git clone https://github.com/yourusername/eastern-night
cd eastern-night
pip install -e .
eastern-night

System Requirements

Requirement Notes
Python 3.10+ Uses zoneinfo (stdlib from 3.9+)
mpv Audio playback engine — must be installed
pipx / pip For installing the package
Internet Required for streaming and catalog fetch

About Sharqify

Sharqify is an Arabic jazz and oud fusion artist whose music blends traditional Middle Eastern sounds with modern lofi and jazz sensibilities. Eastern Night is a fan-made project — all music belongs to Sharqify. Please support the artist directly at sharqify.net.


License

MIT — see LICENSE for details.

Eastern Night is a fan project and is not affiliated with Sharqify.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eastern_night-0.1.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eastern_night-0.1.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file eastern_night-0.1.0.tar.gz.

File metadata

  • Download URL: eastern_night-0.1.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for eastern_night-0.1.0.tar.gz
Algorithm Hash digest
SHA256 deb60ce2e4f74ab27587bfb0880ec1dd2b136a92277f67d04be311307ae29358
MD5 28b0820d029a7b415b1e40de613cce43
BLAKE2b-256 1a802b6165ceb993b6a5158c8a33efea68d1ecfe7c0bcbe74539e985709866a7

See more details on using hashes here.

File details

Details for the file eastern_night-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: eastern_night-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for eastern_night-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00c49e39574d47ae2780bf65074f3218fa32cbde7c9daf1857275bb01359b468
MD5 9f1ef4997943d8333b477b5f741c0ff4
BLAKE2b-256 2fca5fd5054de384b1fcf437c60bd50d772430ea53decfc234d89114668e0a4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page