Giter VIP home page Giter VIP logo

manga-cli's People

Contributors

alexfreik avatar hache0099 avatar prsh11 avatar thamognya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

manga-cli's Issues

Nothing downloads in .cache/manga-cli/ and then EOF

so I do in my home directory
$ manga-cli
Search manga: chainsaw man
[1]Chainsaw Man
Enter Number: 1
Enter chapter number: 82
EOF

Nothing happens after this and ~/.cache/manga-cli is empty
Tested with a few different mangas, same thing every time

macOS Installation

Hi guys! I managed to run it on macOS, it would be nice to add the instrucions into the README.md.

Installation:

  1. Dependancies
    brew install pup
    brew install imagemagick  # for .pdf support
    brew install zathura  # don't forget to follow the set up instructions (brew will guide you)
    brew install zathura-cb  # don't forget to follow the set up instructions (brew will guide you)
    bew install bash  # plugin requires new version of bash 4.xx, while macOS uses 3.xx
  2. Install the plugin. It is the same as with Linux
    git clone https://github.com/prsh11/manga-cli.git && cd manga-cli
    sudo cp manga-cli /usr/local/bin/manga-cli
    

Some manga like Toradora! isn't downloading.

I have tested this with multiple different manga, some like One Punch Man and One Piece work perfectly, while others like Toradora! don't. They don't appear in ~/.cache/manga-cli. When I try to read Toradora! it gives me an error saying: error: cannot open /home/user/.cache/manga-cli/Toradora!-1.pdf: No such file or directory
error: could not open document
It opens zathura with a black screen and [No name] in the bottom left corner, and a title saying: org.pwmt.zathura. I am using arch linux with xfce, and terminology as the terminal.

Edit: I am suspecting this is because the manga Toradora!, has an exclamation mark in the name, but I am not sure yet

CBZ viewer is lacking

Is it possible to convert .cbz files into .pdf before oppening them? Zathura CBZ viewer doesn't provide decent experience for me. Also we would get rid of one of dependancies this way

[Feature Request]: pdf instead of cbz

I would like to use this on a mac but zathura and zathura-cb don't work. Now this works perfectly on my Linux machine but I would like to try to use this on a mac. I am requesting a change of complication from cbz to pdf if possible or any recommendations for cbz viewers that can be accessed via the terminal like zathura.

Make an AUR git package

Right now there's one but its not the main repo, it seems to be from a forked one. Can you please make a manga-cli git package for AUR

zip and rm not working with " "

manga-cli was giving out
"error: could not open document"
I figured it was because rm and zip was not working properly with the arguments $image_dir enclosed by " in the create_file() function

zip -q $image_dir$name-$chapterNumber.cbz $image_dir*.jpg
rm $image_dir/*.jpg

works fine for me.

could not open document

every manga i try to open i always get a failure of

next chapter (n)
quit (q)
previous chapter (p)
Enter Option: error: could not open document

i've tried opening other things with zathura and i don't have any issues with them, so is it something on my end or am i mising something.

An option to extract it in CBZ too

PDF format sure is great to read all content, but recently I have noticed that in some chapter all images would be spaced a lot.

But then I zip them into CBZ, that space was not there. Although spaces still exist for webtoons (long strip)
Manga are better available in CBZ format, so why not.

I simply uncommented convert command and added another command like
zip $image_dir$name-$chapterNumber.cbz $(ls -v $image_dir*.jpg)

Also, Can the steps/script be task spooled (tsp) ? Like process in background?
I have added
tsp zathura "$image_dir$name-$chapterNumber.cbz"

So zathura is not integrated into terminal

I thought this was scraping mangareader(dot)to
It looks to be easily scraped too.
Finally, nice script !
Made me easy to glimpse and pilot study some manga

better usement of pup

When using pup please use "-p" because I've noticed, so far, that pup changes apostrophes to the HTML code for an apostrophe. Thanks!

Line 58 error

line 58: [: =: unary operator expected

any ideas on how to fix this

Listing rework

As the old listing command lend to numerous errors which stopped the main function of the script. I am thinking reworking like this:

manga-cli -l <manga-name>

this command will list the commands. I am open to any suggestions

missing function or typo?

the --pdf option does not work and tries to call a function named "download_manga" which doesn't exist

Error: Unknown file type: 'inode/x-empty'

I get the error message error: Unknown file type: 'inode/x-empty'

It works in the search feature, selection features but gets an error after that. I have all the dependencies and am not sure where the problem is.

Pages downloading, but disapearing

So the pages are disapearing from ~/.cache/manga-cli before it can open the document. I also get an error saying: error: could not open document. Zathura just shows a black screen

html character decoding error and a could not open document error

when i run your program and enter "ijiran" i get

[1]Ijiranaide, Nagatoro-San
[2]Please Don't Bully Me, Nagatoro Comic Anthology

there is a "'" instead of an apostrophe.

secondly when i tried to select "Ijiranaide, Nagatoro-San" i would get "error: could not open document". but, when i opened Jujutsu Kaisen it would work. I really admire your efforts in creating a manga-cli and I would really love to see it improve!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.