From 2280beda0e5d84b5e426b5f7aadc38ae2dfed6a0 Mon Sep 17 00:00:00 2001 From: Kazevic Date: Thu, 27 Jun 2024 03:05:26 -0300 Subject: [PATCH 1/3] Fix typos and reformat some code --- CONTRIBUTING.md | 42 +++-- README.md | 84 +++++---- analysis_options.yaml | 4 +- android/app/src/main/AndroidManifest.xml | 65 ++++--- .../res/drawable-v21/launch_background.xml | 2 +- .../main/res/drawable/launch_background.xml | 2 +- assets/captcha.svg | 65 ++++++- assets/delete_confirmation.svg | 88 +++++++++- assets/empty_mylib.svg | 68 +++++++- assets/error_fixing_bugs.svg | 98 ++++++++++- assets/library.svg | 9 +- assets/no_internet.svg | 54 +++++- assets/no_results.svg | 52 +++++- assets/searching.svg | 51 +++++- assets/undraw.svg | 66 +++++++- .../AppIcon.appiconset/Contents.json | 160 +++++++++--------- .../LaunchImage.imageset/Contents.json | 26 +-- .../LaunchImage.imageset/README.md | 3 +- .../AppIcon.appiconset/Contents.json | 88 +++++----- pubspec.yaml | 2 +- web/index.html | 102 +++++------ web/manifest.json | 66 ++++---- 22 files changed, 875 insertions(+), 322 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 865b013..896e505 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,30 +1,44 @@ -## Openlib Contribution guidelines +# Openlib contribution guidelines -### Getting started +## Getting started -- This project is powered by Flutter. Make sure you have the latest version of Flutter. +- Flutter powers this project. Make sure you have the latest version of Flutter. -- If you want to fix bug or implement a new feature, that already mention in the [issues](https://github.com/dstark5/Openlib/issues), please, assign this issue to you and/or comment about it. +- If you want to fix a bug or implement a new feature already mentioned in + the [issues](https://github.com/dstark5/Openlib/issues), please assign this issue to you and/or comment about it. -- Whether you have to implement new feature, please, open an issue or discussion regarding it to ensure it will be accepted. +- Whether you have to implement a new feature, please, open an issue or discussion regarding it to ensure it will be + accepted. -### Open a pull request -When you're done making changes and you'd like to propose them for review, open your PR (pull request). You can use the GitHub user interface for some small changes, like fixing a typo or updating a readme. You can also fork the repo and then clone it locally, to view changes and run your tests on your machine. +## Open a pull request -### Submit your PR & get it reviewed -- Once you submit your PR, others from the Docs community will review it with you. The first thing you're going to want to do is a [self review](#self-review). +When you're done making changes, and you would like to propose them for review, open your PR (pull request). You can use +the +GitHub user interface for some small changes, like fixing a typo or updating a readme. You can also fork the repo and +then clone it locally, to view changes and run your tests on your machine. + +## Submit your PR & get it reviewed + +- Once you submit your PR, others from the Docs community will review it with you. The first thing you're going to want + to do is a [self-review](#self-review). - After that, we may have questions, check back on your PR to keep up with the conversation. -- We may ask for changes to be made before a PR can be merged. You can make any other changes in your fork, then commit them to your branch. +- We may ask for changes to be made before a PR can be merged. You can make any other changes in your fork, then commit + them to your branch. + +## Self-review -### Self review You should always review your own PR first. For content changes, make sure that you: + - [ ] Confirm the changes doesn't break anything else. -- [ ] Compare your pull request's source changes to staging to confirm that the output matches the source and that everything is rendering as expected. This helps spot issues like typos, content that doesn't follow the style guide, or content that isn't rendering due to versioning problems. +- [ ] Compare your pull request's source changes to staging to confirm that the output matches the source and that + everything is rendered as expected. This helps spot issues like typos, content that doesn't follow the style guide, + or content that isn't rendered due to versioning problems. - [ ] Review the content for technical accuracy. - [ ] Copy-edit the changes for grammar or spelling mistakes. -### Notes -- Please, do not modify readme and other information files (except for typos). +## Notes + +- Please don't modify readme and other information files (except for typos). - Avoid adding new dependencies unless required. APK size is important. \ No newline at end of file diff --git a/README.md b/README.md index b09f848..c4ad74a 100644 --- a/README.md +++ b/README.md @@ -4,29 +4,29 @@ # Openlib -#### An Open source app to download and read books from shadow library ([Anna’s Archive](https://annas-archive.org/)). +#### An open-source app to download and read books from shadow library ([Anna’s Archive](https://annas-archive.org/)). -[![made-with-flutter](https://img.shields.io/badge/Made%20with-Flutter-4361ee.svg?style=for-the-badge)](https://flutter.dev/) -[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-e63946.svg?style=for-the-badge)](https://opensource.org/licenses/) +[![made-with-flutter](https://img.shields.io/badge/Made%20with-Flutter-4361ee.svg?style=for-the-badge)](https://flutter.dev/) +[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-e63946.svg?style=for-the-badge)](https://opensource.org/licenses/) [![Latest release](https://img.shields.io/github/release/dstark5/Openlib.svg?style=for-the-badge)](https://github.com/dstark5/Openlib/releases) [Get it on GitHub](https://github.com/dstark5/Openlib/releases) +alt="Get it on GitHub" +height="60">](https://github.com/dstark5/Openlib/releases) [Get it on IzzyOnDroid](https://android.izzysoft.de/repo/apk/com.app.openlib) +alt="Get it on IzzyOnDroid" +height="60">](https://android.izzysoft.de/repo/apk/com.app.openlib) [Get it on F-Droid](https://f-droid.org/en/packages/com.app.openlib/) - +alt="Get it on F-Droid" +height="60">](https://f-droid.org/en/packages/com.app.openlib/) + ## Note 📝 -**WARNING:** This App Is In Beta Stage, So You May Encounter Bugs. If You Do, Open An Issue In Github Repository. +**WARNING:** This app is in beta stage, so you may encounter bugs. If you do, open an issue in the GitHub repository. -#### Publishing Openlib, Or Any Fork Of It In The Google Play Store Violates Their Terms And Conditions. +#### Publishing Openlib, or any fork of it in the Google Play Store violates their terms And conditions. ## Screenshots 🖼️ @@ -41,58 +41,61 @@ ## Description 📖 -##### Openlib Is An Open Source App To Download And Read Books From Shadow Library ([Anna’s Archive](https://annas-archive.org/)). The App Has Built In Reader to Read Books. +##### Openlib is an open-source app to download and read books from shadow library ([Anna’s Archive](https://annas-archive.org/)). The app has a built-in reader to read books. -##### As [Anna’s Archive](https://annas-archive.org/) Doesn't Have An API. The App Works By Sending Request To Anna’s Archive And Parses The Response To objects. The App Extracts The Mirrors From Response And Downloads The Book. +##### As [Anna’s Archive](https://annas-archive.org/) doesn't have an API, the app works by sending requests to Anna’s Archive and parsing the response to objects. The app extracts the mirrors from response and downloads the book. ## Features ✨ -- Trending Books -- Download And Read Books With In-Built Viewer -- Supports Epub And Pdf Formats -- Open Books In Your Favourite Ebook Reader -- Filter Books -- Sort Books - +- Trending books +- Download and read books with built-in viewer +- Supports Epub and PDF formats +- Open books in your favorite ebook reader +- Filter books +- Sort books ## Roadmap 🎯 -- Adding More Book Format supports (cbz,cbr,azw3,etc...) -- Adding Support For Background Downloads -- Adding Support For Multiple Downloads +- Adding more book format supports (cbz, cbr, azw3, etc...) +- Adding support for background downloads +- Adding support for multiple downloads -## Building from Source +## Building from source -- If you don't have Flutter SDK installed, please visit official [Flutter](https://flutter.dev) site. +- If you don't have Flutter SDK installed, please visit the official [Flutter](https://flutter.dev) site. -- Git Clone The Repo +- Git clone the repository ``` git clone https://github.com/dstark5/Openlib.git ``` -- Run the app with Android Studio or VS Code. Or the command line: +- Run the app with Android Studio or VS Code, or the command line: ``` flutter pub get flutter run ``` -- To Build App Run: +- To build the app, run: + ``` flutter build ``` -- The Build Will Be In './build/app/outputs/flutter-apk/app-release.apk' + +- The build will be in './build/app/outputs/flutter-apk/app-release.apk' ## Contributor required 🚧 -We are actively seeking contributors. Whether you're a seasoned developer or just starting out, we welcome your contributions to help make this project even better! +We're actively seeking contributors. Whether you're a seasoned developer or just starting out, we welcome your +contributions to help make this project even better! ## Contribution 💝 -Whether you have ideas, design changes or even major code changes, help is always welcome. The app gets better and better with each contribution, no matter how big or small! +Whether you have ideas, design changes or even major code changes, help is always welcome. The app gets better and +better with each contribution, no matter how big or small! -If you'd like to get involved See [CONTRIBUTING.md](./CONTRIBUTING.md) for the guidelines. +If you would like to get involved, see [CONTRIBUTING.md](./CONTRIBUTING.md) for the guidelines. ## Issues 🚩 @@ -102,14 +105,21 @@ Please report bugs via the [issue tracker](https://github.com/dstark5/Openlib/is If you like Openlib, you're welcome to send a donation. -#### [Donate To Anna’s Archive.](https://annas-archive.org/donate?tier=1) +#### [Donate to Anna’s Archive.](https://annas-archive.org/donate?tier=1) ## License 📜 -[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)](https://www.gnu.org/licenses/gpl-3.0.en.html) +[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)](https://www.gnu.org/licenses/gpl-3.0.en.html) -Openlib is a free software licensed under GPL v3.0 It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. [GNU General Public License](https://www.gnu.org/licenses/gpl.html) as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. +Openlib is a free software licensed under GPL v3.0. It is distributed in the hope that it will be useful, but WITHOUT +ANY +WARRANTY. [GNU General Public License](https://www.gnu.org/licenses/gpl.html) as published by the Free Software +Foundation, either version 3 of the license, or (at your option) any later version. ## Disclaimer ⚠️ -Openlib does not own or have any affiliation with the books available through the app. All books are the property of their respective owners and are protected by copyright law. Openlib is not responsible for any infringement of copyright or other intellectual property rights that may result from the use of the books available through the app. By using the app, you agree to use the books only for personal, non-commercial purposes and in compliance with all applicable laws and regulations. +Openlib doesn't own or have any affiliation with the books available through the app. All books are the property of +their respective owners and are protected by copyright law. Openlib is not responsible for any infringement of copyright +or other intellectual property rights that may result from the use of the books available through the app. By using the +app, you agree to use the books only for personal, non-commercial purposes and in compliance with all applicable laws +and regulations. diff --git a/analysis_options.yaml b/analysis_options.yaml index f5b2968..94f3f32 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -22,8 +22,8 @@ linter: # `// ignore_for_file: name_of_lint` syntax on the line or in the file # producing the lint. rules: - # avoid_print: false # Uncomment to disable the `avoid_print` rule - # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule + # avoid_print: false # Uncomment to disable the `avoid_print` rule + # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index c435bba..9a3b4e1 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,49 +1,48 @@ - - - - - - - - +> + + + + + + + + - - - + + + - + - - + android:label="Openlib" + android:name="${applicationName}" + android:requestLegacyExternalStorage="true" + android:networkSecurityConfig="@xml/network_security_config" + android:icon="@mipmap/launcher_icon"> + + + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" + /> @@ -52,7 +51,7 @@ + android:name="flutterEmbedding" + android:value="2"/> diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml index f74085f..ff7cf00 100644 --- a/android/app/src/main/res/drawable-v21/launch_background.xml +++ b/android/app/src/main/res/drawable-v21/launch_background.xml @@ -1,7 +1,7 @@ - + - + ic_fluent_library_28_filled Created with Sketch. - - + + + \ No newline at end of file diff --git a/assets/no_internet.svg b/assets/no_internet.svg index 390e740..bb2eb92 100644 --- a/assets/no_internet.svg +++ b/assets/no_internet.svg @@ -1 +1,53 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/no_results.svg b/assets/no_results.svg index 24565e0..818dff0 100644 --- a/assets/no_results.svg +++ b/assets/no_results.svg @@ -1 +1,51 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/searching.svg b/assets/searching.svg index bfa96a2..272f059 100644 --- a/assets/searching.svg +++ b/assets/searching.svg @@ -1 +1,50 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/undraw.svg b/assets/undraw.svg index ee6bba0..7137d7d 100644 --- a/assets/undraw.svg +++ b/assets/undraw.svg @@ -1 +1,65 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json index d36b1fa..e882ab9 100644 --- a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,122 +1,122 @@ { - "images" : [ + "images": [ { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" + "size": "20x20", + "idiom": "iphone", + "filename": "Icon-App-20x20@2x.png", + "scale": "2x" }, { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@3x.png", - "scale" : "3x" + "size": "20x20", + "idiom": "iphone", + "filename": "Icon-App-20x20@3x.png", + "scale": "3x" }, { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" + "size": "29x29", + "idiom": "iphone", + "filename": "Icon-App-29x29@1x.png", + "scale": "1x" }, { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" + "size": "29x29", + "idiom": "iphone", + "filename": "Icon-App-29x29@2x.png", + "scale": "2x" }, { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@3x.png", - "scale" : "3x" + "size": "29x29", + "idiom": "iphone", + "filename": "Icon-App-29x29@3x.png", + "scale": "3x" }, { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" + "size": "40x40", + "idiom": "iphone", + "filename": "Icon-App-40x40@2x.png", + "scale": "2x" }, { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@3x.png", - "scale" : "3x" + "size": "40x40", + "idiom": "iphone", + "filename": "Icon-App-40x40@3x.png", + "scale": "3x" }, { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@2x.png", - "scale" : "2x" + "size": "60x60", + "idiom": "iphone", + "filename": "Icon-App-60x60@2x.png", + "scale": "2x" }, { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@3x.png", - "scale" : "3x" + "size": "60x60", + "idiom": "iphone", + "filename": "Icon-App-60x60@3x.png", + "scale": "3x" }, { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@1x.png", - "scale" : "1x" + "size": "20x20", + "idiom": "ipad", + "filename": "Icon-App-20x20@1x.png", + "scale": "1x" }, { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" + "size": "20x20", + "idiom": "ipad", + "filename": "Icon-App-20x20@2x.png", + "scale": "2x" }, { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" + "size": "29x29", + "idiom": "ipad", + "filename": "Icon-App-29x29@1x.png", + "scale": "1x" }, { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" + "size": "29x29", + "idiom": "ipad", + "filename": "Icon-App-29x29@2x.png", + "scale": "2x" }, { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@1x.png", - "scale" : "1x" + "size": "40x40", + "idiom": "ipad", + "filename": "Icon-App-40x40@1x.png", + "scale": "1x" }, { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" + "size": "40x40", + "idiom": "ipad", + "filename": "Icon-App-40x40@2x.png", + "scale": "2x" }, { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@1x.png", - "scale" : "1x" + "size": "76x76", + "idiom": "ipad", + "filename": "Icon-App-76x76@1x.png", + "scale": "1x" }, { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@2x.png", - "scale" : "2x" + "size": "76x76", + "idiom": "ipad", + "filename": "Icon-App-76x76@2x.png", + "scale": "2x" }, { - "size" : "83.5x83.5", - "idiom" : "ipad", - "filename" : "Icon-App-83.5x83.5@2x.png", - "scale" : "2x" + "size": "83.5x83.5", + "idiom": "ipad", + "filename": "Icon-App-83.5x83.5@2x.png", + "scale": "2x" }, { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "Icon-App-1024x1024@1x.png", - "scale" : "1x" + "size": "1024x1024", + "idiom": "ios-marketing", + "filename": "Icon-App-1024x1024@1x.png", + "scale": "1x" } ], - "info" : { - "version" : 1, - "author" : "xcode" + "info": { + "version": 1, + "author": "xcode" } } diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json index 0bedcf2..781d7cd 100644 --- a/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json @@ -1,23 +1,23 @@ { - "images" : [ + "images": [ { - "idiom" : "universal", - "filename" : "LaunchImage.png", - "scale" : "1x" + "idiom": "universal", + "filename": "LaunchImage.png", + "scale": "1x" }, { - "idiom" : "universal", - "filename" : "LaunchImage@2x.png", - "scale" : "2x" + "idiom": "universal", + "filename": "LaunchImage@2x.png", + "scale": "2x" }, { - "idiom" : "universal", - "filename" : "LaunchImage@3x.png", - "scale" : "3x" + "idiom": "universal", + "filename": "LaunchImage@3x.png", + "scale": "3x" } ], - "info" : { - "version" : 1, - "author" : "xcode" + "info": { + "version": 1, + "author": "xcode" } } diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md index 89c2725..35a8b07 100644 --- a/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md @@ -2,4 +2,5 @@ You can customize the launch screen with your own desired assets by replacing the image files in this directory. -You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file +You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, +selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json index a2ec33f..60e60c9 100644 --- a/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,68 +1,68 @@ { - "images" : [ + "images": [ { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_16.png", - "scale" : "1x" + "size": "16x16", + "idiom": "mac", + "filename": "app_icon_16.png", + "scale": "1x" }, { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "2x" + "size": "16x16", + "idiom": "mac", + "filename": "app_icon_32.png", + "scale": "2x" }, { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "1x" + "size": "32x32", + "idiom": "mac", + "filename": "app_icon_32.png", + "scale": "1x" }, { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_64.png", - "scale" : "2x" + "size": "32x32", + "idiom": "mac", + "filename": "app_icon_64.png", + "scale": "2x" }, { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_128.png", - "scale" : "1x" + "size": "128x128", + "idiom": "mac", + "filename": "app_icon_128.png", + "scale": "1x" }, { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "2x" + "size": "128x128", + "idiom": "mac", + "filename": "app_icon_256.png", + "scale": "2x" }, { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "1x" + "size": "256x256", + "idiom": "mac", + "filename": "app_icon_256.png", + "scale": "1x" }, { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "2x" + "size": "256x256", + "idiom": "mac", + "filename": "app_icon_512.png", + "scale": "2x" }, { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "1x" + "size": "512x512", + "idiom": "mac", + "filename": "app_icon_512.png", + "scale": "1x" }, { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_1024.png", - "scale" : "2x" + "size": "512x512", + "idiom": "mac", + "filename": "app_icon_1024.png", + "scale": "2x" } ], - "info" : { - "version" : 1, - "author" : "xcode" + "info": { + "version": 1, + "author": "xcode" } } diff --git a/pubspec.yaml b/pubspec.yaml index 1eaf32c..98feeba 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: openlib -description: An Open source app to download and read books from shadow library (Anna`s Archive) +description: An Open source app to download and read books from shadow library (Anna`s Archive) # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev diff --git a/web/index.html b/web/index.html index 89c5547..fe5e5f4 100644 --- a/web/index.html +++ b/web/index.html @@ -1,59 +1,59 @@ - - - - - - - - - - - - - - - - - Openlib - - - - - + + + + + + + + + + + + + + + + + Openlib + + + + + - + diff --git a/web/manifest.json b/web/manifest.json index 124503d..a2dce34 100644 --- a/web/manifest.json +++ b/web/manifest.json @@ -1,35 +1,35 @@ { - "name": "libgen", - "short_name": "libgen", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A Flutter app for library genesis.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] + "name": "libgen", + "short_name": "libgen", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "A Flutter app for library genesis.", + "orientation": "portrait-primary", + "prefer_related_applications": false, + "icons": [ + { + "src": "icons/Icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icons/Icon-512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "icons/Icon-maskable-192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "icons/Icon-maskable-512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ] } From 7699eff9037041a925268a3d01a0e27c43cc5eea Mon Sep 17 00:00:00 2001 From: Kazevic Date: Thu, 27 Jun 2024 06:10:10 +0000 Subject: [PATCH 2/3] Fix a typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c4ad74a..e5ebab6 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ height="60">](https://f-droid.org/en/packages/com.app.openlib/) **WARNING:** This app is in beta stage, so you may encounter bugs. If you do, open an issue in the GitHub repository. -#### Publishing Openlib, or any fork of it in the Google Play Store violates their terms And conditions. +#### Publishing Openlib, or any fork of it in the Google Play Store violates their terms and conditions. ## Screenshots 🖼️ @@ -41,9 +41,9 @@ height="60">](https://f-droid.org/en/packages/com.app.openlib/) ## Description 📖 -##### Openlib is an open-source app to download and read books from shadow library ([Anna’s Archive](https://annas-archive.org/)). The app has a built-in reader to read books. +##### Openlib is an open-source app to download and read books from shadow library ([Anna’s Archive](https://annas-archive.org)). The app has a built-in reader to read books. -##### As [Anna’s Archive](https://annas-archive.org/) doesn't have an API, the app works by sending requests to Anna’s Archive and parsing the response to objects. The app extracts the mirrors from response and downloads the book. +##### As [Anna’s Archive](https://annas-archive.org) doesn't have an API, the app works by sending requests to Anna’s Archive and parsing the response to objects. The app extracts the mirrors from response and downloads the book. ## Features ✨ From 7db4b70ad018e5ad0056e701d7d2bc3fd610d60a Mon Sep 17 00:00:00 2001 From: Kazevic Date: Thu, 27 Jun 2024 06:11:33 +0000 Subject: [PATCH 3/3] Fix another typo --- pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index 98feeba..7860069 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: openlib -description: An Open source app to download and read books from shadow library (Anna`s Archive) +description: An open-source app to download and read books from shadow library (Anna`s Archive) # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev @@ -124,4 +124,4 @@ flutter: # weight: 700 # # For details regarding fonts from package dependencies, - # see https://flutter.dev/custom-fonts/#from-packages \ No newline at end of file + # see https://flutter.dev/custom-fonts/#from-packages