Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Added install script and improved the catpuccinifier script

Create README.md

- Converted binary to bash;
- Added option to install binary localy;
- Moved flavors to .local/share/catppuccinifier

Update README.md

Updated LUTS and added oled LUT

Update README.md

Updated luts and added noise level

Updated update script

Update README.md

removed dependency check in install

readded environment tag in scripts

removed temp file

changed magick command to convert

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

added catppuccinfier gui

Update README.md

Update README.md

fixed desktop entry

updated install script :|

Update README.md

Update README.md

updated gui, fixed images with spaces error and converted scripts to rust

Update README.md

Update README.md

cleaned target files

...

added windows cli

added run permissions on files

updated cli to use clap and cleaned the code

update catppuccinfier executable

changed cli to use clap in windows

...

Update README.md

Update Catppuccinifier.desktop

removed local install option and updated some paths

Update README.md

Update README.md

Update README.md

updated ignore files

Added preview button

- Hopefully fixed preview;
- Re added the space bellow select image button

- Added windows uninstall script;

Update README.md

updated linux files

Update README.md

Added Windows GUI

Update INSTALL.md

Update README.md

deleted windows zip :P

Tauri (#14)

* made linux version

* updated gui to work in windows

* fixed bugs in windows

* hopefully fixed compilation error

* fixed building code on windows

* updated windows gui exe

* replaced linux gui

* Update README.md

* Update README.md

Create LICENSE (#15)

Better cli (#16)

* Reworked catppuccinifier-cli, install-cli, uninstall-cli for linux

* Merge Windows Programs with main one

* rebuilded linux binaries

Update gui 2 (#17)

* Updated GUI

* Built Gui for windows and fixed install script

* Fixed A Thing

* Updated Releases

* Update README.md

Merge branch 'master' of https://github.com/isabelroses/catppuccinifier (#19)

Lutgen port (#21)

* updated gui to lutgen in linux

* Updated GUI to Vue

* updated gui in windows

* cleaned up rust code in gui

* updated cli to use lutgen

* updated install cli

* update linux release

* updated windows release

* local test

* Removed testing code

* updated folder structure

* ...

* ...

* ...

* removed releases folder

* removed old code

* updated to sh instead of /bin/sh

* added default nearest value depending on alghoritm

* fixed install cli on windows

Update README.md

Update INSTALL.md

added assets folder

readded desktop file
  • Loading branch information
lighttigerXIV committed Jun 22, 2023
0 parents commit 45a7f90
Show file tree
Hide file tree
Showing 75 changed files with 25,925 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target
.idea
src/releases
59 changes: 59 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
Catppuccinfier is available for Linux and Windows

<details>
<summary>Linux</summary>

## Arch Linux
Arch users have the option to install the programs through the AUR.

For the cli tool:

paru catppuccinifier-cli-git

For the gui tool:

paru catppuccinifier-gui-git

For both tools:

paru catppuccinifier-cli-git
paru catppuccinifier-gui-git

## General Install
### Dependencies

##### Arch Linux
```bash
sudo pacman -S libadwaita webkit2gtk base-devel curl wget openssl appmenu-gtk-module gtk3 libappindicator-gtk3 librsvg libvips
```
##### Debian / Ubuntu
```bash
sudo apt install libadwaita-1-0 libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
```
##### Fedora
```bash
sudo dnf install libadwaita webkit2gtk4.0-devel openssl-devel curl wget libappindicator-gtk3 librsvg2-devel
```

### Installation
- Download Linux version in the [releases](https://github.com/lighttigerXIV/catppuccinifier/releases) page
- Extract the zip and go inside the folder
- Run the following:
```bash
chmod +x ./install
chmod +x ./uninstall
chmod +x ./installation-files/catppuccinifier
chmod +x ./installation-files/catppuccinifier-gui
./install
```
</details/>

<details>
<summary>Windows</summary>

### Installation
- Download Windows version in the [releases](https://github.com/lighttigerXIV/catppuccinifier/releases) page
- Extract the zip and go inside the folder
- Run the `install.exe` as administrator

</details/>
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 lighttigerXIV

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<h1 align="center">Catppuccinifier</h1>

## About
This project gives you a cli and a gui for catppuccinifying your wallpapers. It's available for Linux and Windows.

<div align="center">
<img src="https://github.com/lighttigerXIV/catppuccinifier/assets/35658492/6813d2c0-f45b-4871-b2d3-332655b07e57" width="600">
<img src="https://user-images.githubusercontent.com/35658492/235938647-79fa5eef-a5e4-4f32-ad1b-ab265d7011cb.png" width="600">
</div>


## How to use cli
The cli version works by selecting the flavor, the noise level and the image to be generated.

|Short|Full|Possible Values|Description|
------|----|---------------|-----------|
|-f|--flavor|latte frappe macchiato mocha oled all| Selects the flavor (multiple can be used) [Default: all]|
|-i|--image| * | Selects the image to generate from. [Field Required] |
| |--hald| 2 .. 16 | Selects the hald level|
|-a|--algorithm| shepards-method gaussian-rbf linear-rbf gaussian-sampling nearest-neighbor | Selects the algorithm|
| |--euclide| 0 .. 512 | Changes euclide value|
| |--nearest| 2 .. 26 | Changes nearest value|
| |--mean| 0 .. 255 | Changes mean value|
| |--std| 0 .. 255 | Changes std value|
| |--iterations| 0 .. 1024 | Changes iterations value|
| |--power| 0 .. 4 | Changes power value|
|-h|--help| | Shows Help|
|-V|--version| | Shows app version|

### Examples
catppuccinifier -i fuji.jpg

catppuccinifier -f mocha macchiato -n 3 -i fuji.jpg

## Installation
To install catppuccinifier you can use steps presented in the [INSTALL.md](https://github.com/lighttigerXIV/catppuccinifier/blob/master/INSTALL.md)

## Uninstall
To uninstall catppuccinifier you can use steps presented in the [UNINSTALL.md](https://github.com/lighttigerXIV/catppuccinifier/blob/master/UNINSTALL.md)

## Other amazing people that worked on the project
- [Isabel](https://github.com/isabelroses)
8 changes: 8 additions & 0 deletions UNINSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
To uninstall, go to the cloned folder and run the uninstall script:

#### Linux
```bash
./uninstall
```
#### Windows
On windows run `uninstall.exe` as administrator.
5 changes: 5 additions & 0 deletions src/assets/Catppuccinifier.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Desktop Entry]
Name=Catppuccinifier
Exec=catppuccinifier-gui
Icon=catppuccinifier
Type=Application
Binary file added src/assets/catppuccinifier.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 45a7f90

Please sign in to comment.