Ecosyste.ms: Awesome

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

https://github.com/GHGHGHKO/dalgona

πŸ¦€Tauri desktop app with shadcn/ui, Next.js, GIF meme finder app for Windows and macOS. (dalgona)
https://github.com/GHGHGHKO/dalgona

desktop giphy nextjs rust tauri tenor

Last synced: about 2 months ago
JSON representation

πŸ¦€Tauri desktop app with shadcn/ui, Next.js, GIF meme finder app for Windows and macOS. (dalgona)

Lists

README

        

# dalgona UI
[![Mentioned in Awesome Tauri][]][1]

[1]: https://github.com/tauri-apps/awesome-tauri#productivity
[Mentioned in Awesome Tauri]: https://awesome.re/mentioned-badge.svg

![Animation-v3](https://github.com/GHGHGHKO/dalgona/assets/26823834/fa93cd0c-de46-4bfc-818b-ab98cd4b95df)

## Getting Started

1. You must have a Tenor API key! [Click here](https://developers.google.com/tenor/guides/quickstart#setup) to get one.
2. Install! https://github.com/GHGHGHKO/dalgona/tags
3. Insert keywords, key, and the desired number of GIFs!

### Set environments
TENOR : `TENOR_API_KEY`
GIPHY : `GIPHY_API_KEY`

**PowerShell**
```shell
[Environment]::SetEnvironmentVariable(TENOR_API_KEY, "Insert your Tenor Key", "User")
```

**macOS**
```shell
launchctl setenv TENOR_API_KEY "Insert your Tenor Key"
```

### How to build

```shell
gh repo clone GHGHGHKO/dalgona
cd dalgona
pnpm i
```

```shell
pnpm tauri dev
pnpm tauri build
```

## Wiki
https://github.com/GHGHGHKO/dalgona/wiki

## To-Do

- [x] TENOR API
- [x] GIPHY API
- [x] Updater

## Folder Structure

```js
.
β”œβ”€β”€ next-env.d.ts
β”œβ”€β”€ next.config.js //nextjs config file https://nextjs.org/docs/api-reference/next.config.js/introduction
β”œβ”€β”€ package.json
β”œβ”€β”€ postcss.config.js
β”œβ”€β”€ README.md
β”œβ”€β”€ public
β”œβ”€β”€ src //frontend src:
β”‚ β”œβ”€β”€ app //next.js appdir https://beta.nextjs.org/docs/routing/fundamentals
β”‚ β”œβ”€β”€ assets
β”‚ β”œβ”€β”€ components //from shadcn/ui
β”‚ β”‚ └── ui
β”‚ β”œβ”€β”€ data
β”‚ β”œβ”€β”€ hooks
β”‚ β”œβ”€β”€ lib
β”‚ └── styles
β”œβ”€β”€ src-tauri //backend src:
β”‚ β”œβ”€β”€ build.rs
β”‚ β”œβ”€β”€ Cargo.lock
β”‚ β”œβ”€β”€ Cargo.toml //https://doc.rust-lang.org/cargo/reference/manifest.html
β”‚ β”œβ”€β”€ icons //https://tauri.app/v1/guides/features/icons/
β”‚ β”œβ”€β”€ src //rust codes
β”‚ └── tauri.conf.json //tauri config file https://next--tauri.netlify.app/next/api/config
β”œβ”€β”€ prettier.config.js //prettier config file https://prettier.io/docs/en/configuration.html
β”œβ”€β”€ tailwind.config.js //tailwind config file https://tailwindcss.com/docs/configuration
└── tsconfig.json //typescript config file https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
```

## Recommended IDE Setup

- [VS Code](https://code.visualstudio.com/) or [Jetbrains IntelliJ](https://www.jetbrains.com/idea/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)