Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/howell5/lemon
i18n Manager
https://github.com/howell5/lemon
Last synced: about 6 hours ago
JSON representation
i18n Manager
- Host: GitHub
- URL: https://github.com/howell5/lemon
- Owner: Howell5
- Created: 2024-11-03T09:51:12.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-01-08T10:38:12.000Z (4 days ago)
- Last Synced: 2025-01-08T11:33:49.477Z (4 days ago)
- Language: Vue
- Size: 836 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lemon đ
English | [įŽäŊä¸æ](./README_zh.md)
> A modern i18n management system - Making multi-language development less sour.
[![TypeScript](https://img.shields.io/badge/TypeScript-5.6-blue?logo=typescript)](https://www.typescriptlang.org/)
[![Nuxt](https://img.shields.io/badge/Nuxt-3.13-00DC82?logo=nuxt.js)](https://nuxt.com/)
[![Hono](https://img.shields.io/badge/Hono-4.6-E36002?logo=hono)](https://hono.dev/)
[![PostgreSQL](https://img.shields.io/badge/PostgreSQL-15.0-336791?logo=postgresql&logoColor=white)](https://www.postgresql.org/)## đ Features
- đĒ **Full-stack TypeScript** - End-to-end type safety
- đ **Modern Stack** - Nuxt 3 + Vue 3 + Hono + Drizzle ORM
- đ **Real-time Collaboration** - WebSocket-based real-time editing and notifications
- đ **Easy Integration** - RESTful API and TypeScript SDK
- đĻ **Batch Operations** - JSON format import/export support
- đ¯ **Project Isolation** - Multi-project support with independent permissions
- đ **OAuth Support** - Seamless enterprise authentication integration## đ Quick Start
### Prerequisites
- Node.js >= 18
- PostgreSQL >= 14
- pnpm >= 8### Installation
```bash
# Clone the repository
git clone https://github.com/your-username/lemon.git# Install dependencies
cd lemon
pnpm install# Configure environment variables
cp .env.example .env# Run database generate
pnpm db:generate# Run database migrations
pnpm db:migrate# Start development server
pnpm dev
```## đī¸ Architecture
```
âââ client # Nuxt 3 frontend application
â âââ components/ # Vue components
â âââ composables/ # Composables
â âââ pages/ # Route pages
â âââ types/ # TypeScript types
â
âââ server # Hono backend service
â âââ api/ # API routes
â âââ db/ # Database related
â âââ services/ # Business logic
â âââ websocket/ # WebSocket handlers
â
âââ packages # Utilities
âââ sdk/ # TypeScript SDK
```## đ§ Local Development
```bash
# Install dependencies
pnpm install# Start frontend development server
pnpm dev:client# Start backend development server
pnpm dev:server# Build for production
pnpm build# Run tests
pnpm test
```## đ API Documentation
API documentation follows OpenAPI 3.0 specification and is available at:
```bash
http://localhost:3000/api/docs
```## đŽ Development Guide
### Code Style
We use ESLint and Prettier for code standardization:
```bash
# Run linter
pnpm lint# Format code
pnpm format
```### Commit Convention
Following [Conventional Commits](https://www.conventionalcommits.org/):
```bash
git commit -m "feat: add language switcher"
git commit -m "fix: resolve translation save issue"
```## đ¤ Contributing
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'feat: add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request## đ License
This project is licensed under the [MIT License](./LICENSE).