Skip to content

DanZai233/Record-ME

Repository files navigation

Record 'ME' | 记录’我’

A bilingual (English/Chinese), aesthetic creative writing environment with intelligent AI co-authoring tools. 一个支持中英双语、界面优美的创意写作环境,配备智能 AI 辅助写作功能。

Features (功能特点)

  • Bilingual Interface: Seamlessly switch between English and Chinese. (中英双语无缝切换)
  • AI Co-Authoring: Continue your story or get writing suggestions using Google Gemini. (AI 续写与建议)
  • Themes: Multiple aesthetic color themes (Serene, Dark, Forest, Sepia, Cyberpunk). (多种主题配色)
  • Distraction Free: Clean interface focused on writing. (沉浸式写作体验)

Deployment (部署)

Vercel One-Click Deploy (一键部署)

You can deploy this project to Vercel instantly. You will need a Google Gemini API Key. 您可以直接将本项目部署到 Vercel。您需要一个 Google Gemini API Key。

Deploy with Vercel

Note: Since this is a custom application code, you should first fork or upload this code to your own GitHub repository. Then: 注意: 请先将此代码上传到您自己的 GitHub 仓库,然后:

  1. Log in to Vercel. (登录 Vercel)
  2. Click "Add New..." -> "Project". (点击 Add New -> Project)
  3. Select your GitHub repository. (选择您的 GitHub 仓库)
  4. Important: In the "Environment Variables" section, add a new variable: (在环境变量设置中添加)
    • Key: API_KEY
    • Value: Your_Google_Gemini_API_Key_Here
  5. Click "Deploy". (点击部署)

Environment Variables (环境变量)

| Variable | Description |

OS 说明
API_KEY Required. Your Google Gemini API key. Get it at aistudio.google.com.

Local Development (本地开发)

  1. Clone the repo.
  2. Install dependencies: npm install
  3. Create a .env file and add API_KEY=your_key.
  4. Run dev server: npm run dev

Multiple API Keys Support

Currently, the app uses a single system-wide API_KEY set in the environment variables for simplicity and security. Currently, users deploy their own instance, so "multiple keys" is achieved by each user having their own Vercel instance with their own key.

If you need to switch keys often, you can redeploy with a new environment variable on Vercel.

目前,为了安全起见,应用使用部署时配置的环境变量 API_KEY。由于用户是私有部署,每个人都可以使用自己的 Key。如果需要更换 Key,请在 Vercel 后台更新环境变量并重新部署。

Credits

Built with React, Vite, TailwindCSS, and Google Gemini API.

About

Record ME

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published