Files
toolshed-extensions/README.md
T

35 lines
1.8 KiB
Markdown

# toolshed-extensions
Extensions for [Toolshed](https://git.kebcloud.no/keb/toolshed): each folder is one, a toolbox written in Lua that starts from its `init.lua`.
## Installing
In Toolshed, open Settings → Extensions → From a repository, add this repository's address and install the ones you want:
```
https://git.kebcloud.no/keb/toolshed-extensions
```
Toolshed asks for updates once a day and installs one only when you accept it, after showing what it changes. Extensions run with your permissions, so read one before you install it.
## The extensions
| Folder | What it does |
| --- | --- |
| `brreg` | Finds Norwegian companies by name or organisation number: `brreg equinor` |
| `dashboard-icons` | Finds icons for self-hosted apps on dashboardicons.com: `di plex` |
| `databricks` | Searches Unity Catalog and shows job runs and jobs through the Databricks CLI: `dbx sales` |
| `docker` | Handles containers and compose projects, with logs, live stats and pruning: `docker web` |
| `github` | Finds your repos to open or clone and shows your pull requests and reviews through the gh CLI: `gh prs` |
| `homebrew` | Installs, upgrades and removes Homebrew packages: `brew install jq` |
| `norway` | Norway's public holidays, flag days and name days, offline: `helligdager 2027` |
| `projects` | Opens repos with the `dev` command: `p toolshed` |
| `scripts` | A place for your own small commands, each a tool with a hotkey |
| `secrets` | Searches lazysecrets: `s db-password` |
| `wikipedia` | Finds articles and shows their summaries: `wiki rust` |
| `yr` | The weather from yr.no: `yr bergen` |
## Writing one
An extension is a folder with an `init.lua` that returns `toolshed.toolbox { … }`; Toolshed's `docs/extensions.md` describes all of it. Open `init.lua` with a comment that says what the extension does: Toolshed shows it where the extension is offered.