Script to show News Headline as a notification
Execute the main.exe
- Clone the repository
- Run go get -v github.com/martinlindhe/notify
- import news package from this repo.
- Call GetHeadlinesNotifications() function to trigger notification.
- Call getHeadlines() function with suitable params to get headlines news without any notification
This script uses India as the location and category as technology, you can update that again. You are welcome to add features.
- Cron Job to display news at an specified interval
- Click on notification to redirect to the page