https://github.com/bitnp/wjx-to-qq-form

问卷星 → 腾讯收集表 → 腾讯文档

https://github.com/bitnp/wjx-to-qq-form

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (1.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

问卷星 → 腾讯收集表 → 腾讯文档

Basic Info
  • Host: GitHub
  • Owner: BITNP
  • Language: JavaScript
  • Default Branch: main
  • Size: 24.4 KB
Statistics
  • Stars: 0
  • Watchers: 4
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Archived
Created almost 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme

README.md

问卷星 → 腾讯收集表 → 腾讯文档

从问卷星导出表格,将新数据抄到腾讯收集表,以同步到腾讯文档中。

Is It Worth the Time? <!-- https://www.zdic.net/hans/戢 -->

动机

整理学生会“快来和暖暖一起解决权益问题!”,同时为填写的同学保持问卷星的外观。

安装

shell pnpm install pnpm exec playwright install firefox

使用方法

首先创建config.toml,记录各种地址。

```toml

问卷星管理后台页面地址中“activity=”后的一串数字

wjx = "299792458"

腾讯收集表填写页面中“/form/page/”后的一串字母数字

qq-form = "MetersPer5ec0nd" ```

然后运行pnpm run main。(初次使用需要登录)

log ✅ 上次已登录问卷星。 🧾 已从问卷星下载。 📅 上次同步到 2024-09-13T13:36:17.000Z。 🔍 发现1条新记录。 ✅ 上次已登录腾讯文档。 🚀 已上传到腾讯收集表。

运行时,程序会缓存信息到./cache/

  • state.json:登录信息,这样初次运行后可以自动登录
  • data.xlsx:问卷星导出的表格,可用于检查,程序本身并不需要
  • last_updated.txt:最后更新时刻,用于判断哪些是新记录

另外,如果已经登录过,不再需要扫码,可关闭图形化界面运行,这样会更快一些:

```toml

加到 config.toml

headless = true ```

Owner

  • Name: NetPioneer Association
  • Login: BITNP
  • Kind: organization
  • Email: webmaster@bitnp.net
  • Location: Beijing, China

网络开拓者协会 at Beijing Institute of Technology, China

GitHub Events

Total
Last Year

Dependencies

package.json npm
  • @biomejs/biome 1.9.0 development
  • @playwright/browser-firefox ^1.47.0
  • @std/assert npm:@jsr/std__assert@^1.0.5
  • @std/toml npm:@jsr/std__toml@^1.0.1
  • es-toolkit ^1.18.0
  • playwright ^1.47.0
  • read-excel-file ^5.8.5
pnpm-lock.yaml npm
  • biome@1.9.0
  • browser-firefox@1.47.0
  • cli-darwin-arm64@1.9.0
  • cli-darwin-x64@1.9.0
  • cli-linux-arm64-musl@1.9.0
  • cli-linux-arm64@1.9.0
  • cli-linux-x64-musl@1.9.0
  • cli-linux-x64@1.9.0
  • cli-win32-arm64@1.9.0
  • cli-win32-x64@1.9.0
  • std__assert@1.0.5
  • std__collections@1.0.6
  • std__internal@1.0.3
  • std__toml@1.0.1
  • xmldom@0.8.10