Commit Graph

25 Commits

Author SHA1 Message Date
Yuzhong Zhang 88d3983f26 更新项目配置与构建流程
本次提交包含以下主要更改:
1. 更新 `.gitignore` 文件,移除对子目录环境变量文件的忽略。
2. 修改 `excalidraw-complete.Dockerfile`,将构建工具从 `npm` 更改为 `pnpm`,并移除不必要的补丁步骤。
3. 更新 GitHub Actions 工作流 `docker-build.yml`,移除对子模块的递归检出。
4. 修改 `excalidraw/.env.production` 文件,调整后端 API 地址为本地开发环境,并更新 Firebase 配置。
5. 移除 `husky` 相关依赖及配置,简化项目依赖。

这些更改旨在优化开发环境配置,提高构建效率,并简化项目依赖管理。
2025-07-05 23:39:52 +08:00
Yuzhong Zhang b9ba07ea5d app init 2025-07-05 23:27:59 +08:00
Yuzhong Zhang 602f4629ff init frontend 2025-07-05 23:22:48 +08:00
Yuzhong Zhang 94953a5eac 更新项目架构与存储适配器,添加用户认证功能
本次提交包含以下主要更改:
1. 更新 `.gitignore` 文件,添加对 `node_modules` 和环境变量文件的忽略。
2. 修改 `.gitmodules` 文件,替换为新的子模块 `cloudflare-worker`。
3. 新增 `ARCHITECTURE.md` 和 `PROJECT_REFACTOR_PLAN.md` 文档,详细描述项目架构和改造计划。
4. 实现用户认证功能,添加 GitHub OAuth 处理逻辑,支持 JWT 生成与解析。
5. 引入新的存储接口 `CanvasStore`,并实现相应的存储逻辑,支持用户画布的增删改查。
6. 更新 `main.go` 文件,整合新的认证与存储逻辑,优化路由设置。

这些更改旨在提升项目的可扩展性与用户体验,支持多用户环境下的画布管理与存储。
2025-07-05 23:13:17 +08:00
Yuzhong Zhang 61abbc612b fix 2025-06-23 13:02:10 +08:00
Yuzhong Zhang ce0d79c2f0 fix 2025-06-23 12:56:37 +08:00
Yuzhong Zhang 1b50a9e398 fix 2025-06-23 12:49:48 +08:00
Yuzhong Zhang 7b2f7af77c fix 2025-06-23 12:34:34 +08:00
Yuzhong Zhang 1d2ff532f5 fix 2025-06-23 12:12:10 +08:00
Yuzhong Zhang d08386e7d6 fix 2025-06-23 12:00:27 +08:00
Yuzhong Zhang 315f16d8b7 添加 GitHub Actions 工作流以构建和推送 Docker 镜像
此更改引入了一个新的工作流文件 `docker-build.yml`,用于在推送和拉取请求时自动构建和推送 Docker 镜像。工作流包括前端构建、上传工件、登录容器注册表以及提取元数据等步骤,旨在简化 CI/CD 流程并提高构建效率。
2025-06-23 11:56:16 +08:00
patwie 5ae64e7aca Make server listen address configurable via flags
To improve the flexibility and configurability of the server, add a
`listen` flag to specify the server's listen address. This replaces
the hardcoded `localhost:3002` string.

This change addresses the need for configuring the server address
dynamically, facilitating easier deployment and testing.

Resolves: #8
2024-06-10 09:20:00 +00:00
patwie 257e46d2c8 Add structured logging to documentStore methods
To troubleshoot reported issues, we add more debugging outputs in
the logging. This includes detailed, structured logs in the Create
and FindID methods to provide better traceability and debuggability.

These changes help diagnose issues by providing detailed context in
the logs, which should improve the ability to identify and resolve
problems.

See also: #9
2024-06-10 09:11:26 +00:00
Patrick Wieschollek 293c56fdaa Merge pull request #10 from codiflow/patch-2
Update README.md
2024-05-24 15:42:29 +02:00
Christian 🦄 fc6de8bf05 Update README.md 2024-05-24 15:23:00 +02:00
Christian 🦄 9568cb57b5 Update README.md 2024-05-24 09:29:58 +00:00
Christian 🦄 20f66fa125 Fixed commands for building from src 2024-05-24 09:29:53 +00:00
patwie f1bedf8a0d Redirect to index.html
The new hot-patching does not handle "/" correctly. Here, we correctly
route to index.html.
2024-05-24 09:25:08 +00:00
patwie 2347954061 Pack as docker for AWS Fargate
Spawning this a AWS Fargate services requires a docker image.
2024-05-24 09:24:13 +00:00
patwie 0e8c968aa3 Add health endpoint
Hosting this behind an ALB/ELB requires a health check route.
2024-05-24 09:23:56 +00:00
patwie eea09906f4 Intercept calls to firebase API
Instead of calling any third-party or home, we provide the stub for
firebase API calls.
2024-04-14 13:29:39 +00:00
patwie 3893dfb13e Add excalidraw as submodule 2024-03-29 13:53:53 +00:00
patwie 31c8029402 Add different data providers and improve docs
This adds support for switching between in-memory, local filesystem, s3
or sqlite.
2024-03-29 13:10:54 +00:00
patwie 2dd1421b6e Add webUI into binary
To get the most simple deployment of excalidraw, the binary should ship
all components (webUI, socket.io, data storage).
2024-03-29 09:55:57 +00:00
patwie 36e3ecb5c7 Initial prototype 2024-03-28 23:57:33 +00:00