Giter Club home page Giter Club logo

aurora's Introduction

Hello 👓

  • 🐇 Follow the white theme.
  • 🥄 There is no IDE ...
  • 🧠 Free your memory.
  • 📝 Blog

👇🏻 Open Source projects by me: 👇🏻

aurora's People

Contributors

dependabot[bot] avatar funkymuse avatar solidogen 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

aurora's Issues

Black theme

For the sake of consistency, I'd definitely need a black theme. The current dark theme is pretty good, a black theme would be just a few shades darker with the background being #000000.

[FR] book card improvements

  1. make book name and Author copy-able.
  2. make a small link to search books of the same author (in the Search tab).

[FR] improve download

You made in-app downloading, this is great! And I'm sure it is possible to improve it:

  1. change download target to getExternalFilesDir(). This requires no additional permissions yet brings many users (at least pre Android11) access to it without copying.
  2. Open the downloaded files with e-book reader(s) through intent. Also a no cost operation.
  3. loop through mirrors while downloading till success. Probably split "Download mirrors" button to "Download" and "Web download" for that.

Bonus notes (minor bugs):

  1. Book name containing a small dash (-) is cut after that char for downloaded file name.
  2. Navigation from Favorites to Search brings user to Downloads.

Warn if user is without a VPN

if they are not on a VPN connection.

Most people would prefer that their activity on libgen stays hidden and to eliminate any potential mistakes.

Adaptive icon

Support for adaptive icons would be nice. The app looks a bit out-of-date in the launcher nowadays

Crash report

Stacktrace

java.lang.IllegalStateException: You cannot access the NavBackStackEntry's ViewModels until it is added to the NavController's back stack (i.e., the Lifecycle of the NavBackStackEntry reaches the CREATED state).
at v3.f.h(:4)
at a2.a.k(:2)
at w3.k.b(:1)
at w3.k$a.I(:1)
at n0.b.I(:1)
at g0.v.a(Unknown Source:30)
at w3.k.a(:5)
at w3.t$b.H(:1)
at n0.b.a(Unknown Source:48)
at n0.b.H(Unknown Source:8)
at r.u$a.I(:17)
at n0.b.I(:1)
at r.u.a(:26)
at w3.t.b(:104)
at w3.t$c.I(:1)
at g0.i.h0(:27)
at g0.i.s(:6)
at g0.i$h.p(:8)
at g0.b2.f(:4)
at g0.i.V(:12)
at g0.i.g0(:2)
at g0.s.q(:2)
at g0.h1.o(:5)
at g0.n1$a.L(:24)
at i1.a0$c.doFrame(Unknown Source:8)
at i1.z.doFrame(:3)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1092)
at android.view.Choreographer.doCallbacks(Choreographer.java:917)
at android.view.Choreographer.doFrame(Choreographer.java:840)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1079)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:238)
at android.app.ActivityThread.main(ActivityThread.java:7798)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)

END of stacktrace

Thread info

Name: main
ID: 2
State: RUNNABLE
Priority: 5
Thread group name: main
Thread group parent: system
Thread group active count: 42
Thread time: 0 hr 0 min, 14 sec

END of thread info

Device info

Report ID: ac7a97c1-b4b4-4592-8169-8e65a2a94943
Device ID: removed
Application version: 3
Default launcher: com.saggitt.omega.dev
Timezone name: India Standard Time
Timezone ID: Asia/Kolkata
Version release: 10
Version incremental : 1610416061
Version SDK: 29
Board: sdm710
Bootloader: unknown
Brand: OPPO
CPU ABIS 32: armeabi-v7a, armeabi
CPU ABIS 64: arm64-v8a
Supported ABIS: arm64-v8a, armeabi-v7a, armeabi
Device: OP486B
Display: CPH1955EX_11_C.14
Fingerprint: OPPO/CPH1955/OP486B:10/QKQ1.190918.001/1610416061:user/release-keys
Hardware: qcom
Host: CP-ubuntu-123
ID: QKQ1.190918.001
Manufacturer: OPPO
Product: CPH1955
Build time: 1611348931000
Build time formatted: 23-01-2021 02:25:31
Type: user
Radio: Q_V1_P14,Q_V1_P14
Tags: release-keys
User: root
User IDs: N/A
Is sustained performance mode supported: No
Is in power save mode: Yes
Is in interactive state: Yes
Is ignoring battery optimizations: No
Thermal status: STATUS_NONE
Location power save mode: MODE_NO_CHANGE
Is device idle: No
Battery percentage: 37
Battery remaining time: N/A
Is battery charging: No
Is device rooted: No
CPU Model: Qualcomm Technologies, Inc SDM710
Number of CPU cores: 8
Up time with sleep: 463 hr 7 min, 17 sec
Up time without sleep: 188 hr 42 min, 19 sec

