1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-09-24 03:18:28 +02:00
upscayl/README.md

188 lines
10 KiB
Markdown
Raw Normal View History

2022-08-24 06:50:30 +02:00
<div align="center">
2023-06-18 20:53:17 +02:00
2023-09-22 18:38:30 +02:00
# [v2.8.6 is out! 🥳](https://github.com/upscayl/upscayl/releases/latest)
2023-03-18 18:15:47 +01:00
2023-08-26 15:43:03 +02:00
<a href="https://upscayl.org/#download">
2023-05-11 07:02:45 +02:00
<img src="https://img.shields.io/github/downloads/upscayl/upscayl/total.svg?style=for-the-badge&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAACIJJREFUeJzN21lUFFcaB3A9mbzNTB7zlDPzMHNyziwJIiCrssgi0OwoNPvWbLKoNCJL2BHjjggIaAybQDCoBBFDnMnMZBLNiVHUBE3c0bivGMf1m+82VHV1d61NL8U5v4eubm7V96/btdzqO2eOwN97i6Lm2rhH/wFlohF0Ef2KXiOQkefoF/QV+hDZot8I1cf5R/4Z+aO96JEMCjQmEBJGOvqd1OJ/ixpm9rS1C5mtV+gw+pPY4v+KxnUa8VCCnWI5uGZtB//qQ1D66W2oOPAQKoa4JbdPgPeH/+HkuryFbj9AtYG3LTE+GLwLhV0XIG3DEfBOqIL53gn6QdxHke+7R/EW/xc0Qf+TZww4RBaBR9kB8Nl0DHy3Hoew5jOw9gsQpOq+qvk8l4X5u+iNU2RtFdWmWHVjr6C4/xqErWgFe98UZggPUBxftz+p3esx4JKxDXw2HtXZcPMEsAXqyIabMASNsdeQ1XgUHJakMUN4jP6uX/wbaCuzePfVvawbbq4AanFjxagzAvnKLghIZ4ZwHL3NDMAPPaG6vWtmI+eGmyOAwMwtUPP5K061fMa46AaX23pCP4Sq+YsjSfGa8/xe6g2HpUX4fT9q8QCqD78U53NDNawMg4wu7WMGcAG9Rfb+H22o8zwe7T3K9vNuuDkCCM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jNwSLZ4TwNqqymZ4tztWw3JFTXQc54Nm4h4iunf6b56kkQbyF0tARNCWDooSQi7oTqAa9g1/ruXw1/h/JQTLIQz2y/gAAAABJRU5ErkJggg==&labelColor=ede9fe&color=8e6bf6" width="200px" style="border-radius:50%"/>
2023-08-26 15:43:03 +02:00
</a>
2023-05-11 07:02:45 +02:00
</br>
</br>
2023-07-30 01:17:42 +02:00
<!--<a href="https://github.com/upscayl/upscayl/releases/latest">
<img src="https://github.com/upscayl/upscayl/assets/25067102/6287fd40-2c91-4028-b1d6-3986e77d8211" width="200px" />
2023-07-30 01:17:42 +02:00
</a>-->
2023-04-08 09:06:24 +02:00
2022-12-23 08:26:21 +01:00
<a href="https://t.me/iamnayam">
<img src="https://user-images.githubusercontent.com/25067102/209297095-a3db856f-b760-40bb-a68e-f3a3086e18c7.png" width="200px" />
2023-04-08 09:06:24 +02:00
</a>
2023-01-29 03:52:06 +01:00
<a href="https://t.me/LinuxChats">
<img src="https://user-images.githubusercontent.com/25067102/215301815-b9922b27-4e65-435a-aa9d-239da0ac61b4.png" width="200px" />
2022-12-24 10:09:15 +01:00
</a>
2022-08-27 14:13:36 +02:00
2023-09-18 05:35:33 +02:00
# 🆙 Upscayl
2022-08-24 06:50:30 +02:00
<img src="https://github.com/upscayl/upscayl/assets/11874211/5c7b31a4-1c15-4bdf-aa0a-2fbedb781524" width="700px" />
2023-09-14 04:34:44 +02:00
2022-08-24 06:50:30 +02:00
#### Free and Open Source AI Image Upscaler
2023-09-18 05:35:33 +02:00
Upscayl lets you enlarge and enhance low-resolution images using advanced AI algorithms.
Enlarge images without losing quality. It's almost like magic! 🎩🪄
2023-05-12 19:00:47 +02:00
2023-09-18 05:35:33 +02:00
Upscayl is a cross-platform application built with the Linux-first philosophy.
2023-09-18 16:59:30 +02:00
This means that Linux users receive pre-release builds earlier, but Upscayl itself is available on all major desktop operating systems :)
2023-05-12 19:00:47 +02:00
2023-09-18 05:35:33 +02:00
**https://upscayl.org**
2022-08-24 06:50:30 +02:00
2023-09-02 21:28:42 +02:00
![Screenshot](https://raw.githubusercontent.com/upscayl/upscayl.github.io/main/static/upscayl-desktop.png)
2022-08-24 06:55:15 +02:00
2022-08-24 06:50:30 +02:00
</div>
2023-09-03 21:30:31 +02:00
> [!IMPORTANT]
> You'll need a Vulkan compatible GPU to upscale images. Many CPU and iGPUs do not work but no harm in trying.
2023-09-18 05:35:33 +02:00
# 👨‍💻 Installation
2022-08-24 06:50:30 +02:00
2023-09-18 05:35:33 +02:00
### 🐧 Linux
2022-09-20 08:57:28 +02:00
2023-05-11 12:36:04 +02:00
<a href="https://flathub.org/apps/org.upscayl.Upscayl">
<img src="https://dl.flathub.org/assets/badges/flathub-badge-en.svg" height="50px"/>
</a>
2023-05-09 14:55:27 +02:00
2023-05-11 12:36:04 +02:00
<a href="https://appimage.github.io/Upscayl/">
<img src="https://user-images.githubusercontent.com/25067102/191270389-9de37c0f-39a8-41f1-a659-8dd4e7b8ac28.png" height="50px"/>
</a>
<a href="https://aur.archlinux.org/packages/upscayl-bin">
2023-05-11 12:36:04 +02:00
<img src="https://user-images.githubusercontent.com/25067102/191269445-87050a77-c304-4284-9ea0-699721309c59.png" height="50px"/>
</a>
<a href="https://snapcraft.io/upscayl/">
<img src="https://snapcraft.io/static/images/badges/en/snap-store-black.svg" height="50px"/>
</a>
2022-08-24 06:50:30 +02:00
2023-09-09 03:00:39 +02:00
Upscayl should be available on the software listings of most Linux operating systems. Your distro's Store app might also support the [Flatpak](https://flatpak.org/setup) or Snap version.
#### Portable Method
1. Go to [releases section](https://github.com/upscayl/upscayl/releases/latest)
2. Download the `upscayl-x.x.x-linux.AppImage` file.
2023-06-15 10:03:48 +02:00
3. Right Click AppImage -> Go to Permissions tab -> Check 'allow file to execute' and then double click the file to run Upscayl.
2022-08-24 06:50:30 +02:00
2023-05-12 15:22:03 +02:00
*You can also choose to install using other formats like RPM (Fedora), DEB (Debian/Ubuntu based), and ZIP (Any Linux OS).*
2023-09-18 05:35:33 +02:00
### 🍎 macOS
2022-08-24 06:50:30 +02:00
2023-06-15 10:03:48 +02:00
1. Go to [releases section](https://github.com/upscayl/upscayl/releases/latest)
2. Download the `upscayl-x.x.x-mac.dmg` file.
2022-08-28 05:33:32 +02:00
3. Double click dmg, drag Upscayl icon into Applications folder.
2023-06-15 10:03:48 +02:00
4. Open Finder, click 'Applications' tab in the left sidebar. Find Upscayl and right click on it. Select 'Open'.
5. In the window that appears, press 'Open' yet again.
2023-06-15 16:32:09 +02:00
### 🐌 Windows
(Windows 10 and later)
2022-08-24 06:50:30 +02:00
2023-06-15 10:03:48 +02:00
1. Go to [releases section](https://github.com/upscayl/upscayl/releases/latest)
2022-08-27 13:22:01 +02:00
2. Download the `.exe` file.
3. Double click exe file, wait for installation, profit.
2022-08-24 06:50:30 +02:00
2023-09-18 05:35:33 +02:00
# 👨‍🏫 Wiki - Tutorials and Guides
2023-05-10 05:56:25 +02:00
Check out our Wiki [here](https://github.com/upscayl/upscayl/wiki/Guide).
2022-08-29 09:59:47 +02:00
2023-06-18 20:52:19 +02:00
- [Try out even more new models!](https://github.com/upscayl/custom-models)
- [Convert your own models](https://github.com/upscayl/upscayl/wiki/%F0%9F%96%A5%EF%B8%8F-Model-Conversion---Create-more-AI-models!)
- [Compatibility List](https://github.com/upscayl/upscayl/wiki/Compatibility-List)
- [Troubleshooting](https://github.com/upscayl/upscayl/wiki/Troubleshooting)
2023-09-18 05:35:33 +02:00
# ⚖️ Results
2022-08-27 18:03:37 +02:00
2023-05-10 05:56:25 +02:00
Check out Upscayl before/after comparisons [here](COMPARISONS.MD).
2022-08-27 18:03:37 +02:00
2023-09-18 05:35:33 +02:00
# 🤫 Roadmap
2022-08-28 07:43:48 +02:00
2023-03-13 06:55:08 +01:00
You can track all the progress here: https://github.com/orgs/upscayl/projects/1
- Fix bugs
2023-03-24 03:56:00 +01:00
- Make the whole world use FOSS (WIP 🚧)
2022-08-28 07:43:48 +02:00
2023-09-18 05:35:33 +02:00
# 🛠 Development
2022-08-24 06:50:30 +02:00
2023-05-09 22:08:07 +02:00
I recommend using Volta: https://volta.sh for installing Node.js.
2023-03-23 09:49:42 +01:00
Download and install volta, then do: `volta install node`.
2023-09-18 21:20:14 +02:00
## 🏃 Running
2023-09-19 00:36:05 +02:00
> [!NOTE]
> If you are not willing to install [git](https://git-scm.com/downloads), you can skip the first line, download [the source zip](https://github.com/upscayl/upscayl/archive/refs/heads/main.zip) and extract it to `upscayl` instead and carry on with the rest of the instructions.
2023-09-18 21:20:14 +02:00
```sh
2023-03-23 09:49:42 +01:00
git clone https://github.com/upscayl/upscayl
2022-08-24 06:50:30 +02:00
cd upscayl
# INSTALL DEPENDENCIES
2023-09-21 17:07:22 +02:00
npm install
2022-08-24 06:50:30 +02:00
# RUN THE DEVELOPMENT SERVER LOCALLY
2023-03-23 09:49:42 +01:00
## YOUR LOGS WILL NOW APPEAR IN THE TERMINAL
2023-09-21 17:07:22 +02:00
npm run start
2023-09-18 21:20:14 +02:00
```
2022-08-24 06:50:30 +02:00
2023-09-18 21:20:14 +02:00
## 🏗️ Building
2023-09-19 00:36:05 +02:00
```sh
2023-09-18 21:20:14 +02:00
# INSTALL DEPENDENCIES
npm install
# PACKAGE THE APP
2022-08-24 06:50:30 +02:00
npm run dist
2023-09-18 21:20:14 +02:00
# PUBLISH THE APP, MAKE SURE TO ADD GH_TOKEN= IN SHELL
2022-08-24 06:50:30 +02:00
npm run publish-app
```
2023-09-18 05:35:33 +02:00
# 🤓 FAQ
2022-08-26 06:43:54 +02:00
2023-09-09 19:45:33 +02:00
- **How does Upscayl work?**
2023-05-09 22:08:07 +02:00
- Upscayl uses AI models to enhance your images by guessing what the details could be. It uses Real-ESRGAN to achieve this.
2023-09-09 19:45:33 +02:00
- **Is there a CLI available?**
2022-08-26 06:43:54 +02:00
- The CLI tool is called real-esrgan-ncnn-vulkan and it's available on the Real-ESRGAN repository.
2023-09-09 19:45:33 +02:00
- **Do I need a GPU for this to work?**
2023-09-18 16:59:30 +02:00
- Yes, unfortunately. NCNN Vulkan requires a Vulkan-compatible GPU. Upscayl won't work with **most** iGPUs or CPUs. But hey, no harm in trying ;)
2023-09-09 19:45:33 +02:00
- **How can I contribute?**
2023-09-18 16:59:30 +02:00
- You can report issues, fix code and add features by submitting PRs, or donate! 😊
2023-09-09 19:45:33 +02:00
- **What's the GPU ID for?**
2023-06-16 16:37:46 +02:00
- It is for selecting which GPU to use. The specific procedure is detailed in the [Wiki](https://github.com/upscayl/upscayl/wiki/Guide).
2023-09-18 05:35:33 +02:00
- Note that for Windows systems, if Upscayl is not set to performance mode, the system may override this setting.
2023-09-09 19:45:33 +02:00
- **You are not fully open source!!😡**
2023-09-18 20:01:24 +02:00
- We are! We're using completely free and open-source tech. We do ship a binary, but that's because not including it would kill the entire purpose of the project. If you want to deal with all those PyTorch, NCNN, and Python errors, you're more than welcome to compile your own binary using the code provided by Real-ESRGAN. The binary is pre-compiled for convenience; if you do not trust it, then you can compile your own since everything is free and open source here 😁
2023-09-09 19:45:33 +02:00
- **Where do I find more models?**
- More models can be taken from here: https://github.com/upscayl/custom-models/
2022-08-26 06:43:54 +02:00
2023-09-09 19:45:33 +02:00
Upscayl uses Real-ESRGAN-ncnn-vulkan binaries to upscale images.
2022-08-25 06:08:57 +02:00
2023-05-10 06:07:57 +02:00
# 🎁 Donate
2022-11-10 19:43:52 +01:00
<a href="https://www.buymeacoffee.com/fossisthefuture">
<img src="https://user-images.githubusercontent.com/25067102/154570688-9e143f2b-fee3-4b05-a9d2-a7a3013b2b51.png" />
2022-11-10 19:43:52 +01:00
<a/>
2023-09-18 05:35:33 +02:00
# ❤ Credits
2022-08-24 06:50:30 +02:00
2023-09-18 05:35:33 +02:00
- Real-ESRGAN for their wonderful research work.
2022-08-24 10:49:47 +02:00
[Real-ESRGAN: Copyright (c) 2021, Xintao Wang](https://github.com/xinntao/Real-ESRGAN/)
2022-11-17 07:08:17 +01:00
- @JanDeDinoMan, @xanderfrangos, @Fdawgs, @keturn for their code contributions :)
- @aaronliu0130 for providing community support :)
2023-01-11 16:19:46 +01:00
- Foolhardy for their [Remacri model](https://upscale.wiki/wiki/Model_Database).
- [Kim2091](https://upscale.wiki/wiki/User:Kim2091) for their [Ultrasharp and Ultramix Balanced model](https://upscale.wiki/wiki/Model_Database).
2023-09-17 03:18:27 +02:00
- NicKoehler for the amazing logo.
2022-08-24 06:50:30 +02:00
#
<div align="center">
2023-04-15 07:15:58 +02:00
Copyright © 2023 - **Upscayl**\
2022-08-26 15:57:53 +02:00
By Nayam Amarshe and TGS963\
Made with 🖱 &
2022-08-24 06:50:30 +02:00
</div>