GithubHelp home page GithubHelp logo

dstark5 / openlib Goto Github PK

View Code? Open in Web Editor NEW
782.0 12.0 39.0 7.33 MB

An Open source app to download and read books from shadow library (Anna’s Archive)

License: GNU General Public License v3.0

Kotlin 0.06% Swift 1.06% Objective-C 0.02% Dart 75.17% CMake 9.79% C++ 12.21% C 0.73% HTML 0.95%
annas-archive books ebook-reader flutter open-source shadow-library android epub library-genesis pdf

openlib's Introduction


Hello 👋

I`m Dinesh  😇

I like to code  🚀

Typing SVG

My Stats


openlib's People

Contributors

basitali1509 avatar bipinkrish avatar dstark5 avatar inson1 avatar izzysoft 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openlib's Issues

One handed UI enhancement

Phones these days are too tall for your thumb to reach the top of the screen. And in most Samsung system and other apps. When you pull down on the screen the bars and buttons get down while the small title on the top left of the screen gets expanded and put in the top center position. It's a very small feature but adds a lot to ergonomics.

Reduce Captcha

It would be better if the User could login(This may require webview with cookie capture, IIRC)

This would help with reducing pesky captcha screens (I assume the site uses cookies to authenticate).

Allowing user to set a random or custom user-agent string also might do the trick

Question on permissions

Scanner report for today's update reads:

! repo/com.app.openlib_2008.apk declares sensitive permission(s): android.permission.READ_MEDIA_IMAGES android.permission.READ_MEDIA_AUDIO android.permission.MANAGE_EXTERNAL_STORAGE android.permission.READ_EXTERNAL_STORAGE

image

I guess READ_EXTERNAL_STORAGE is for eading downloaded material (as WRITE_EXTERNAL_STORAGE is to save eBooks; together with MANAGE_EXTERNAL_STORAGE on Android 11+). Can you confirm this?

What I however do not understand (at least going by the app description) is what media access (images and audio) is needed for. A clarification would be much appreciated!

As for DEPENDENCY_INFO_BLOCK: this can probably be avoided easily via some gradle settings:

android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

For some background: that BLOB is supposed to be just a binary representation of your app's dependency tree. But as it's encrypted with a public key belonging to Google, only Google can read it – and nobody else can even verify what it really contains.

Back button needed

Add a back button on the top left, near the Openlib logo. It just feels natural.
Screenshot_20230824-190133~3

Themed icon

Can you please add a themed icon for the app?

App version for Linux

Just wanted to ask if there will be build for other OS's like Windows and Linux , i use linux so i would like to know if there will a version coming out for Linux

[BUG] "no results found" again

yes I'm using newest version v1.0.3-beta.2

#49

PS change app version every time please :)

EDIT
sorry for spam, I'm just reorganizing my solved issues - jg8tzJHCu0Qcc1zJGcht

Download location

hello bro i loved your app but idk something where is the download location for books

Downloaded files not verified?

I may be misreading the code, but it doesn't seem like the file contents downloaded from mirrors in lib/services/download_file.dart are verified with the annas-archive md5 hash anywhere. Since third party mirrors can host whatever they like, this is an important step to avoid handing users potential malware. Is it maybe done somewhere I'm not seeing?

Grey overlay on failed download after checking mirrors

When attempting to download any book, (this is with a VPN on as without it the download fails instantly), the app checks for mirrors for ~5 seconds, then the looping circle animation turns into a checkmark ✅ (but the 0b/0b and the loading bar do not change).
Then the screen turns grey with an overlay and the app is unresponsive. After restarting the app, the book is not in the library.

I'm on Android 13, running Openlib 1.0.4

Is there a way to share the logs? Happy to do so if available.

Here are some features suggestions.

New settings page.

  • Change theme to dark or white (when material you theming is added.)
  • Change Download location

improvements to search.

  • Improve the filter. Currently you apply the filter then you have to search again make it so you can still apply filters while being in a search.
  • add more filters. Years, authors, etc...

improvements.

  • if one link doesn't work it should try a different mirror download link
  • if there is no description it should say "No description was found"
  • give language, filename more space.
  • add more features like number of pages...etc.

No Results

I am using a vpn and latest version of the app. Whenever I am clicking on anything or searching anything it's showing no results.
IMG_20231209_112929

Chapters not available in internal reader.

Add this book
Screenshot_20230813_003554

Internal reader parses the epub wrong. None of the chapter contents is available to be read. However opening the epub file with an external reader like librera you can read it just fine.

[Feature request] Archive

It would be great for managing books, which I already read or which just work as now some downloaded books dont work

Option to add/remove it from Archive
2 options in My Library in header- My Library, Archive

BUG: Search process should not work when the search field is empty

Description

When the search field is empty and the search icon is pressed, it still processes and displays 'No Results Found' instead, it should not even process when the field is empty, it must throw a snack bar indicating to the user that the "search field is empty".

Issue Display

screen-20230912-004721.mp4

Solve Captcha

When I open any book from the list, it asks me for a captcha, then I solve it by clicking on the correct box, then it loads and repeats again, and thus the information does not open the book, and the captcha solution remains the only one to read the book.

I/chromium( 6105): [INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'browsing-topics'.", source: (0)
I/chromium( 6105): [INFO:CONSOLE(0)] "Error with Permissions-Policy header: Unrecognized feature: 'hid'.", source: (0)
I/chromium( 6105): [INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.", source: (0)
I/chromium( 6105): [INFO:CONSOLE(0)] "Error with Permissions-Policy header: Unrecognized feature: 'payment'.", source: (0)
I/chromium( 6105): [INFO:CONSOLE(0)] "Error with Permissions-Policy header: Unrecognized feature: 'serial'.", source: (0)
I/chromium( 6105): [INFO:CONSOLE(0)] "Error with Permissions-Policy header: Unrecognized feature: 'usb'.", source: (0)
Screenshot_20231118-053403
Screenshot_20231118-053411

versionCode not increased?

Looks like you forgot to increase versionCode with each release. As this is what Android uses to tell versions apart, nobody received any update notification (so some might still sit on an old release, unaware of any updates being available). It is currently still set to 1 (the part following the +). Can you please take care to increase it with each future release? Thanks in advance!

Showing error on opening book

Stack Trace
#0
(package:dio/src/dio_mixin.dart:507) #1
#2
future_impl.dart:174) #3
(dart:async/future_impl.dart:852) #4
future_impl.dart:873) #5
future_impl.dart:649) #6
future_impl.dart:60)
#7
future_impl.dart:26) #8
#9
#10
future_impl.dart:171) #11
(dart:async/future_impl.dart:852) #12
future_impl.dart:873) #13
future_impl.dart:649) #14
closure> (dart:async/future_impl.dart:550) #15
schedule_microtask.dart:40) #16
schedulemicrotask.dart:49)

Open external links to wrong app.

Hi,
Great app and since the latest release it now downloads fine - many thanks.

But I have a problem when I set the 'use external reader' (I use readera). It takes the link across to my contacts app not the reader.

So, I can't save the file. And as I'm not rooted, I'm unable to locate the book and move it - or rename it.

Possibly I can change something to get my system to load my preferred reader?

Or possibly an option to change the location of the saved file?

Anyhow, thanks for the work you're putting into this - much appreciated.

File Type on the Search Page

I think it is necessary to be able to see the file types of the books directly on the search page before entering the book page.

Set Main Language (catalogue and search)

Hi, thank you for your app. I was wondering if it is possible to add a new setting to select the main language for the catalogue and the search query in annasarchive website. Currently I couldn't find any way to set this and it would be beneficial for foreign users.
I don't know about the catalogue and suggested books, but annasarchive has a setting to search for a specific language.
Thank you!

can't download files

hello, there is a problem with downloading files, even with VPN there is an error "download failed, try again."
some files are starts downloading but eventually get stuck in a middle
Screenshot_20231117_230309

Theming

Would be nice if this was material you, or at least add dark theme.

No mirror available

Screenshot_20240215-153959

Whenever I touch the icon add to library their always comes a pop up message no mirror available please is solve this issue.🙏

No mirror found

No book is downloading every time popup says no mirror found.
#bug

Failed to download any book

No matter what book I tried, it was always "Download failed"

BTW, I used the proxy cuz I am in China.
Screenshot_20240211-225014_Openlib

How can I fix it?

[Feature Request] Support to save files in /sdcard/ directory.

Hi,
I request you to add storage support for the app. Right now I am not able to move files out of /data/data/com.* folder.

Or can you please provide debuggable releases, so that we can get files via "run-as" as I already have access to adb shell via rish in termux with Shizuku

adb shell
run-as com.your.packagename 
cp /data/data/com.your.packagename/

Thanks

No result Found Problem.

After two days of downloading app whenever I try to open any book to download it says no results found for each and every book.

[Feature request] System theme

There is already Dark theme, Light theme, but there should be 3. option - System theme - that just follows whatever the system theme is. And it should be the defaut option.

Reasons

  1. I dont want to change themes in all my apps, if I want to change theme, I change theme of my device
  2. On first opening I want to see system theme - default theme is right now light theme - there is reason if I set dark theme as my system theme

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.