END of Device info

Exit reasons

N/A

END of exit reasons

Application info

App name: Aurora
Version code: 3
Version name: 1.1.1
Package name: com.funkymuse.aurora
Short package name: aurora
Flavor: N/A
Signatures: qSF/RHPYjm2Y7vNqAZ7ehzvKqVg=
Is debuggable: No
First installed: 14-08-2021 17:41:58
Last updated: 14-08-2021 17:41:58
Requested permissions: android.permission.INTERNET, android.permission.ACCESS_NETWORK_STATE, android.permission.ACCESS_WIFI_STATE
Default prefs: N/A
Default prefs: N/A

END of Application info

Currently running foreground/background processes

N/A

END of running foreground/background processes info

[FR] OPDS backend

like the app UI and functionality. Yet Library Genesis doesn't cover all books of my interest.
It would be great to have Aurora work with OPDS catalogues.

Download Not Working

I tried to download many books but none of them were downloaded via the app, it says that the download is failed. But pasting the clipboard link works.

And when I checked the setting it didn't have any toggle to enable Storage Permission. How would it store the book?

Screenshot_20211111-200949_Permission_controller

'Operation Cancelled' when saving downloaded file without a default 'Files' app set - [Solution (Temporary fix(?)] - Set Default "Files" app (typically(?) AOSP "Files" unless/until an alternative is installed) like Mixplorer (must choose between two optional apps to be the Default choice "Always")

Android 9
Samsung Galaxy Note 8

Solution: select a default files app. This will bypass the 'choose app' window. Im pretty sure thats the kink in the operation which results in 'operation cancelled' when trying to save a file downloaded in Aurora to the phone storage.

[Solution (Temporary fix(?))]: Can't 'export' (from Aurora app's internal storage) to phone internal/external storage) files downloaded in Aurora:

  • it seems the problem is caused by (or at the time of) the *interruption after clicking on the file (already downloaded) in Aurora: "choose application to save your file" / "Just Once" or "Always"— I say "interruption" because by default I had no problem saving these files until recently after I installed MiXPLORER (file manager (AMAZING³)) because that changed my default file manager to "optional" (Before MiXplorer "Files"/stock-AOSP was my only option and was also default (THIS is the important part because clicking the file in Aurora >[led directly to]> Files (file manager) window (choose fokder location to save; SELECT('SAVE'))— THERE WAS NO INTERRUPTION caused by: 'Choose which app: MiXPLORER or FILES / JUST ONCE or ALWAYS', which, only became an option (and the problem it seems) after I installed (MiXPLORER), which, because it became an optional alternative to the Default File Manager it presumably disabled the Default status of "Files" (ie in its "Files" app settimgs > Set as Default; (before Mixplorer Files was The default app to use (perhaps the only app– I don't know if simply installing an alternative (in this case MiXplorer) would trigger the option to choose which app, as opposed to leaving Files set as the default app of choice) after Mixplorer install the Files 'default' setting became disabled, and thisnis when thenproblem began. As soon as I chose MiXplorer as the default app of choice (ALWAYS which is important to note because no longer will the 'Choose which app...' prompt interrupt the flow from 1)choosing and clickimg on the downloaded file in Aurora which 2)goes directly to the 'save as' window (in file manager of choice, aka set to default because I choee Mixplorer Always; Just Once never worked. Furthermore, I tested this by disabling MiXplorer Default settimgs and recreating the problem which happened as before after clicking on file > choose app > select/save > "operation cancelled"... and then again fixed this error by choosing Mixplorer/Always as my default app to use when clicking downloaded file in Aurora. Also of note: following choosing your default app (in my case Mixplorer) "[App Choice]/Always" the error "operation cancelled" will happen once more (because the interruption of choosing the app already occurred; it is when you click on the file next time that it goes directly to the 'save as' window (instead of 'choose which app')...

Some notable observations if helpful:
Without having a default app set:
Saving to a specified location results in a ¹saved 0 byte file. Directly following saving the file (i.e. 1)navigate to desired location/directory in which to save file and 2) click SELECT (Files app), or 'checkmark' (Mixplorer app), or etc.) results in ²"Operation cancelled" popup error message displayed over the Aurora window.
At this point one, two things are of note:

  1. There is ³no option to "delete" the file from Aurora's internal app storage (which typically follows directly after saving the file ('saving' meaning (to repeat myself):...by navigating to the desired location/directory to save the file and then saving by clicking SELECT (Files app), 'checkmark' (Mixplorer), etc.))) , and, ⁴the file remains in Aurora's "downloaded" window. Click on it again, repeat the process as much as you want. Until you select a default files app and thus bypass the 'choose app' window, this "'Operation Cancelled' 0 byte file saved & ⁵*recent app window shows the 'save as' app as if the location was never selected in the firstplace (even though there is now a 0 byte file 'saved' there with the correct filename)... this seems to be the cycle— regardless of all the various options I tried: (changimg apps to save with, locations, internal and external storage, enabling/disabling Hypatia (realtime scanner - which I had just installed so it seemed like the culprit initially), clearing app cache force stopping, deletimg files, redownloading, trying different files, etc. ...) ... pretty much everything until i had an "aha" moment where i remembered using Aurora in the past and there being a flow.. a quick procwss between choosing downloaded file, selecting location, deleting aurora file (saved internally in the app), choosing the next dowbloaded fike to transfer from the app internal storage to the save location of choice... which, even with twenty files downloaded, once a folder location directory is set, the "default" app always returns to that folder and so saving twenty files in the same location becomes a 3-click process for each file (hence the "flow"- its quick)... when I remembered the flow I thought setting a default app might fix the problem, and it didn't work the first time (what I thought might be the firat time, because 'operation cancelled' still popped up) but the second time I soon realized actually was the first time using the previously selected default app (technically, the first time the flow is not interrupted by the 'choose app' dialogue window because it is now 'bypassed'/unnecessary for the first time since the default app was chosen and able to be the missing link/bridge/etc. needed to complete the operation from beginning to end, the 'flow', without any hiccups that cancel the operation).

  2. In the location/directory to where the user navigated and then clicked SELECT(Files) or 'checkmark'(Mixplorer) etc., the filename will exist on a file with a size of 0 bytes (accordimg to both Files and Mixplorer on my phone).

With a default app set:
Well, i think I explained what normally takes place above, and if not, then I think I described what normally should or should not take place, so I am confident I included what I estimated would be:

  1. comprehensive enough to
    Ai) not only (by process of elimination), eliminate any other potential factors/causes (internal/external storage, hypatia scanner causing a stop in file operations, app cache, etc.) and thus rule out any likely or typical problems causers in my past experiences with differential diagnosis and some of the most common and seemingly likely problematic candidates, but also
    Aii) enough relevant information to hopefully pre-emptively answer any questions that have a, in my experience, logical relevance in regards to the process of elimination and/or is universal or common enough in Android to be worth considering as probable value to any potential future persons, with consideration for what I estimate their use case scenario might look like and thus including various potential variations on some of the most relatively common user Android ecosystems/setups that might differ in a number of common ways like: Android Versions, Launchers, apps involved, external storage capability, ...anything likely to be a potential culprit,
    B) fill in any missing information by process of elimination and/or "sudoku"-ing from what info is, is not, is inferred, and/or missing.

01_Aurora file click_172628
02_Copy this file dialogue_172628
03_Files Click-post copy to dialogue_172628
04_Files Save Window_172628
05_operation cancelled_172628
06_Recent Windows-post Oper Cancelled_172628
07_Files Recent showing Save__172628
08_trying mixplorer just once__172628
09_TO EDIT-Mix Save Wind__172628
10_Mix showing both files 0 B_172628
13_Mixplorer Always_172628
14_Mixplorer Always02-Save Window__172628
14b__Op Canc NO DELETE__172628
15_Op Cx_Mix save EDIT MAYBE__172628
16_successful copying_delete window_172628
17_sucess2-ppst_evidence in mixplorer_172628

Add the option to change domains

Libgen sometimes changes them.
Maybe, don't even include the domain with the app? (let the user input the URL since the start in some form of a tutorial)
Let the user add the domain manually at the first start.

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.