Commit Graph

35 Commits

Author SHA1 Message Date
Digital Studium 9363b6f8c4 chore(ollama-stack.yaml): add deployment configuration for ollama service to set initial replica count to 1 2024-03-17 13:45:55 +03:00
Digital Studium 5b9a76c4b9 chore(ollama-stack.yaml): update ollama image to a specific commit
chore(stable-diffusion.yaml): add stable-diffusion service with custom configuration
2024-03-17 13:41:15 +03:00
Digital Studium 21344a8114 Add lazygit 2024-03-17 12:22:42 +03:00
Digital Studium 99325028cd Fix lf 2024-03-17 12:07:45 +03:00
Digital Studium cdb5477d52 Chmo +x 2024-03-17 11:57:01 +03:00
Digital Studium d3d16b3ab6 Add markdown preview 2024-03-17 11:56:36 +03:00
Digital Studium 75cebed2e4 Fix lf sixel 2024-03-17 07:36:27 +03:00
Digital Studium e662d60893 Add scrot 2024-03-16 19:11:30 +03:00
Digital Studium a249f93641 feat(apt_search_and_install.sh): add support for fuzzy search of packages using fzf tool
feat(install_software.sh): add fzf and locales to the list of software to install, and update locale generation commands
2024-03-09 19:31:40 +03:00
Digital Studium cf57ab492d feat(remove\_noise.sh): add script to extract, clean and re-insert audio from .mp4 files with noise reduction and normalization
This script does the following:
1. Extracts audio from all .mp4 files using ffmpeg.
2. Takes the first second of the first extracted audio file as a noise sample using SoX.
3. Applies noise reduction and normalization filters to each audio file using SoX.
4. Re-insertes the cleaned audio back into the corresponding videos using ffmpeg.
5. Removes the original audio files and the noise profile file.
2024-03-09 08:36:34 +03:00
Digital Studium f35b0363d1 fix(install\_software.sh): add missing locales installation steps and generate Russian locales
feat(install\_software.sh): extend the list of packages to install with bat, locales for Russian language support
2024-03-08 21:47:40 +03:00
Digital Studium 93de6237de refactor(install\_software.sh): add support for lf previewer in the script and configure it
feat(install\_software.sh): install lf previewer and set it up as default previewer for various file types
[lf\_preview.sh]: new file: create a new script to handle file previews using lf previewer
2024-03-08 19:05:19 +03:00
Digital Studium fbfdde72ac feat(install\_software.sh): add support for TensorRT installation and remove background in OBS-studio
fix(install\_software.sh): update package list to include tensorrt-libs
docs(install\_software.sh): install lf terminal file manager for better navigation during the installation process
2024-03-08 18:50:08 +03:00
Digital Studium 1df80603e8 chore(install\_software.sh): add support for installing python3-pip and checking for existence of obs-backgroundremoval package before installation
build(install\_software.sh): update the script to check if /etc/docker/daemon.json exists before configuring Nvidia container toolkit and restarting docker service
ci(install\_software.sh): add a new section for initializing Docker Swarm and deploying ollama stack using docker stack deploy command.
2024-03-08 17:45:27 +03:00
Digital Studium f83665e777 refactor(install\_software.sh): remove redundant script for recording screen and delete the corresponding file record\_screen.sh
remove the following lines from install\_software.sh:

```bash
ffmpeg -vsync 0 -hwaccel cuda -hwaccel_output_format cuda     `# we need nvidia acceleration because of low fps without it` \
--r 30 -video_size 640x480 -i /dev/video0  `# this is camera` \
--f alsa -i default -async 1                                   `# this is audio. Why not pulse? Nvidia?` \
--c:v h264_nvenc                                     `# this is video codec` \
video.mp4 # output file
```

Also, remove the filter\_complex line and the x11grab section.

This refactoring is done to simplify the script and make it more focused on installing software rather than recording the screen.
2024-03-08 17:36:58 +03:00
Digital Studium 3f2c2e10bc fix(install\_software.sh): add installation of kubectl using curl and make it available system-wide
feat(install\_software.sh): improve script by checking if kubectl is already installed before attempting to install it again
2024-03-08 00:33:59 +03:00
Digital Studium 1af834ec74 update install\_software.sh script to include npm build command before installing opencommit package
This commit updates the install\_software.sh script by adding the "npm run build" command before installing the opencommit package using "sudo npm install". This change is intended to ensure that the OpenCommit package is built locally before installation, which may improve the stability and performance of the installed software.
2024-03-08 00:03:54 +03:00
Digital Studium d46662d787 commit (install\_software.sh): update script to install nvidia-container-toolkit, docker-compose and opencommit
In this commit, I updated the install\_software.sh script to include the installation of nvidia-container-toolkit, docker-compose, and opencommit. The script now checks if these packages are already installed using the `command -v` command and installs them if they are not present. Additionally, it adds a new service 'ollama' in ollama-stack.yaml file for running ollama container with the latest image.

Also, I added a new script named record\_screen.sh which records the screen and camera using ffmpeg with nvidia acceleration. The script uses h264\_nvenc as video codec to take advantage of NVIDIA GPU for encoding. It also sets the video size to 640x480 and frames per second to 30.

Lastly, I added a new file named ollama-stack.yaml which defines the services and volumes for running ollama and open-webui containers using docker-compose. The ollama service listens on port 11434 and maps the volume to /root/.ollama. The open-webui service listens on port 8080 and maps the volume to /app/backend/data. It also sets the OLLAMA\_BASE\_URL environment variable for open-webui to point to ollama container's IP address and port number.
2024-03-07 23:34:38 +03:00
Digital Studium 86af034ed6 Add ffmpeg with nvidia codec 2024-03-03 21:02:53 +03:00
Digital Studium 421fd71e11 Add record_video script 2024-03-03 19:16:46 +03:00
Digital Studium 3b6ae63404 Add newest ffmpeg 2024-03-03 18:34:52 +03:00
Digital Studium cb24b6ab56 Add sudio systray 2024-03-03 18:21:42 +03:00
Digital Studium 268bdd859d Add ping 2024-03-03 18:09:35 +03:00
Digital Studium ffc365b89a Add install_software script 2024-03-03 18:07:29 +03:00
Digital Studium ec02f1a4b7 ??? 2024-03-03 17:01:00 +03:00
Digital Studium c87ea36c67 Change telegram from apt to binary 2024-03-02 18:44:53 +03:00
Digital Studium 8c88a4cea6 Fix it 2024-03-02 17:56:52 +03:00
Digital Studium cebe457134 Fix it 2024-03-02 14:40:47 +00:00
Digital Studium 725eda3bbd Fix comments 2024-03-02 13:50:35 +00:00
Digital Studium eff7cb4674 Fix duplicates optional 2024-03-02 13:44:33 +00:00
Digital Studium 011bec4eae Remove stterm 2024-03-02 13:30:43 +00:00
Digital Studium 41d2bc2a31 Fix autostart 2024-03-02 13:22:30 +00:00
Digital Studium 1c5ac00543 Fix install ubuntu 2024-03-02 11:16:38 +00:00
Digital Studium 7697e31788 Add install ubuntu script 2024-03-02 10:14:43 +00:00
Digital Studium bffccfcde7 Initial commit 2024-02-25 18:24:22 +03:00