python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.44k stars 587 forks source link

Eel with ability to make push notifications within js #293

Closed yusuf8ahmed closed 4 years ago

yusuf8ahmed commented 4 years ago

I've played around with Eel a little bit and it is amazing!

I'm building a personal app and I wanted the ability to create custom push notifications in javascript. I have the whole system built but I think this feature would be very beneficial for the broader Eel community

I am willing to personally work on the PR for this feature. Can I get some guidance or advice on how to proceed? Appreciate it!

o7ja4 1

ncotrb commented 4 years ago

Hi, modern browsers support desktop notifications using Javascript. Keep in mind that user must explicitly agree to these notifications. Here is a good example script: https://developer.mozilla.org/en-US/docs/Web/API/notification#Examples

Alternatively you could search for a Python library: https://www.devdungeon.com/content/windows-desktop-notifications-python