From b2d62bd6d72dd85c7906287a4ad4e4c3c7359fc7 Mon Sep 17 00:00:00 2001 From: Arunavo Ray Date: Sun, 18 May 2025 09:46:03 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20Update=20default=20port=20to=204?= =?UTF-8?q?321=20and=20version=20to=201.0.0;=20add=20project=20status=20se?= =?UTF-8?q?ction=20in=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 26 ++++++++++++++++++++++++-- package.json | 5 ++++- src/lib/config.ts | 2 +- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 37f20ab..0ce9c6a 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ The Docker container can be configured with the following environment variables: - `DATABASE_URL`: SQLite database URL (default: `sqlite://data/gitea-mirror.db`) - `HOST`: Host to bind to (default: `0.0.0.0`) -- `PORT`: Port to listen on (default: `3000`) +- `PORT`: Port to listen on (default: `4321`) - `JWT_SECRET`: Secret key for JWT token generation (important for security) @@ -302,7 +302,7 @@ After Gitea is running: docker run -d \ --name gitea-mirror-dev \ --network gitea-network \ - -p 3000:3000 \ + -p 4321:4321 \ -v gitea-mirror-data:/app/data \ -e NODE_ENV=development \ -e JWT_SECRET=dev-secret-key \ @@ -352,6 +352,28 @@ Contributions are welcome! Please feel free to submit a Pull Request. This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. +## Project Status + +This project is now complete and ready for production use with version 1.0.0. All planned features have been implemented, thoroughly tested, and optimized for performance: + +- ✅ User-friendly dashboard with status overview +- ✅ Repository management interface +- ✅ Organization management interface +- ✅ Configuration management for GitHub and Gitea +- ✅ Scheduling and automation +- ✅ Activity logging and monitoring +- ✅ Responsive design for all screen sizes +- ✅ Modern toast notifications for better user feedback +- ✅ First-time user signup experience +- ✅ Better error handling and user guidance +- ✅ Comprehensive error handling +- ✅ Unit tests for components and API +- ✅ Direct GitHub to Gitea mirroring (no external dependencies) +- ✅ Docker and docker-compose support for easy deployment +- ✅ Multi-architecture support (ARM64 and x86_64) +- ✅ Light/dark mode toggle +- ✅ Persistent configuration storage + ## Acknowledgements - [Octokit](https://github.com/octokit/rest.js/) - GitHub REST API client for JavaScript diff --git a/package.json b/package.json index 48baf3c..66f28a3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,10 @@ { "name": "gitea-mirror", "type": "module", - "version": "0.0.1", + "version": "1.0.0", + "engines": { + "node": ">=22.0.0" + }, "scripts": { "setup": "pnpm install && pnpm manage-db init", "dev": "astro dev", diff --git a/src/lib/config.ts b/src/lib/config.ts index 58618c1..8583353 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -24,5 +24,5 @@ export const ENV = { // Server host and port HOST: process.env.HOST || "localhost", - PORT: parseInt(process.env.PORT || "3000", 10), + PORT: parseInt(process.env.PORT || "4321", 10), };