https://github.com/ruddra/apple-feed-notifier
AppleFeedNotifier is a simple python applications for creating notifications in OSX from rss feed.
https://github.com/ruddra/apple-feed-notifier
feed feed-parser osx python
Last synced: about 1 year ago
JSON representation
AppleFeedNotifier is a simple python applications for creating notifications in OSX from rss feed.
- Host: GitHub
- URL: https://github.com/ruddra/apple-feed-notifier
- Owner: ruddra
- License: mit
- Created: 2016-01-25T13:32:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-20T00:26:39.000Z (over 2 years ago)
- Last Synced: 2025-03-02T01:57:34.439Z (about 1 year ago)
- Topics: feed, feed-parser, osx, python
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Apple Feed Notifier
AppleFeedNotifier is a simple Python application
for creating notifications in OSX from an RSS feed.
## Usage
1. Run `pip3 install -r 'requirements.txt'`
2. Now run this application using
```sh
python feed_notify.py -nt 5 -ct 60 -t 'Django Latest' \
-u 'https://stackoverflow.com/feeds/tag?tagnames=django&sort=newest'
```
Obviously, change the options according to your preferences,
especially the `-t` and `-u` option arguments.
To use from a Python script,
```python
from feed_notify import FeedNotifier
FeedNotifier(
'https://stackoverflow.com/feeds/tag?tagnames=django&sort=newest',
'Stack Overflow: New Django posts').watch()
```
The class is small and easy to understand, and easy to subclass
if you want to use a different notification mechanism, for example
(the AppleScript notifications this produces are rather lackluster,
and clicking them brings you to the Script Editor instead of
opening the associated URL like you would perhaps hope).
## Tutorial
Please visit
http://ruddra.com/2016/01/26/make-apple-notifications-from-rss-feed-using-python
to see how I did it.
## Feel free to contribute :)