A simple tool for grabbing files from phone to laptop.
npm install -g file-sucker
file-suckerYou will need to open an address from the phone, in the same WiFi of the laptop, then send file.
The file size limit is 4 GiB. Each upload request carries one file; the browser sends selected files separately. Files are saved in the directory where the command starts. An existing file with the same basename is replaced, as before. Use this unauthenticated local tool only on a trusted network; it is not a public file hosting service.
Environment variable:
PORT, for HTTP running portHOST, listening address (default0.0.0.0; use127.0.0.1for isolated tests)NO_VERSION_CHECK=1, skip version checking (falseor unset checks once)
CLI 和 @calcit/procs 配对为目前产物完整的 0.30.1-alpha.5。正式 0.30.1
Publish 仍按上游说明暂停等待 #2080 收尾复核,不把候选版称为正式版。
使用 Node 24、Yarn 4.18.0,以及 canonical calcit.cirru / deps.cirru;
不再使用 compact.cirru/package.cirru,也不提交生成目录。
网页上传仍请求当前服务的 /upload,文件浏览和下载仍使用 /files;
COS 只托管公开 Demo 的前端构建资源,不接收用户上传文件,也不部署 Node 后端。
原网页 rsync 路径保持不变。COS action 使用自身 public-base-url 内置校验,
没有新增校验脚本。PR 使用独立预览前缀,不触发原站部署。
Formidable 升至正式 3.5.4,按新版文件数组及工厂 options 处理上传; serve-static 升至正式 2.2.1。上传先填充 FormData 再发请求,进度没有总大小时 显示已上传字节数。服务端只使用文件名 basename;解析/保存失败返回 HTTP 错误。 保留原同名覆盖行为,不启用从未启用的旧本地状态恢复。
yarn install --immutable
yarn build
yarn compile-server
HOST=127.0.0.1 NO_VERSION_CHECK=1 node /absolute/path/to/server.mjs从需要接收文件的目录启动 server。浏览器与 Node 生成目录分别为 js-out/ 和
server-out/。npm 包构建保持 vite build --base=./,使本地文件传输不依赖 Demo CDN;
只有公开 Demo 工作流使用 COS base。没有发布新的 npm 版本。
npm 包改用明确的运行文件 allowlist,保留服务端产物、网页构建与两个运行期 bridge,
不包含 .calcit/ 迁移报告、缓存或本地模块目录。
两份原质量门禁继续保留。经逐项审阅批准,仅迁移 app.main/dispatch! 的
schemaDynamic/unresolved 各 0→1(Respo 的真实派发合同是 Fn<Dynamic, Unit>,
入口仍检查 Enum)。其他定义预算不增加;全局 unsafe 32→0、typeNotFull 23→13、
unresolved 7→6、codeNil 6→5,schemaDynamic 仍为 1,typeNone/deprecated 为 0。
Based on Node.js toolchains:
Workflow https://github.com/mvc-works/calcit-workflow
MIT