English | 简体中文
In the AI era, how do we protect our ideas? How do we prove our originality? This tool exists for that purpose, and calls on platforms to strengthen the protection of developers' originality.
IdeaHub is an open-source tool for proving that an idea existed before a certain point in time.
It computes a content fingerprint from the original idea text and publishes only the fingerprint to an immutable GitHub Release, without publishing the idea text in advance. Once the project is published, you can publish the original idea text, and anyone can then verify it.
- Content fingerprint: normalizes the project content and computes its SHA-256.
- Immutable Release as a time anchor: each fingerprint creates a GitHub immutable Release with the tag
ideahub-<sha256>.
- Search for IdeaHub in the VS Code Marketplace and install it, or click here.
- Create a public repository on GitHub from this template and use it as your remote proof repository, or click here to get started. Then enable release immutability in the repository settings (open Settings and check "Enable release immutability").
- Open an empty folder in VS Code (it becomes your local idea repository), click the IdeaHub icon in the Activity Bar and initialize it. Enter the URL of the remote proof repository from the previous step, for example "https://github.com/your_name/repo_name".
- Click the plus icon in the IdeaHub panel to add a project (a folder inside the local idea repository), and write your idea in the opened ideas.md. For an existing project, click its name to open ideas.md.
- After adding content to ideas.md, click the "Prove" button to publish the content fingerprint (hash) of that segment to the remote proof repository. It is recommended to prove right away; you can run a proof once before finishing work each day.
- Once the original idea can be made public, click the "Publish" button to publish the original idea text of the project to the remote proof repository. Others can then see your idea text and use ideahub to verify its timestamp proof.
- Keep the idea text concise; a one-sentence summary followed by a paragraph of details works well. For example:
**This is summary** This is detail. This is detail. This is detail.
- Avoid including times in the text.
- After a proof is generated, a marker is inserted at the bottom of that segment. Write new content after the marker; modifying or adding content before it invalidates the proof of that segment.
- Renaming the project (the folder name) invalidates all proofs of that project.
- Images and files are allowed, but they must be placed inside the project folder. The proof covers the idea text and the project files referenced in the text; unreferenced files, external files and links are not included.
- Replacing an image or file already used in a proof with new content at the same path invalidates the corresponding proof. Give changed files a new filename.
- The local idea repository and the remote proof repository must not be the same repository, and you must not push the local idea repository to the remote proof repository manually. The tool adds a
pre-pushhook to the local idea repository that blocks such pushes. To back up the local idea repository, create a separate empty remote repository and set it to private; otherwise your idea text will be exposed. - The idea text must not contain the emoji "🔏".
- Git LFS is not supported in the current version.
npx @ideahub/cli check <project-url>Three outcomes: PASS exits with 0, FAIL with 1, and execution errors with 2.
The CLI queries the GitHub API. You can sign in to GitHub to raise the API quota: npx @ideahub/cli login (60 requests/hour anonymously, 5,000/hour after signing in).
For more, see @ideahub/cli.
ideahub.proof.autoCommit: whether to automatically create a Git commit when proving and publishing; defaulttrue.ideahub.proof.commitMessage: commit message used when proving; defaultideahub: record proof.ideahub.publish.commitMessage: commit message used when publishing; defaultideahub: mark published.
The local idea repository configuration lives in .ideahub/config.json.
- Local idea repository: https://github.com/phphe/ideahub-local-example
- Remote proof repository: https://github.com/phphe/ideahub-remote-example