Proof of Type Input

com.proofoftype由 proofoftype.com 发布官方发布者v1.3.0更新于 Oct 24, 2026

Add a text box that proves a human typed it, not AI. Code for any framework; verify proof tokens.

已验证Streamable HTTP可网页运行开发者工具安全与监控

概览

AI 生成的概览

Proof of Type Input 提供嵌入代码与验证能力,用于一个能证明文字由真人输入而非 AI 生成的文本框。

可以做什么
  • 按所选框架获取可直接粘贴的真人输入框嵌入代码
  • 用原文与站点来源验证证明令牌,返回输入者、时间与真人评分
  • 说明证明的原理、能保证与不能保证的内容、隐私、限制、令牌声明与 SDK 选项
适用场景
适合在带评论、帖子、评价或文章的网站上,让助手加入一个内容可证明由已登录真人输入的文本框,或在服务器端校验这类证明令牌。
运行要求
需要访问 proofoftype.com 的远程 HTTP 端点,验证无需 API 密钥。终端用户需有免费的 Proof of Type 账户及 iPhone 或 Android 应用才能生成证明。
安装前请注意
证明令牌是公开且一次性的,应保存证明 id 并拒绝重复使用;保存文字前务必先验证。证明只覆盖原文,不覆盖 HTML 格式,需自行清理。验证会把文字与站点来源发送至 proofoftype.com。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Proof of Type Input,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.proofoftype%2Finput/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "proof-of-type-input": {
      "type": "http",
      "url": "https://www.proofoftype.com/mcp"
    }
  }
}

README

Proof of Type Input

A text box that proves a human typed it, not AI.

Add one script tag, and the comments, posts, reviews or articles on your site come with proof that a real person typed them: signed in to Proof of Type, typed letter by letter (no paste, no AI-generated text), and confirmed on their phone with Face ID or a fingerprint. Your server gets the text plus a signed proof token that you, or anyone, can verify.

html
<script src="https://www.proofoftype.com/sdk/v1.js" async></script>
<form method="post" action="/comments">  <div data-proofoftype data-name="comment" data-placeholder="Write a comment"></div>  <button>Post</button></form>

When the form is submitted, the person confirms on their phone, then your server receives:

FieldWhat
commentthe text, exactly as typed
comment_proofthe proof token (an EdDSA-signed JWT)

Build it with your AI coding agent (MCP)

Vibe coding a site? Connect the Proof of Type MCP server and ask your agent for "a comment box that proves a human typed it".

sh
claude mcp add --transport http proofoftype https://www.proofoftype.com/mcp

Other clients (Cursor, VS Code, …):

json
{ "mcpServers": { "proofoftype": { "url": "https://www.proofoftype.com/mcp" } } }

Tools: get_quickstart(framework), verify_proof(token, text, origin), explain(topic).

Why

