diff --git a/docs/TODO.md b/docs/TODO.md index 283fe229..4e23944b 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -204,7 +204,7 @@ The following items have been reviewed but need to be revisited due to complexit * https://github.com/Kanaries/Rath * cvat.io * https://github.com/illacloud/illa-builder -* https://github.com/metrue/fx +* * https://github.com/siyuan-note/siyuan * https://github.com/shuttle-hq/shuttle * https://github.com/open-hand/choerodon @@ -233,11 +233,6 @@ The following items have been reviewed but need to be revisited due to complexit * [ ](https://github.com/stringer-rss/stringer) -## Docker Issue - -Compose is now a Docker plugin. For Docker to find this plugin, symlink it: - mkdir -p ~/.docker/cli-plugins - ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compos ## Sources diff --git a/home/.chezmoitemplates/secrets/ELEVENLABS_API_KEY b/home/.chezmoitemplates/secrets/ELEVENLABS_API_KEY new file mode 100644 index 00000000..20ae345c --- /dev/null +++ b/home/.chezmoitemplates/secrets/ELEVENLABS_API_KEY @@ -0,0 +1,7 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBxanRPM3BkdnFRZUVSTFZv +Qmk0SHdvWFRSZ3UyNXpWdDdJMDhwRE1kZTJBCnMwSnVMYzNZU0tFQXd5MkZOU2tl +TGxlU1lxbklYejJMU2ZsSjYvU1hLSGcKLS0tIFBseVY0MlFlZHJhcXpIck9Ubmh6 +a0FsUllxNWNNbklETkx6dksyMHZsMEUKOo9nDjRTptWya6d+FziSRTU+n45OXUWG +Ap/hmeTt7HTgNIXgmju5RG9Y8yBD4VoHs5j7AoD/+r0mNoXbkA/MyA== +-----END AGE ENCRYPTED FILE----- \ No newline at end of file diff --git a/home/.chezmoitemplates/secrets/PEXELS_API_KEY b/home/.chezmoitemplates/secrets/PEXELS_API_KEY new file mode 100644 index 00000000..883193c8 --- /dev/null +++ b/home/.chezmoitemplates/secrets/PEXELS_API_KEY @@ -0,0 +1,8 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBJa2p5UkE1TnMyOGNpbkkv +TEtSejR0U0NIclBiWEtHVUJrVnc0aXBLdDNvCk96WUh6S2FFaERlc3JtL1pOSTBy +K0MvejBMZnVzM203dFpHeElWaFVwd1UKLS0tIGRIS2VWVjdHM1pOMk5nd2FwM3lB +QkZFa3ZyQnE3K3NEczVGQys5eFVhUzgKFoem/cWBEpxrHyOXCiedWa8fEA5iI3h6 +bMr67QuIuRouWm3hjh6hu3TGrD9hcczfw94QabcP8ZTC8kKAw2O4FkUgJ0QBqHuV +mMUkiE6/KpWDqb2N/StCqg== +-----END AGE ENCRYPTED FILE----- \ No newline at end of file diff --git a/home/dot_config/shell/private_private.sh.tmpl b/home/dot_config/shell/private_private.sh.tmpl index 4d507324..0c7e007e 100644 --- a/home/dot_config/shell/private_private.sh.tmpl +++ b/home/dot_config/shell/private_private.sh.tmpl @@ -36,6 +36,9 @@ export LEXICON_CLOUDFLARE_USERNAME="{{ .user.cloudflare.username }}" export DOCKERHUB_TOKEN="{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "DOCKERHUB_TOKEN")) }}{{ includeTemplate "secrets/DOCKERHUB_TOKEN" | decrypt | trim }}{{ else }}{{ env "DOCKERHUB_TOKEN" }}{{ end }}" export DOCKERHUB_REGISTRY_PASSWORD="$DOCKERHUB_TOKEN" +### Elevenlabs +export ELEVENLABS_API_KEY="{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "ELEVENLABS_API_KEY")) }}{{ includeTemplate "secrets/ELEVENLABS_API_KEY" | decrypt | trim }}{{ else }}{{ env "ELEVENLABS_API_KEY" }}{{ end }}" + ### GitHub export GH_TOKEN="{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "GITHUB_TOKEN")) }}{{ includeTemplate "secrets/GITHUB_TOKEN" | decrypt | trim }}{{ else }}{{ env "GITHUB_TOKEN" }}{{ end }}" export GITHUB_TOKEN="$GH_TOKEN" @@ -75,6 +78,9 @@ export NPM_TOKEN="{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" " ### OpenAI export OPENAI_API_KEY="{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "OPENAI_API_KEY")) }}{{ includeTemplate "secrets/OPENAI_API_KEY" | decrypt | trim }}{{ else }}{{ env "OPENAI_API_KEY" }}{{ end }}" +### Pexels +export PEXELS_API_KEY="{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "PEXELS_API_KEY")) }}{{ includeTemplate "secrets/PEXELS_API_KEY" | decrypt | trim }}{{ else }}{{ env "PEXELS_API_KEY" }}{{ end }}" + ### PyPi export PYPI_TOKEN="{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "PYPI_TOKEN")) }}{{ includeTemplate "secrets/PYPI_TOKEN" | decrypt | trim }}{{ else }}{{ env "PYPI_TOKEN" }}{{ end }}" diff --git a/home/dot_local/bin/executable_shortgpt b/home/dot_local/bin/executable_shortgpt new file mode 100644 index 00000000..5db49e43 --- /dev/null +++ b/home/dot_local/bin/executable_shortgpt @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +# @file ~/.local/bin/shortgpt +# @brief Setup and launch ShortGPT +# @description +# This script is a script that will automatically setup and launch [ShortGPT](https://github.com/RayVentura/ShortGPT). +# ShortGPT allows you to create short videos automatically by leveraging AI. + +### Ensure repository is cloned to ~/.local/share/shortgpt +if [ ! -d "${XDG_DATA_HOME:-$HOME/.local/share}/shortgpt" ]; then + git clone https://github.com/rayventura/shortgpt.git "${XDG_DATA_HOME:-$HOME/.local/share}/shortgpt" +fi + +### Set working directory +cd "${XDG_DATA_HOME:-$HOME/.local/share}/shortgpt" + +### Ensure virtualenv is initialized +if [ ! -d "${XDG_DATA_HOME:-$HOME/.local/share}/shortgpt/.venv" ]; then + virtualenv .venv +fi + +### Source the virtualenv +source .venv/bin/activate + +### Install requirements +pip3 install -r requirements.txt + +### Run ShortGPT +python3 runShortGPT.py & + +### Wait 5 seconds and open expected web address +sleep 5 +open http://127.0.0.1:31415 diff --git a/software.yml b/software.yml index bbc437f8..d4086f50 100644 --- a/software.yml +++ b/software.yml @@ -2880,7 +2880,7 @@ softwarePackages: _bin: ffmpeg _desc: '[FFmpeg](https://www.ffmpeg.org/) is the leading multimedia framework. It is able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge.' _docs: null - _github: null + _github: https://github.com/FFmpeg/FFmpeg _home: null _name: FFmpeg ansible: professormanhattan.ffmpeg @@ -3352,7 +3352,7 @@ softwarePackages: _github: https://github.com/antonmedv/fx _home: https://github.com/antonmedv/fx _name: FX - brew: fx + brew: fxbrew install metrue/fx/fx go: github.com/antonmedv/fx@latest pacman: fx pkg: fx @@ -4412,7 +4412,7 @@ softwarePackages: _bin: convert _desc: null _docs: null - _github: null + _github: https://github.com/ImageMagick/ImageMagick _home: null _name: null apk: imagemagick @@ -4435,7 +4435,7 @@ softwarePackages: _bin: codeclimate _desc: null _docs: null - _github: null + _github: https://github.com/codeclimate/codeclimate _home: null _name: CodeClimate _usesDocker: true