Skip to content

Repository files navigation

Scripts

Collection of automation scripts. Use it if you have the same purpose.

CC BY 4.0DeepSource

Got scripts? See Contributing.
Got Issues? See Issues

Extras

  • The openfaas-function folder contains OpenFaaS functions, a framework for building serverless functions on containers with simplified Kubernetes deployment. It's portable across environments, supports any language, and features automatic scaling with built-in observability.
    • Example (GET/function/llm-global-spend): litellm-sample
  • The OpenWebUI folder contains plugins (pipes, filters and functions) for OpenWebUI, a web interface for interacting with LLMs. These plugins enable agent workflows, logging, and other advanced features.

Lot of Scripts

TitleFilenameTypeDescription
SearXNG AI Search Assistplugins_langchain_llm.pySearXNG AddonGet instant, AI-powered answers summarized from top search results, displayed directly on the page. Demo 🖼️
SearXNG Self-Hosted Service Indexdashboard_services.pySearXNG AddonIntegrates with gethomepage/homepage to search through your self-hosted services and applications. Demo 🖼️
LiteLLM Spend Trackeropenfaas-function/ServerlessHierarchical spend visibility across multiple time horizons is provided by a time-segmented API cost tracker that aggregates LLM usage data.
Portainer Service Recovery Functionopenfaas-function/ServerlessOn-demand service stack recovery solution that intelligently identifies and remediates service disruptions in Portainer-managed containers.
Pipe – Monte Carlo Tree Search (MCTS)pipe_mcts.pyOpenWebUIMonte Carlo Tree Search Pipe Addon for OpenWebUI with support for OpenAI and Ollama endpoints. Demo 📹
Pipe – OpenAI ReAct + Langfusepipe_react.pyOpenWebUIOpenAI ReAct Agent as a Pipe Addon for OpenWebUI using existing tools, with streaming and citations. Implemented with LangGraph.
Fancy MOTDfancy_motd.shBashA really cool MOTD that displays system information on login. Screenshot 🖼️
Raspberry Pi MOTDstatus_motd_rpi.shBashRaspberry Pi MOTD that displays basic system information on login. Screenshot 🖼️
Nextcloud Snapshotnextcloud_snapshot.shBashSnapshot Nextcloud and uploads to remote locations such as Google Drive. Can be used as a Cronjob.
Clean Systemclean-system.shBashRemoving unused apt packages, kernels, thumbnail cache, and docker objects.
Update Systemupdate-system.shBashFor Updating apt Packages and Portainer via docker.
Alias and functionsalias.shBashHuman friendly aliases and functions
Send notificatiovs via gotifygotify-send.shBashSend notifications via gotify
Measure Voltage RPimeasure_volts_rpi.shBashDisplay Raspberry Pi voltage and checks if it is undervolted.
Scan Pagesscan_page.shBashScan a page from my HP flatbed scanner through SANE (Scanner Access Now Easy) interface
Gotify Docker Stackgotify/docker-compose.ymldocker-composeBasic Gotify Docker stack. Refer documentation
Homeassistant Docker Stackhomeassistant/docker-compose.ymldocker-composeHome Assistant stack with healthcheck & support for accessing host docker containers. configuration.yaml with some custom sensors (VPN IP, etc.)
Local Sites Docker Stacklocal_sites/docker-compose.ymldocker-composeDocker stack to host static site(s)
MongoDB Docker Stackmongodb/docker-compose.ymldocker-composeMongoDB and Mongo Express
Nextcloud Docker Stacknextcloud/docker-compose.ymldocker-composeThe Nextcloud Docker stack that I use.
NGINX Proxy Manager Docker Stacknginx_proxy_manager/docker-compose.ymldocker-composeSimple NGINX Proxy Manager Docker Stack
Pi-Hole Docker Stackpihole/docker-compose.ymldocker-composeSimple Pi-Hole Docker Stack
ScanservJS Docker Stackscanner_app/docker-compose.ymldocker-composeSANE web UI frontend for scanners.
Secrets Manager Docker Stacksimple_secret_manager/docker-compose.ymldocker-composeSecure storage, and delivery for tokens Visit bearlike/simple-secrets-manager to know more.
Watchtower Docker Stackwatchtower/docker-compose.ymldocker-composeSimple Watchtower Docker Stack
Gluetun + qBittorrent Docker Stackqbitorrent+gluetun/docker-compose.ymldocker-composeqBittorrent with all connection routed through a Gluetun container (VPN). Purely for educational purpose
Gluetun + qBittorrent Docker Stackqbitorrent+tor/docker-compose.ymldocker-composeqBittorrent with all connection routed through the Tor network (via SOCKS5). Not recommended (See why on the inline comments). Purely for educational purpose
Wireguard Docker Stackwireguard/docker-compose.ymldocker-composeSimple Wireguard Docker Stack
Download Torrents on Colabnotebooks/Ultra_Torrent_Downloader.ipynbJupyter NotebookDownloading Torrents using Google Colab. Powered by qBittorrent WebUI and ngrok.
Macro KeyboardLua Macros/marco_keyboard.luaLuaLoad this script in Lua Macros to use multiple-keyboards for macro-triggerring application.
DPI ScalingIncrease_DPI_Monitor.ps1PowershellChange DPI and Open-Shell Start Menu Orb size depending upon where you are sitting.
Auto WG and Login Notificationauto_wg_login_notification.ps1PowershellConnect to WireGuard Tunnel when not connected to home network and sends login notification.
Start X Server & SSH into a serverstart_xserver_and_connect_ssh.ps1PowershellStart X Server on Windows (Xming or VcXsrv) and SSH into a server
Cloudflare - Add DNS A recordcloudflare_create_dns_record.pyPythonAdds DNS A record pointing to a mentioned server using Cloudflare API v4.
Cloudflare - Delete DNS A recordcloudflare_delete_dns_records.pyPythonDeletes DNS A record pointing to a mentioned server using Cloudflare API v4.
Deletes old files in a directorydelete_old_file.pyPythonPeriodically deletes old files from a directory. For use in torrent box(es).
Find and Fix Git Email Leakfind-fix-git-email-leak/PythonFind and Fix publicly accessible commit email addresses.
Macro Keyboard Companionmacro_keyboard_companion.pyPythonCompanion script for my Macro Keyboard. Lua Macros/marco_keyboard.lua for keyboard input grabbing. Basic alternative for AutoHotKey.
Turn off Samsung TVtv-shutdown.pyPythonTurn off Samsung TV using samsungctl.
Login Notification via Gotifylogin_notification.pyPythonRetrieves Gotify tokens from Simple Secrets Manager (SSM) and sends notification on user login. For Windows, Use task scheduler to automate.
Keyboard and Mouse Recorder & Replayerrecord-kb-mouse-replay.pyPythonThis script records mouse left-clicks and keyboard press events, including the time delays between them. When replaying, it reproduces the events in the correct order. With a PyQt5 GUI.

^ back to top ^

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

About

Collection of automation scripts. I hope you find it useful.

Topics

Resources

Contributing

Stars

24 stars

Watchers

2 watching

Forks

Used by

Contributors

Languages