Skip to main content

Custom terminal welcome messages, pokemon ASCII art, and random one-liner!

Project description

poketerm

PyPI version Downloads Downloads Downloads

Get greeted by custom message and/or

Pokemon ascii art and/or

A random one-liner when you switch your terminal on inside a dialog cloud

alt text

Example output

Poketerm demo

Installation

Alternate installation instructions -> https://youtu.be/JBUYfeah5c8

$ sudo pip install poketerm

NOTE: You need sudo permission for the package to work

Turn on poketerm

$poketerm -t 1

Poketerm sets POWERLEVEL9K_INSTANT_PROMPT=quiet when updating zsh configs and places it at the top of the file to avoid Powerlevel10k instant prompt warnings.

Turn off poketerm

$poketerm -t 0

NOTE: make sure to turn off poketerm before you uninstall it!

Poketerm help

usage: main.py [-h] [-p {bulbasaur,dugtrio,meowth,pikachu,noascii}] [-l]
               [-o {0,1}] [-m MESSAGE] [-t {0,1}] [-d {0,1}] [-s]
               [--support]

Display a Custom Message, a Pokemon ASCII Art and a Random Oneliner.
NOTE: Remember to turn off poketerm using -t 0 tag before you uninstall
it

optional arguments:
  -h, --help            show this help message and exit
  -p {bulbasaur,dugtrio,meowth,pikachu,noascii}, --pokemon {bulbasaur,dugtrio,meowth,pikachu,noascii}
                        pokemon name for ASCII art. [noascii] for disabling
                        ASCII art
  -l, --list            list available pokemons
  -o {0,1}, --one-liner {0,1}
                        turn one liner on [1] or off [0]
  -m MESSAGE, --message MESSAGE
                        custom message to be displayed in the start. [nomessage] for
                        no message
  -d {0,1}, --dialog {0,1}
                        turn dialog cloud on [1] or off [0]
  -t {0,1}, --turn-on {0,1}
                        turn on poketerm [1], turn off [0]
  -s, --show            run poketerm with the active configuration
  --support             print sponsor/donation URL and exit

List of available pokemons

$ poketerm -l
Available Pokemons are
pikachu

|\_                  _ 
 \ \               _/_|
  \ \_          __/ /
   \  \________/   /
    |              |
    /              |
   |   0       0   |
   |       _       |
   |()    __    () |
    \    (__)      |
bulbasaur
 
            ____M___
           (  /   \ \
     \ ----/\ (    ) )
     / O  O  |---- _/
    |   _         \
     \__U____/ _(  |
      |_/   |_/  |_/
dugtrio

              _______
             /       \
            |  0   0  |
          __|__  <>   | 
         /     \    __|__
        |       |  /     \
        | 0  0  | / 0  0  |
        |  <>   |/   <>   /
        |       |        /
       0oOwwwWwwOOoowwwwww
meowth

                ___                       ___ 
               |   \_    ^        ^     _/   |
               |     \_ | |      | |  _/ __  |
               |       \| | /""\ | | / _/  | |
               |    __..|"||____||"|../.  /  |
         __     \_ /    | ||____|| |    \/ _/    __ 
         \ """--__:      v  \../  v      :__--""" / 
          ""--___/     ____       ____    \___--""
                .     (_||_)     (_||_)    .
        ________|_                        __|_______
        \__________                       _________/
                .        __________        .
                  .      \   __   /      .
                    .     \_/__\_/     .
                      .              .
                        "..........."
noascii

Change Pokemon ASCII art

$ poketerm -p meowth

Change Custom Message

$ poketerm -m "Your Message Here"

Random one-liners and the dialog cloud are enabled by default. Disable them with the following commands or re-enable them as needed.

Turn off Random One-Liner

$ poketerm -o 0

Re-enable dialog cloud

Enabled by default; use this if you've disabled it.

$ poketerm -d 1

Turn off dialog cloud

$ poketerm -d 0

Turn off pokemon ascii art

$ poketerm -p noascii

Turn off Custom Message

$ poketerm -m nomessage

Support the Project

Poketerm is completely free and open source. If it brightens up your terminal and you blaze past 10,000 runs (there's a gentle reminder when you do!), please consider supporting its continued development.

GitHub Sponsors

Acknowledgments

Thanks to (http://silgro.com/fortunes.txt) for their one-liner database.

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

poketerm-1.0.1.tar.gz (239.8 kB view details)

Uploaded Source

Built Distribution

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

poketerm-1.0.1-py3-none-any.whl (240.0 kB view details)

Uploaded Python 3

File details

Details for the file poketerm-1.0.1.tar.gz.

File metadata

  • Download URL: poketerm-1.0.1.tar.gz
  • Upload date:
  • Size: 239.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for poketerm-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ddb30bda968641d7efcdf492a39d7091836291adf7bf654582837962e8ae96bd
MD5 fd2fc6bbb62b42b628e98a469b9dca5a
BLAKE2b-256 a43175ba64ae1275b71a7d306f3e62dc411d3519694d557f42fb03d8b625a9b5

See more details on using hashes here.

File details

Details for the file poketerm-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: poketerm-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 240.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for poketerm-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70c82e053ef0810045ba82683c8e1198ea1cd741b50ac86c0a20dfd311527311
MD5 ef474bee0c0e672786c32e82c448c26f
BLAKE2b-256 70f176ab0ead0c8bed184757d9f1c08998735d8fdf0a8c30e3744358d7993df5

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