Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/whazor/k8s-at-home-search
- Owner: whazor
- Created: 2022-02-06T20:24:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T00:50:47.000Z (about 1 month ago)
- Last Synced: 2024-10-30T02:55:00.775Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://kubesearch.dev/
- Size: 4.79 GB
- Stars: 261
- Watchers: 2
- Forks: 12
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starts - whazor/k8s-at-home-search - Your Gateway Drug to Kubernetes at Home! (others)
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.
## 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 |