npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

inkos-vn-studio

v2026.8.31-4

Published

InkOS Studio web workbench for novels, short fiction, scripts, interactive film and worlds, and translation

Readme

InkOS tiếng Việt

Đây là bản phân phối tiếng Việt của InkOS. Bản fork giữ nguyên logic nghiệp vụ từ upstream và bổ sung lớp giao diện tiếng Việt độc lập.

Cài đặt

Yêu cầu Node.js 22 trở lên.

npm install -g inkos-vn@latest
inkos --version

Package vẫn cung cấp lệnh inkos để tương thích với dự án gốc. Không nên cài global đồng thời @actalk/inkosinkos-vn, vì hai package cùng cung cấp binary này.

Chọn tiếng Việt

  • Studio: chọn nút VI ở màn hình đầu hoặc thanh trên cùng.
  • TUI: đặt INKOS_TUI_LOCALE=vi hoặc INKOS_LOCALE=vi.
  • CLI: đặt INKOS_LOCALE=vi; các thông báo đã có trong overlay sẽ hiển thị tiếng Việt.

Ngôn ngữ giao diện được tách khỏi ngôn ngữ sáng tác. Chọn giao diện Việt không tự đổi sách hoặc pipeline sáng tác từ tiếng Trung/Anh sang tiếng Việt.

Cấu trúc đồng bộ

  • master: mirror fast-forward của Narcooo/inkos:master, không chứa thay đổi riêng.
  • inkos-vn: default branch, chứa overlay Việt và automation.
  • Workflow InkOS VN - Sync, Translate and Release kiểm tra upstream mỗi 6 giờ và cũng chạy khi có code được push vào inkos-vn.
  • Thay đổi code/package sau khi vượt qua kiểm tra bản dịch, build, typecheck, unit test và Studio E2E sẽ tạo bản npm mới; thay đổi chỉ liên quan tài liệu thì không publish.
  • Quality gate chạy Node.js 22 và 24 trên Ubuntu, Windows và macOS. Sau khi publish, workflow còn cài và chạy lại package thật từ npm trên cả ba hệ điều hành rồi mới tạo Git tag/GitHub Release.
  • Merge conflict, thiếu bản dịch, lỗi đóng gói hoặc bất kỳ kiểm thử nào thất bại đều dừng trước khi tạo release.
  • Package được phát hành theo thứ tự inkos-vn-coreinkos-vn-studioinkos-vn.

Quy tắc version

Nhãn GitHub Release hiển thị dạng yyyy-mm-dd, ví dụ 2026-08-30. Nếu có nhiều lần phát hành trong ngày, các nhãn tiếp theo là 2026-08-30-1, 2026-08-30-2 và tăng dần.

npm bắt buộc version tuân theo Semantic Versioning nên không chấp nhận dấu gạch ngang giữa năm, tháng và ngày. Vì vậy version npm tương ứng sẽ là 2026.8.30, 2026.8.30-1, 2026.8.30-2. Workflow tự tính hai định dạng này theo múi giờ Asia/Ho_Chi_Minh.

Thiết lập automation cho chủ repository

Trong GitHub repository:

  1. Đặt inkos-vn làm default branch.
  2. Cho GitHub Actions quyền ghi repository và tạo Issue/Release.
  3. Cấu hình npm Trusted Publishing cho ba package, hoặc thêm secret NPM_VN_TOKEN.
  4. Thêm secret INKOS_VN_TRANSLATION_API_KEY.
  5. Thêm variable INKOS_VN_TRANSLATION_MODEL.
  6. Nếu không dùng endpoint mặc định OpenAI, thêm variable INKOS_VN_TRANSLATION_BASE_URL.
  7. Khi cần chạy lại một version đã publish dở, chạy workflow thủ công với release_version, ví dụ 2026.8.30-1. Bình thường nên để trống để workflow tự tăng version.

Cơ chế dịch tự động

Catalog Studio nằm riêng tại packages/studio/src/i18n/vi.ts. Script đồng bộ lưu hash nội dung nguồn trong localization/studio-translation-state.json. Khi upstream:

  • thêm key mới;
  • sửa câu tiếng Anh hoặc tiếng Trung của key hiện có;
  • thay đổi placeholder;

workflow sẽ yêu cầu API tạo lại đúng các bản dịch bị ảnh hưởng, kiểm tra placeholder, rồi mới build và publish. Nếu API chưa được cấu hình hoặc trả dữ liệu không hợp lệ, workflow dừng an toàn và tạo GitHub Issue.

Giấy phép

Dự án tiếp tục sử dụng giấy phép AGPL-3.0-only của upstream.