Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/whazor/k8s-at-home-search

Your Gateway Drug to Kubernetes at Home!
https://github.com/whazor/k8s-at-home-search

Last synced: about 1 month ago
JSON representation

Your Gateway Drug to Kubernetes at Home!

Awesome Lists containing this project

README

        

# kubesearch.dev
Search Flux HelmReleases through [awesome k8s-at-home](https://github.com/k8s-at-home/awesome-home-kubernetes) projects, check it out at https://kubesearch.dev/. We index Flux HelmReleases from Github and Gitlab repositories with the [k8s-at-home topic](https://github.com/topics/k8s-at-home) and [kubesearch topic](https://github.com/topics/kubesearch). To include your repository in this search it must be public and then add the topic `k8s-at-home` or `kubesearch` to your GitHub Repository topics.

Thanks to Toboshii and [Hajimari](https://github.com/toboshii/hajimari) for regulating icons to helm charts.

And also thanks to k8s@home community for great charts and configurations.

image

image

## development
Overview:
```mermaid
graph LR
I[interesting.py]
I-->|repos.json|Init[init-db.py]
Init-->|repos.db: repos|download[download.py]
Init-->|repos.db: repos|search
download-->|repos/ submodules|search[search.py]
search-->|repos.db: repos,charts|frontend
```

**To build repos.db (optional for frontend, check step below)**

Python requirements: `pip install -r requirements.txt`

Updating `repos.json` (can be skipped, already included in source):
```
python3 interesting.py
```

Setting up `repos.db` repos table (requires `repos.json`):
```
python3 init-db.py
```

Download repos into `repos/` (requires repo.db):
```
python3 download.py
```

Setting up `repos.db` charts table:
```
python3 search.py
```

**Setting up the frontend**

```
wget https://github.com/Whazor/k8s-at-home-search/releases/latest/download/repos.db.zz -P frontend/public/
wget https://github.com/Whazor/k8s-at-home-search/releases/latest/download/repos-extended.db.zz -P frontend/public/

cd frontend/
yarn install
yarn run dev
```

### tables

**repo**
| **column name** | repo_name | url | branch | stars |
|-----------------|------------------|------------------------------------|-----------------|---------|
| **value** | text primary key | text | text | integer |
| **example** | user-reponame | "https://github.com/user/reponame" | main/master/... | 42 |

**flux_helm_release**
| **column name** | chart_name | repo_name | url | hajimari_icon | timestamp |
|-----------------|------------|---------------|---------------------------------------------------------------------|---------------|------------|
| **value** | text | text | text | text null | integer |
| **example** | plex | user-reponame | "https://github.com/user/reponame/.../../traefik/helm-release.yaml" | tv | 1644404532 |