Skip to main content

Display inappropriate notifications at random intervals

Project description

https://badge.fury.io/py/inappropriate-notifications.svg

Ever want to get inappropriate notifications on your computer while you’re presenting? Well now you can!

Based off the homepage of https://muzzleapp.com/. Check out their website to see an example of what this does.

This program uses notifications from https://muzzleapp.com/notifications/notifications.json, as well as those we came up with ourself.

User names and images downloaded from https://randomuser.me.

Requirements

Linux

python3.6+ libnotify

Windows

python3.6+ win10toast (installed automatically)

Installation

pip install inappropriate-notifications

Alternative installation

git clone https://github.com/riley-martine/inappropriate-notifications.git

cd inappropriate-notifications

python3.6 setup.py install

Usage

Display help: inappropriate-notifications -h

Display one inappropriate notification: inappropriate-notifications --once

Display notifications about 2 seconds apart: inappropriate-notifications -t 2

Display 20 notifications about 5 seconds apart: inappropriate-notifications -c 20 -t 5

Caveats (To fix / to-do)

  • Only tested on Debian+Gnome and (at some point) Windows 10 (MacOS and Windows 7 on roadmap)

  • Relies on libnotify on Linux

  • Icons are for Mac apps when on windows

  • No fields on notifications (reply, dismiss) where applicable

  • Does not pull names/images from people you know when applicable

  • Only suited to work env – students don’t need messages about getting fired

  • No tests

  • No version command line argument

  • ctrl-c when running command line should fail nicer

  • Right-to-left names mess up first line

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

inappropriate-notifications-0.3.7.tar.gz (2.5 MB view hashes)

Uploaded Source

Built Distribution

Supported by

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