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.

Files for inappropriate-notifications, version 0.3.7
Filename, size File type Python version Upload date Hashes
Filename, size inappropriate_notifications-0.3.7-py3-none-any.whl (2.8 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size inappropriate-notifications-0.3.7.tar.gz (2.5 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page