Translate emojis and back to human text, in multiple languages **
UI & State
- React: Front-end library for building interactive components.
- @chakra-ui/react: Prebuilt, accessible UI components for faster styling.
- Zustand: Simple state management across components.
API & Translation
- Axios: HTTP client for API requests.
- OpenAI: Client library to access ChatGPT translations.
- Claude: Alternative translation provider.
Other
- emoji-picker-react: Component for picking emojis as input.
-
Obtain OpenAI API Key
Go to OpenAI Playground
Minimum $5 (Tier 1) to access advanced models -
Run Locally
npm install # Install Dependencies
npm run build # Create a production build that you can host on a server
npm run dev # App will run on http://localhost:5173/- Deploy on Netlify via Github
A. Create the project on Github
B. On Netlify, Add new project > Import an existing project. Link the project
C. When creating the project, paste your VITE_OPENAI_API_KEY onto Environment Variables
components/
ActionContainer.jsx
InfoBox.jsx
LanguageSelector.jsx
PromptContainer.jsx
PromptExample.jsx
ProviderSelector.jsx
SavedTranslations.jsx
TemperatureButton.jsx
config/
app.config.js
lib/
providers/
base.js
claude.js
openai.js
useStore.js
useTranslate.js