
为VR设备(Meta Quest)设计的
在线中文输入法
Visit the site »
Link: https://vrime.org/
View Doc
·
Report Bug
·
Request Feature
本项目重点改善一个问题:
Meta Quest一体机没有自带中文输入法,首次使用的中文用户没法方便地输入中文
项目介绍视频(点击图片跳转至B站):
链接:【Q2/3/3S】在线中文输入法网站 2.0正式发布!都更新了哪些内容?
- 基于项目 My RIME 梧桐输入法 改造
如果需要在本地运行,可以在 Release 页面下载打包后的文件,后续可以自行部署至任意服务器
(待补充)
- 语音输入
- 模糊音设置
- 九键输入
- 键盘按键增加额外键位提示(例如五笔键位)
- 文档:介绍如何自行部署
- 文档:功能介绍
- Github Action 自动创建 Release
See the open issues for a full list of proposed features (and known issues).
开源社区之所以能成为一个绝佳的学习、启发和创造的平台,离不开社区里每一位贡献者的努力。我们会非常感激您对项目做的任何贡献。
如果您有改进建议,欢迎 fork 本仓库并提交 pull request。 您还可以创建一个带有 "enhancement" 标签的 issue。 另外如果您喜欢本项目,别忘了为项目点个星标!再次感谢!:D
- Fork 本项目
- 创建功能分支(
git checkout -b feature/AmazingFeature
) - 提交修改(
git commit -m 'Add some AmazingFeature
) - 推送到远程分支(
git push origin feature/AmazingFeature
) - 发起 Pull Request
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
本项目基于 AGPLv3+ 许可发行,请参考 LICENSE
文件了解详情。
Distributed under the AGPLv3+. See LICENSE
for more information.
David Zhou - Bilibili: 贴纸菌
Project Link: https://github.com/zhou9110/vrime
以下是原项目的文档(待合并)
Online Chinese IME powered by My RIME and RIME.
This is a STATIC website so you DON'T need to own a server to host it.
All computation is performed in browser, thanks to Web Assembly.
It's also a PWA, so you can install it like a native App and use it OFFLINE.
If you want to distribute your own IME, see customize.
If you want to deploy schemas dynamically (online, like how you deploy in Desktop/Mobile platforms), see deploy.
If you want to develop My RIME or know technical details, see develop.
Download latest artifact built by GitHub Actions.
My RIME can be built on Linux, macOS and Windows.
You may use nvm or winget to install node.
npm i -g pnpm
pnpm i
# Ubuntu
apt install -y \
cmake \
ninja-build \
clang-format \
libboost-dev \
libboost-regex-dev \
libyaml-cpp-dev \
libleveldb-dev \
libmarisa-dev \
libopencc-dev
# macOS
brew install cmake ninja clang-format
# Windows
winget install cmake Ninja-build.Ninja LLVM
https://emscripten.org/docs/getting_started/downloads.html
It's not recommended to clone recursively, as many boost libs are not needed.
pnpm run submodule
Uncommon characters are rendered using 遍黑体, 花园明朝 and 一点明朝.
pnpm run font
pnpm run native
pnpm run schema
export ENABLE_LOGGING=OFF # optional, default ON
export BUILD_TYPE=Debug # optional, default Release
pnpm run lib
pnpm run wasm
pnpm run dev
The app is accessible at http://localhost:5173
Optionally, go to http://localhost:5173/?debug=on or turn on Advanced
switch so that you can send raw key sequences to librime,
e.g. {Shift+Delete}
, {Release+a}
.
This feature is better used with log enabled.
pnpm run lint:fix
pnpm run check
pnpm run build
pnpm run test
pnpm run preview
# publish IMEs
declare -a packages=(
... # targets output by pnpm run schema
)
for package in "${packages[@]}"; do
pushd public/ime/$package
npm publish
popd
done
# set VERSION to avoid CDN and browser caching old version
export LIBRESERVICE_CDN=https://cdn.jsdelivr.net/npm/@libreservice/my-rime@VERSION/dist/
export RIME_CDN=https://cdn.jsdelivr.net/npm/@rime-contrib/
vercel build --prod
npm publish
vercel deploy --prebuilt --prod
docker build \
--build-arg ENABLE_LOGGING=OFF \
-t my-rime .
docker run --name my-rime -d my-rime
Let's say the IP address of the container is 172.17.0.2 (got by docker inspect my-rime | grep IPAddress
), then My RIME is accessible at http://172.17.0.2/.