dalgona UI

September 18, 2023 · View on GitHub

Mentioned in Awesome Tauri

Animation-v3

Getting Started

  1. You must have a Tenor API key! Click here 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

[Environment]::SetEnvironmentVariable(TENOR_API_KEY, "Insert your Tenor Key", "User")

macOS

launchctl setenv TENOR_API_KEY "Insert your Tenor Key"

How to build

gh repo clone GHGHGHKO/dalgona
cd dalgona
pnpm i
pnpm tauri dev
pnpm tauri build

Wiki

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

To-Do

  • TENOR API
  • GIPHY API
  • Updater

Folder Structure

.
├── 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