Skip to content

Commit

Permalink
chore: 🤖 update zeabur templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaddeusJiang committed Nov 5, 2024
1 parent 6379d13 commit 0f1cf87
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 12 deletions.
Binary file added docs/assets/save_it_demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 8 additions & 5 deletions zeabur/readme.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Zeabur
# SaveIt template on zeabur

## Typesense Template
- zeabur template: https://zeabur.com/templates/FTAONK
- github: https://github.com/ThaddeusJiang/save_it/

## Develop

```sh
npx zeabur template update -c FTAONK -f typesense-template.yaml
npx zeabur template update -c FTAONK -f template.yaml
```

docs:
## Docs

- https://zeabur.com/docs/template/template-in-code
- [zeabur docs | template ](https://zeabur.com/docs/template/template-in-code)
30 changes: 23 additions & 7 deletions zeabur/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ metadata:
name: SaveIt
spec:
description: SaveIt is a telegram bot that helps you save photos.
icon: https://github.com/user-attachments/assets/fae196b8-716e-4be7-a8c2-3b141984c0e5
icon: https://raw.githubusercontent.com/ThaddeusJiang/save_it/refs/heads/main/docs/assets/savt_it_bot_logo.jpg
tags:
- Bot
- Telegram
- Photos Storage
- Search Engine
coverImage:
coverImage: https://raw.githubusercontent.com/ThaddeusJiang/save_it/refs/heads/main/docs/assets/savt_it_demo.gif

readme: |-
# SaveIt
Expand All @@ -22,14 +22,11 @@ spec:
- Search photos using semantic search
- Find similar photos by photo
## Learn more
https://github.com/ThaddeusJiang/save_it
<video src="https://github.com/user-attachments/assets/b0dedcc0-3305-42b2-8101-6b0b5d32f17a" controls="controls" width="100%" height="auto" ></video>
[more](https://github.com/ThaddeusJiang/save_it)
services:
- name: save_it
icon: https://github.com/user-attachments/assets/fae196b8-716e-4be7-a8c2-3b141984c0e5
icon: https://raw.githubusercontent.com/ThaddeusJiang/save_it/refs/heads/main/docs/assets/savt_it_bot_logo.jpg
template: GIT
spec:
source:
Expand All @@ -41,6 +38,9 @@ spec:
TELEGRAM_BOT_TOKEN:
default: ""
expose: false
COBALT_API_URL:
default: http://cobalt-api.zeabur.internal:9000
expose: false
TYPESENSE_URL:
default: http://typesense.zeabur.internal:8108
expose: false
Expand Down Expand Up @@ -81,3 +81,19 @@ spec:
expose: false

configs: []
- name: cobalt-api
icon: https://github.com/imputnet/cobalt/raw/main/web/static/favicon.png
template: PREBUILT_V2
spec:
source:
image: ghcr.io/imputnet/cobalt:10
ports:
- id: api
port: 9000
type: TCP
env:
API_URL:
default: undefined
expose: false

configs: []

0 comments on commit 0f1cf87

Please sign in to comment.