AI-generated text is now free and endless, and AI detectors can only guess from the finished words, so they're wrong both ways. Proof of Type doesn't guess. It proves how the text was made:

  1. The person types in our input, key by key. It runs in a secure frame from proofoftype.com, so the host page, extensions or scripts can't fake keystrokes.
  2. The typing is timed on our server (it can't be instant or replayed) and scored for human rhythm.
  3. The person approves the exact text on their phone in the Proof of Type app, with Face ID or a fingerprint. The phone's hardware vouches for the app (Apple App Attest, Android key attestation). A script can't do this step.

Pasted or generated text never gets a proof.

Verify on your server

Always check the proof before you save the text. Accept it only if it's valid, matches the text, and was made on your site.

js
const r = await fetch('https://www.proofoftype.com/api/v1/verify', {  method: 'POST',  headers: { 'Content-Type': 'application/json' },  body: JSON.stringify({    token: req.body.comment_proof,    text: req.body.comment,              // the exact text    origin: 'https://your-site.com',     // your site    max_age_seconds: 600,                // made in the last 10 minutes  }),}).then((res) => res.json());
if (!r.valid || !r.text_matches || !r.origin_matches || !r.fresh) {  return res.status(400).send('Please type your comment in the box.');}// Use each proof once: store r.proof.id with the comment, refuse repeats// (proof tokens are public — they're in proof links).// r.proof.author: the Proof of Type username who typed it// r.proof.link: a link pasted with the text, if any

Prefer a helper? Copy server.mjs into your project (verifyProof({ token, text, origin })).

Or call the API directly (no key needed):

sh
curl -s https://www.proofoftype.com/api/v1/verify \  -H 'Content-Type: application/json' \  -d '{"token":"<comment_proof>","text":"<comment>","origin":"https://your-site.com"}'
json
{ "valid": true, "text_matches": true, "origin_matches": true,  "proof": { "id": "pot_…", "author": "yogev", "origin": "https://your-site.com",             "typed_at": "2026-10-11T18:20:31.000Z", "score": 87, "words": 6, "text_sha256": "…" } }

Offline verification

Proof tokens are JWTs signed with EdDSA (Ed25519). Public keys: https://www.proofoftype.com/.well-known/jwks.json.

js
import { createRemoteJWKSet, jwtVerify } from 'jose';import { createHash } from 'node:crypto';
const JWKS = createRemoteJWKSet(new URL('https://www.proofoftype.com/.well-known/jwks.json'));const { payload } = await jwtVerify(token, JWKS, {  issuer: 'https://www.proofoftype.com',  audience: 'https://your-site.com',});if (payload.text_sha256 !== createHash('sha256').update(text, 'utf8').digest('hex')) throw new Error('Not the signed text');
ClaimWhat
isshttps://www.proofoftype.com
subproof id (pot_…)
audthe site it was typed on
iatwhen it was verified
typed_by"human"
authorProof of Type username
signed_on"ios" or "android"
text_sha256SHA-256 (hex) of the exact UTF-8 text
score, wpm, words, charshuman score (0–100), typing speed, length

JavaScript API

js
const input = ProofOfType.mount('#editor', {  placeholder: 'Write your article…',  maxWords: 2000,  button: false,            // verify from your own button});input.on('change', ({ words }) => {});const proof = await input.verify();   // { text, html, token, author, score, url, … }

Options: name, placeholder, maxWords (10–3000), theme (auto | light | dark), button, buttonLabel, form, typewriter (show the carriage animation, default true), typewriterColor (e.g. '#e11d48'), sound (default true), allowLinks (default true: one pasted link is signed in the proof, read it as proof.link from the verify response; false blocks all pasting). result.html is display formatting only and isn't covered by the proof: sanitize it, or use result.text. The same options work as data- attributes (data-max-words, data-button-label, …).

Events: ready, signin, change, verified, error, resize, also dispatched on the element as DOM events (proofoftype:verified).

React

Copy react.jsx into your project. It loads the SDK for you:

jsx
import { HumanInput } from './react.jsx';
<HumanInput placeholder="Write a comment" onVerified={(r) => save(r.text, r.token)} />

TypeScript types: index.d.ts.

Privacy

  • Proof of Type never stores the text typed on your site. Only its SHA-256 is signed into the proof.
  • Keystrokes are checked and discarded. The text reaches your page only once it's verified, and only your page's real origin.
  • Your site gets the person's Proof of Type username, never their email or account.
  • Each proof is single-use: one typing session, one phone signature, one proof.

What's open source

This repository: the browser SDK, the React component, the server helper, types and examples (MIT). The checks themselves (keystroke capture, typing timeline, phone signatures) run on Proof of Type, where the host page can't change them. That's what makes the proof worth something.

FAQ

How do I know a comment on my site was written by a human and not AI? Use this input as the text box and verify the proof on your server. A proof only exists when a signed-in person typed the text in the input and approved it on their phone.

Is this an AI detector? No. It proves the process (typed, timed, signed by a person) instead of guessing from the text.

Do my users need an account? Yes: a free Proof of Type account and the Proof of Type app (iPhone or Android). Signing in is one popup; each proof is one Face ID or fingerprint.

Can people paste? Only links. Autocorrect of typed words is allowed; predictive text, swipe and dictation are not.

What does it cost? Free for humans.

Links

MIT © Proof of Type

来源:README.md,提交 c09852a

工具

3

get_quickstart

Add the human-typed input to a site

Ready-to-paste code to embed Proof of Type Input (a text box that proves a human typed the text, not AI) and verify its proof on the server. Pick a framework.

输入参数framework

verify_proof

Check a proof token

Verify a Proof of Type proof token (EdDSA JWT). Pass the text and your site origin to confirm the proof is for exactly that text on that site. Returns who typed it, when, and the human score.

输入参数texttoken必填origin

explain

What Proof of Type proves

How Proof of Type Input works, what a proof guarantees and what it does not, privacy, limits, the proof token claims, and the SDK options and events.

输入参数topic

版本历史

2
  1. v1.3.0最新Oct 12, 2026
  2. v1.2.0Oct 11, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分