Topic: MangaReader.net Checker

I wrote a script to display the unread manga count in conky
and thought sharing it with you (for people who read manga)

http://pastie.org/2769178

The Script checks only the site mangareader.net for now.
The Script maintains a mangaList.txt file there all read mangas are saved in 2 columns.
First column is manga name (how it is written in the websites url link).
Second column describes the read count.

Last edited by Divakarsd (2011-10-27 19:01:58)

Re: MangaReader.net Checker

wait, how does this script work and would I need an account?  Usually, I just download my manga and read it on whatever device I have (useful during times of limited bandwidth).

Re: MangaReader.net Checker

@sunfizz98
how do you download the mangas? I use this.

@divakarsd
can you show your conky+script in action? its a nice idea which i might be able to combine with my script. (mind if I make some code suggestions?)

luc

Re: MangaReader.net Checker

usage/help from Script:

usage: '"$0"' Options
#######################
Options:
-h          prints this help
-f          read from cache
-k          update cache in background if -f option is given
-p          print in human readable format
-c          print the the amount of new mangas
-s          prints the amount of new mangas in symbols
-m          generates openbox menu
-u  manga   update manga list with the specific manga, or
            updates all if \"all\" is given as argument
-l  file    specify manga list file
-a  file    specify cache file
-g          generate a example mangaList.txt file
-b  browser use specified command to open site
-j  manga   open the spezified manga in browser and marks as
            read, needs -n option too
-n  number  open the spezified manga chapter in browser and
            marks as read, needs -b option too
#######################
Example:
    Terminal:
        '"$0"' -p
    Conky:
        ${execi 30  '"$0"' -f -k -p}
    Openbox menu:
        <menu execute="'"$0"' -f -m " id="mangaReader" label="Mangareader.net"/>

Screenshots:

Desktop pc:
   
    Conky configuration:
    https://bbs.archlinux.org/viewtopic.php … 0#p1002080

    Manga checker in conky:
    http://thumbnails39.imagebam.com/15600/583603155995515.jpg

Eee pc:
    Manga cheker openbox pipe menu:
    http://thumbnails46.imagebam.com/15600/8a77ca155994283.jpg

Clicking on the menu entry opens the page in browser (variable in Script) + updates mangaList.txt reading count

I usually read the manga in the browser with AutoPager.

You dont need to be registered to use this script.
(Your reading list is kept on the pc and only you know about it)

License is GPL v3 (forgot to add to the source code)
Feel free to make any modifications you like

Last edited by Divakarsd (2011-10-27 09:30:52)

Re: MangaReader.net Checker

So it counts only mangas called via the shell entry. I see.

I'm so meta, even this acronym

Re: MangaReader.net Checker

it also shows (if needed) for with manga there is a update available (-p Option).

Example
run:        $ ./mangaReader.sh -p
output:    naruto 560 -> 561

Output means:
    A update for Naruto is available.
    560 was last read chapter
    561 is new unread chapter

Conky is used to know then a update is available ( using a send-notify would be to disruptive)

Clicking on the "naruto 560 -> 561" Menu entry in openbox:
1. Opens "http://www.mangareader.net/naruto/561" in Firefox (another browser can be set with -b Option)
2. Changes the read count 560 to 561 in the file mangaList.txt. So next time then the script is run naruto wount be listet.

Last edited by Divakarsd (2011-10-27 13:08:40)

Re: MangaReader.net Checker

@luc
I basically go to evil-empire.net and download mangas by the volume as rar or zip packages and read them with Comix.