tachiyomi-extensions-inspector/README.md

107 lines
6.1 KiB
Markdown
Raw Normal View History

2021-02-25 19:24:49 +01:00
2021-03-24 15:54:50 +01:00
![image](https://github.com/Suwayomi/Tachidesk/raw/master/server/src/main/resources/icon/faviconlogo.png)
# Tachidesk
2021-01-22 08:43:25 +01:00
A free and open source manga reader that runs extensions built for [Tachiyomi](https://tachiyomi.org/).
2021-01-22 08:55:11 +01:00
Tachidesk is as multi-platform as you can get. Any platform that runs java and/or has a modern browser can run it.
2021-01-21 22:04:49 +01:00
Ability to read and write Tachiyomi compatible backups and syncing is a planned feature.
2021-02-21 22:53:44 +01:00
## Is this application usable? Should I test it?
Here is a list of current features:
- Installing and executing Tachiyomi's Extensions, So you'll get the same sources.
- A library to save your mangas and categories to put them into.
2021-02-22 12:18:17 +01:00
- Searching and browsing installed sources.
2021-02-22 12:19:17 +01:00
- A minimal chapter reader.
2021-02-21 22:53:44 +01:00
- Ability to download Mangas for offline read(This partially works)
2021-02-21 22:58:13 +01:00
**Note:** Keep in mind that Tachidesk is alpha software and can break rarely and/or with each update, so you may have to delete your data to fix it. See [General troubleshooting](#general-troubleshooting) and [Support and help](#support-and-help) if it happens.
2021-02-21 22:53:44 +01:00
2021-03-24 15:54:50 +01:00
Anyways, for more info checkout [finished milestone #1](https://github.com/Suwayomi/Tachidesk/issues/2) and [milestone #2](https://github.com/Suwayomi/Tachidesk/projects/1) to see what's implemented in more detail.
2021-02-21 22:53:44 +01:00
2021-02-21 22:58:13 +01:00
## Downloading and Running the app
2021-03-16 13:34:29 +01:00
### All Operating Systems
You should have The Java Runtime Environment(JRE) 8 or newer and a modern browser installed. Also an internet connection is required as almost everything this app does is downloading stuff.
2021-03-24 15:54:50 +01:00
Download the latest jar release from [the releases section](https://github.com/Suwayomi/Tachidesk/releases).
2021-03-16 20:54:14 +01:00
2021-02-13 14:48:31 +01:00
Double click on the jar file or run `java -jar Tachidesk-vX.Y.Z-rxxx.jar` from a Terminal/Command Prompt window to run the app which will open a new browser window automatically. Also the System Tray Icon is your friend if you need to open the browser window again or close Tachidesk.
2021-02-04 22:16:46 +01:00
2021-03-16 20:44:36 +01:00
### Windows
2021-03-24 15:54:50 +01:00
Download the latest win32 release from [the releases section](https://github.com/Suwayomi/Tachidesk/releases).
2021-03-16 20:54:14 +01:00
The Windows specific build has java bundled inside, so you don't have to install java to use it. Unzip `Tachidesk-vX.Y.Z-rxxx-win32.zip` and run `server.exe`. The rest works like the previous section.
2021-02-13 18:55:49 +01:00
2021-03-16 20:43:44 +01:00
### Arch Linux
You can install Tachidesk from the AUR
```
yay -S tachidesk
```
2021-03-16 20:44:36 +01:00
### Docker
Check [arbuilder's repo](https://github.com/arbuilder/Tachidesk-docker) out for more details and the dockerfile.
2021-02-13 18:55:49 +01:00
2021-02-21 22:58:13 +01:00
## General troubleshooting
2021-02-21 22:53:44 +01:00
If the app breaks try deleting the directory below and re-running the app (**This will delete all your data!**) and if the problem persists open an issue.
On Mac OS X : `/Users/<Account>/Library/Application Support/Tachidesk`
2021-02-21 22:59:55 +01:00
2021-02-22 12:21:39 +01:00
On Windows XP : `C:\Documents and Settings\<Account>\Application Data\Local Settings\Tachidesk`
2021-02-21 22:59:55 +01:00
2021-03-14 17:58:23 +01:00
On Windows 7 and later : `C:\Users\<Account>\AppData\Local\Tachidesk`
2021-02-21 22:59:55 +01:00
2021-02-21 22:53:44 +01:00
On Unix/Linux : `/home/<account>/.local/share/Tachidesk`
## Support and help
Join Tachidesk's [discord server](https://discord.gg/wgPyb7hE5d) to hang out with the community and receive support and help.
## How does it work?
This project has two components:
1. **server:** contains the implementation of [tachiyomi's extensions library](https://github.com/tachiyomiorg/extensions-lib) and uses an Android compatibility library to run apk extensions. All this concludes to serving a REST API to `webUI`.
2. **webUI:** A react SPA project that works with the server to do the presentation.
2021-01-21 21:53:53 +01:00
## Building from source
2021-03-24 15:54:50 +01:00
### Prerequisite: Get Android stubs jar
2021-01-19 19:10:44 +01:00
#### Manual download
2021-03-24 15:54:50 +01:00
Download [android.jar](https://raw.githubusercontent.com/Suwayomi/Tachidesk/android-jar/android.jar) and put it under `AndroidCompat/lib`.
2021-02-05 09:14:24 +01:00
#### Automated download(needs `bash`, `curl`, `base64`, `zip` to work)
2021-03-25 01:34:32 +01:00
Run `AndroidCompat/getAndroid.sh`(MacOS/Linux) or `AndroidCompat/getAndroid.ps1`(Windows) from project's root directory to download and rebuild the jar file from Google's repository.
2021-03-24 21:33:51 +01:00
### Prerequisite: Software dependencies
You need this software packages installed in order to build this project:
- Java Development Kit and Java Runtime Environment version 8 or newer(both Oracle JDK and OpenJDK works)
- Nodejs LTS or latest
- Yarn
2021-03-24 15:54:50 +01:00
### building the full-blown jar
2021-03-24 21:33:51 +01:00
Run `./gradlew server:shadowJar`, the resulting built jar file will be `server/build/Tachidesk-vX.Y.Z-rxxx.jar`.
### building without `webUI` bundled
Delete the `server/src/main/resources/react` directory if exists from previous runs, then run `./gradlew server:shadowJar -x :webUI:copyBuild`, the resulting built jar file will be `server/build/Tachidesk-vX.Y.Z-rxxx.jar`.
2021-02-05 09:16:29 +01:00
### building the Windows package
2021-02-04 22:16:46 +01:00
Run `./gradlew windowsPackage`, the resulting built zip package file will be `server/build/Tachidesk-vX.Y.Z-rxxx-win32.zip`.
2021-01-21 23:15:14 +01:00
## Running for development purposes
2021-01-21 21:53:53 +01:00
### `server` module
2021-03-24 15:56:37 +01:00
Follow [Get Android stubs jar](#prerequisite-get-android-stubs-jar) then run `./gradlew :server:run -x :webUI:copyBuild --stacktrace` to run the server
2021-01-21 21:53:53 +01:00
### `webUI` module
How to do it is described in `webUI/react/README.md` but for short,
2020-12-24 20:06:39 +01:00
first cd into `webUI/react` then run `yarn` to install the node modules(do this only once)
2020-12-24 13:16:42 +01:00
then `yarn start` to start the client if a new browser window doesn't start automatically,
then open `http://127.0.0.1:3000` in a modern browser. This is a `create-react-app` project
and supports HMR and all the other goodies you'll need.
2021-01-21 11:11:03 +01:00
## Credit
2021-03-13 22:32:43 +01:00
The `AndroidCompat` module was originally developed by [@null-dev](https://github.com/null-dev) for [TachiWeb-Server](https://github.com/Tachiweb/TachiWeb-server) and is licensed under `Apache License Version 2.0`.
2021-01-21 11:12:17 +01:00
Parts of [tachiyomi](https://github.com/tachiyomiorg/tachiyomi) is adopted into this codebase, also licensed under `Apache License Version 2.0`.
2021-01-21 11:11:03 +01:00
2021-01-29 16:41:38 +01:00
You can obtain a copy of `Apache License Version 2.0` from http://www.apache.org/licenses/LICENSE-2.0
2021-01-26 20:37:54 +01:00
2021-01-29 16:41:38 +01:00
Changes to both codebases is licensed under `MPL v. 2.0` as the rest of this project.
2021-01-26 20:32:04 +01:00
## License
2021-01-21 11:28:15 +01:00
Copyright (C) 2020-2021 Aria Moradi and contributors
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
2021-01-03 00:46:17 +01:00
file, You can obtain one at http://mozilla.org/MPL/2.0/.