https://github.com/ogty/widgets
📍 SvelteKit x Tauri x TailwindCSS desktop widget application. Functions include application launch, timer, memo, music playback, etc.
https://github.com/ogty/widgets
desktop macos svetekit tailwindcss tauri widgets
Last synced: 5 months ago
JSON representation
📍 SvelteKit x Tauri x TailwindCSS desktop widget application. Functions include application launch, timer, memo, music playback, etc.
- Host: GitHub
- URL: https://github.com/ogty/widgets
- Owner: ogty
- Created: 2022-10-06T22:04:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-19T07:20:49.000Z (over 3 years ago)
- Last Synced: 2025-10-19T18:49:30.875Z (9 months ago)
- Topics: desktop, macos, svetekit, tailwindcss, tauri, widgets
- Language: Svelte
- Homepage:
- Size: 4.52 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Widgets
## ⚙️ Add a component
### 🔑 Available Keys
- `name`
- `icon`
- `path`
- `url`
- `default`
If a `url` is present, a component is generated that opens the specified page.
If `app` is present, a component that opens the specified app is generated.
**`components.json`**
```json
[
{
"name": "GitHub",
"icon": "Github",
"url": "https://github.com",
"default": true
}
]
```
### 🤖 Create and Execute
```zsh
$ make run
```
### 📷 Creating icons from components.json
```zsh
$ make download-icons
```
Template
```json
{
"name": "",
"icon": "",
"url": "",
"path": "",
"default": true
}
```
## 🎵 Adding BGM from YouTube
```
$ brew install youtube-dl ffmpeg
$ cd static/music
$ youtube-dl --extract-audio --audio-format mp3
```
---
> **Note**
> TailwindCSS can be used in the memo