Commit Graph

132 Commits

Author SHA1 Message Date
Zihao Xu
bd6f7e67d5 feat(server): make server host and port configurable (#127)
* feat(server): make server host and port configurable

Support configuring server binding address via environment variables
and config files. Priority: ENV > local_config.yml > config.yml > default.

- Add host and port options to system section in config.yml
- Read SERVER_HOST and SERVER_PORT from environment variables
- Default to 127.0.0.1:8002 for security

Set host to "0.0.0.0" to allow LAN access.

* test(server): add comprehensive tests for server binding config

Add 28 test cases covering:
- Environment variable priority (SERVER_HOST, SERVER_PORT)
- Config file reading (system.host, system.port)
- Default value fallback
- OmegaConf integration
- Edge cases (IPv6, empty values, invalid ports)

* docs: add mobile/LAN access instructions

- Add mobile access section to README and EN_README
- Configure Vite to listen on 0.0.0.0 for LAN access in dev mode
- Link to Issue #130 for mobile UI compatibility tracking
2026-02-04 21:47:17 +08:00
bridge
f2c4b5609d chore: update readme 2026-02-03 21:33:51 +08:00
bridge
d9e7d824a6 chore: add discord 2026-02-02 20:46:12 +08:00
bridge
9ee049c377 docs: enhance README files with detailed Docker setup and application access instructions
- Added a new section in EN_README.md for Docker Compose usage, outlining the steps to clone the repository and start the service.
- Updated README.md to include application access details for both frontend and backend after installation.
- Improved clarity and organization of setup instructions in both README files.
2026-02-01 13:38:19 +08:00
bridge
4674cbe930 docs: update README files with new cloning instructions and LLM configuration details
- Updated cloning URL in both EN_README.md and README.md to reflect the correct repository.
- Enhanced LLM configuration section in EN_README.md with recommended frontend setup and local deployment options.
- Improved formatting and clarity of setup instructions in README.md.
2026-02-01 13:35:53 +08:00
MarkYangkp
c981aff863 feat: 添加 Docker 一键部署支持,包括后端和前端 Dockerfile、docker-compose 配置及 Nginx 配置 (#112)
* feat: 添加 Docker 支持,包括后端和前端 Dockerfile、docker-compose 配置及 Nginx 配置

* feat: 添加 .dockerignore 文件,更新 Dockerfile 和 docker-compose 配置以支持数据持久化保存
2026-02-01 12:55:39 +08:00
bridge
5d46b47672 chore: update readme shields 2026-01-31 21:00:19 +08:00
bridge
24ded1d40f chore: update readme shields 2026-01-31 20:58:38 +08:00
bridge
b6104f4fce chore: update readme 2026-01-31 20:54:51 +08:00
bridge
3a4c1a5dcb refactor: contributors 2026-01-31 00:24:25 +08:00
bridge
a59f6f816f update: add hellogithub shield into readme 2026-01-29 20:57:18 +08:00
bridge
cd9f16527b update: add hellogithub shield into readme 2026-01-29 20:56:28 +08:00
bridge
4a4c45c428 update: en screenshot gif 2026-01-25 19:06:10 +08:00
bridge
8af763531b update: mode 2026-01-24 23:40:54 +08:00
4thfever
e1091fdf5a Feat/i18n (#92)
* feat: add vue-i18n

* feat: add vue-i18n

* feat: add vue-i18n

* feat: add language class

* add: en templates and configs

* add: en names

* refactor: name gender id and sect id

* feat(i18n): add gettext infrastructure for dynamic text translation (#81)

* feat(i18n): add gettext infrastructure for dynamic text translation

- Add src/i18n/ module with t() translation function
- Add .po/.mo files for zh_CN and en_US locales
- Update LanguageManager to reload translations on language change
- Add comprehensive tests (14 tests, all passing)
- Add implementation spec at docs/specs/i18n-dynamic-text.md

Phase 1 of i18n dynamic text implementation.

* feat(i18n): expand .po files with comprehensive translation entries

Add translation messages for:
- Battle result messages (fatal/non-fatal outcomes)
- Fortune event messages (item discovery, cultivation gains)
- Misfortune event messages (losses, damage, regression)
- Death reason messages
- Item exchange messages (equip, sell, discard)
- Single choice context and option labels
- Common labels (weapon, auxiliary, technique, elixir)

Both zh_CN and en_US locales updated with matching entries.

* test: add .po file integrity tests

* feat: i18n for actions

* feat: i18n for effects

* feat: i18n for gathering

* feat: i18n for classes

* feat: i18n for classes

* feat: i18n for classes

* feat: i18n for classes

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* fix bugs

* update csv

* update world info

* update prompt

* update prompt

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* fix bug

* update

* update

* update

* update

* update

* update

* update

---------

Co-authored-by: Zihao Xu <xzhseh@gmail.com>
2026-01-24 13:47:23 +08:00
Zihao Xu
ec71310588 docs: update LLM config section in README (#80)
* docs: update LLM config section in README

* fix: use deepseek as example (matches default config)
2026-01-21 15:35:12 +08:00
bridge
64732d6912 update: license & contributing 2026-01-20 21:12:55 +08:00
bridge
325c72e513 update: readme 2026-01-20 01:01:45 +08:00
Zihao Xu
31d0c060e8 feat: enhance README with activity graph and contributor avatars (#65) 2026-01-19 20:50:33 +08:00
Zihao Xu
8f7c2cfa66 docs: add Codecov coverage badge to README (#54)
Closes #49
2026-01-19 20:47:49 +08:00
bridge
e5ed418949 update: readme 2026-01-15 09:01:02 +08:00
4thfever
bb2e010930 refactor readme (#26)
refactor readme, simulate style of
https://github.com/vladelaina/Catime
Closes #23
2026-01-13 00:03:09 +08:00
bridge
2caa5586be refactor history archi 2026-01-12 00:36:10 +08:00
bridge
e5f96b7f43 update readme and tips 2026-01-09 00:50:39 +08:00
bridge
59824d9cd5 update readme and tips 2026-01-09 00:49:16 +08:00
bridge
1647494c7d update 2026-01-08 01:06:10 +08:00
bridge
060708bd79 update readme 2026-01-08 00:46:42 +08:00
bridge
b53f428cbb update unittest 2026-01-07 23:14:48 +08:00
bridge
b2a021bf8a rename item -> material & refactor buying action 2026-01-07 22:43:26 +08:00
bridge
3f980d4593 fix a bug 2026-01-06 20:42:53 +08:00
bridge
8d7e11b021 add elixir 2026-01-05 23:04:55 +08:00
bridge
5429e25b1e update readme 2026-01-04 21:18:20 +08:00
bridge
7320773bfe update readme 2026-01-04 21:12:35 +08:00
bridge
9865bd170b update readme 2026-01-04 21:06:10 +08:00
bridge
5ffeef897a update readme 2026-01-04 21:05:03 +08:00
bridge
1ec3ec092b update readme 2026-01-04 20:57:28 +08:00
bridge
b8de42aeb3 add badge 2026-01-04 00:58:51 +08:00
bridge
367b09fac3 add badge 2026-01-04 00:52:26 +08:00
bridge
f6ebe7c037 add badge 2026-01-04 00:49:30 +08:00
bridge
f9ad2dcd87 update readme 2026-01-03 23:59:30 +08:00
bridge
868e355e41 refactor cast 2026-01-03 23:54:47 +08:00
bridge
ea0296f3e2 add cast readme 2026-01-03 23:28:55 +08:00
bridge
5d69334b13 update readme 2026-01-01 17:32:41 +08:00
bridge
edaebe4406 update readme 2026-01-01 17:30:31 +08:00
bridge
af568d4244 update readme 2026-01-01 17:21:46 +08:00
bridge
37294dacd8 update readme 2026-01-01 17:19:20 +08:00
bridge
02eb094f2c update readme 2026-01-01 17:07:57 +08:00
bridge
c73c7361c8 update readme 2026-01-01 17:05:07 +08:00
bridge
abb2f6e07b update readme 2026-01-01 16:45:31 +08:00
bridge
d6e5d334ca update readme 2026-01-01 11:28:19 +08:00