https://github.com/ewpratten/motd
💬 My script for displaying information in my terminals
https://github.com/ewpratten/motd
motd python37 shell-script
Last synced: 7 months ago
JSON representation
💬 My script for displaying information in my terminals
- Host: GitHub
- URL: https://github.com/ewpratten/motd
- Owner: ewpratten
- License: mpl-2.0
- Created: 2019-08-30T16:54:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-30T19:34:42.000Z (over 6 years ago)
- Last Synced: 2024-10-30T18:48:32.733Z (over 1 year ago)
- Topics: motd, python37, shell-script
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# motd
💬 My script for displaying information in my terminals
## Installation
This is just a script, not a full tool. To use this, just grab the `motd.py` file, and run it on any computer with `python3.7` installed. To start MOTD with your shell, add `python3 /path/to/motd.py` to your shell's RC file (I use `~/.zshrc`).
## Modify the flags
To use your own GitHub account, or override other settings, refer to the flags listed in the program help:
```
usage: motd.py [-h] [-g GITHUB_USERNAME] [-o GITHUB_ORG]
optional arguments:
-h, --help show this help message and exit
-g GITHUB_USERNAME, --github-username (default Ewpratten)
-o GITHUB_ORG, --github-org (default frc5024)
```
## Features
This MOTD script will give a small printout when run. This includes:
- Current time
- Current date
- Number of GitHub issues
In the future, a simple weather readout may be added.
## Example
Here is an example from my laptop:
```
Welcome ewpratten!
It is currently 3:28 on Fri August 30, 2019.
You have 4 issues open on GitHub. View them here: https://lynkz.me/zsWWvEn
```