Work in progress GBATemp notifier written in 100% bash

Discussion in 'General Off-Topic Chat' started by MarcusD, Dec 24, 2015.

  1. MarcusD
    OP

    MarcusD WOODMILLS!

    Member
    9
    Oct 16, 2015
    Austria
    Austro-Hungarian Monarchy
    It's nothing fancy, just a generic notifier script written in 100% bash :P What do I mean by that? It only uses builtin binaries like curl, sed, grep, tr, and xargs :teach:

    Screenshots

    Note: I don't want to take others' ideas, I saw @gudenaurock working on a GBATemp notifier too, but seeing its style I think it's Windows-only, so I made something similar for Linux systems :D

    Also, happy christmas!
     
    Last edited by MarcusD, Dec 24, 2015
    cearp, Xenon Hacks and Jack_Sparrow like this.
  2. VinsCool

    VinsCool Neges Singula

    Member
    24
    GBAtemp Patron
    VinsCool is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jan 7, 2014
    Canada
    Another World
    Is there a possible .bat port? or it's not that simple?
     
  3. MarcusD
    OP

    MarcusD WOODMILLS!

    Member
    9
    Oct 16, 2015
    Austria
    Austro-Hungarian Monarchy
    It's not really possible xD Only if you have msys/cygwin + a notify-send port, only then.
     
    VinsCool likes this.
  4. Ridge

    Ridge The Queen Anemone

    Member
    3
    Sep 10, 2015
    United States
    Lunatea
    This is really cool! Nice work :yay:
     
  5. Ammako

    Ammako GBAtemp Guru

    Member
    10
    Dec 22, 2009
    Canada
    Interesting
    Personally I always have a GBAtemp tab up so if I get a notification, I see it right away anyway. But this could be good for people who really want to keep track of their notifications and won't be keeping their internet browser up very often.
     
  6. Lucar

    Lucar GBATemp's Resident Ferret

    Member
    4
    Sep 12, 2015
    Canada
    Or for people like me who are fucking autistic and don't notice the small notification box in the page itself or the icon in the userbar or the tab icon changing

    i know it's not just me
     
    Tomato Hentai likes this.
  7. ihaveamac

    ihaveamac GBAtemp Guru

    Member
    14
    Apr 20, 2015
    United States
    Tigard, OR
    if you have a mobile device, you can get notifications to it. http://i.imgur.com/z2MYfgF.jpg
     
  8. Lucar

    Lucar GBATemp's Resident Ferret

    Member
    4
    Sep 12, 2015
    Canada
    Nope, Windows 10/Mac OS X Yosemite.
     
  9. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    11
    Dec 19, 2014
    Antarctica
    I think he meant not with this software, but with Tapatalk.
     
  10. Lucar

    Lucar GBATemp's Resident Ferret

    Member
    4
    Sep 12, 2015
    Canada
    I know, and I'm saying that those two OS are the ones I use to browse GBATemp most often.
     
    SomeGamer likes this.
  11. ihaveamac

    ihaveamac GBAtemp Guru

    Member
    14
    Apr 20, 2015
    United States
    Tigard, OR
    and I never stated that I use iOS for browsing that much, only notifications...
     
  12. Duo8

    Duo8 I don't like video games

    Member
    8
    Jul 16, 2013
    duo8@PC-HNW:~$ curl
    The program 'curl' is currently not installed. You can install it by typing:
    sudo apt-get install curl


    Uh huh. "Built in".
    The others are also not bulit-in bash functions.
     
  13. MarcusD
    OP

    MarcusD WOODMILLS!

    Member
    9
    Oct 16, 2015
    Austria
    Austro-Hungarian Monarchy
    These binaries are built-in for me :P But yeah, you are right too, now every distro has these binaries preinstalled. What should I change the title to then? The title is perfectly accurate for my setup.
     
  14. Duo8

    Duo8 I don't like video games

    Member
    8
    Jul 16, 2013
    The script should check for the needed programs, and tell the user to install them if they don't have it. Better yet, package the script and add them as dependencies.

    I use ubuntu, which does not come with curl.
     
    Ammako and MarcusD like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice