Track and visualize where your code comes from — directly inside your project.
Modern developers often copy code from:
- 🤖 AI tools (ChatGPT, Copilot, Cursor)
- 🌐 StackOverflow / Blogs
- 📦 GitHub repositories
But later…
👉 You forget where it came from 👉 You can’t trace logic 👉 You lose context
Code Origin solves this.
Easily tag any code block with its origin:
Code-Origin
Source: ChatGPT
Prompt: create login API
Creator: Codebro
Date: 2026-03-16
Instantly see where your code came from:
Code Origin Source Map
----------------------
Line 13 → ChatGPT
Line 27 → Gemini
Line 51 → StackOverflow
Total Marked Blocks: 3
- Click any source → jump to that line instantly
Supports multiple languages automatically:
- JavaScript / TypeScript
- Python
- HTML / CSS
- Shell scripts
- YAML
- Command Palette
- Right-click menu
- Shortcut:
Ctrl + Shift + 8
(Add GIF here later for better engagement)
- Open Visual Studio Code
- Go to Extensions
- Click
...→ Install from VSIX - Select your
.vsixfile
code --install-extension code-origin-0.0.1.vsix
Ctrl + Shift + P → Code Origin: Add Source
Fill:
- Source (ChatGPT, Copilot, etc)
- Prompt
- Creator
Ctrl + Shift + P → Code Origin: View Summary
// Code-Origin
// Source: ChatGPT
// Prompt: debounce function
// Creator: Codebro
// Date: 2026-03-16
function debounce(fn, delay) {
let timeout;
return (...args) => {
clearTimeout(timeout);
timeout = setTimeout(() => fn(...args), delay);
};
}- Track AI-generated code
- Maintain clean documentation
- Improve team collaboration
- Debug faster with context
- Learn from past prompts
- 🔥 Auto-detect pasted code (AI / Web)
- 🧠 Smart source recognition
- 📈 Analytics dashboard
- 🌐 GitHub integration
Pull requests are welcome!
If you have ideas to improve Code Origin, feel free to open an issue.
MIT License
If you like this project:
👉 Star the repo 👉 Share with developers 👉 Give feedback
Built with ❤️ by Anilkumar Chaurasiya