OctoLinker Links together, what belongs together.

OctoLinker is a browser extension for GitHub, that turns language-specific statements like include require or import into links.

Learn how it works

const parse = require('url');
const json = require('micro');
const pMap = require('p-map');
const go = require('
./go
'
);
const java = require('./java');
const ping = require('./ping');
const registries = require('./registries');
const log = require('./utils/log');
const cache = require('./utils/cache');
const tracking = require('./utils/tracking');

Check out our live demo, right in your browser, no install required!

How it works

1 Read

OctoLinker reads the source code you're currently viewing straight from the browser or, in some cases, using the GitHub API.

No source code will ever be sent to a server! Your source code stays in your browser.

2 Find

Based on the file type, OctoLinker invokes a plugin which then executes a regular expression on the source code to find import statements.

3 Resolve

Relative file references are resolved through the GitHub tree API in your browser. External dependencies are resolved using the OctoLinker API.

Only the name of a dependency along with the registry type is sent to this service.

Features

Relative files

Navigate through GitHub repositories faster than ever before with a single click. OctoLinker leverages the GitHub API to fetch a tree structure of the repository to link relative files.

Dependency Discovery

Never leave GitHub to manually search for a dependency. OctoLinker links dependencies defined in files like package.json, composer.json,Gemfile or requirements.txt with their related GitHub project page.

API Docs

Forgot the signature of core library method? No worries, OctoLinker links to API docs such as nodejs.org/en/docs docs.python.org docs.oracle.com or rubygems.org.

Pull Request

Code review made easy. OctoLinker links dependencies and files on a Pull Request so you can focus on the work that matters – code review.

Issues & Comments

If OctoLinker is able to infer a file type from code snippet in a Markdown file, Issue or Pull Request comment, it will insert links as well.

Private repositories

In order to support all mentioned features on a private repository, OctoLinker requires a GitHub access token. If that happens OctoLinker will prompt a notification. Your GitHub token will be never send to a server! Your token stays in your browser.

Supported environments

composer
css
Deno
docker
go
Haskell
Homebrew
HTML
Java
JavaScript
less
nodejs
Paket
PHP
npm
python
Ruby
RubyGems
Rust
Sass
TypeScript
Vim
.Net

OctoLinker is just the beginning!

What people are saying

Backers

I am truly grateful to all the wonderful humans and companies supporting the development of OctoLinker. Please consider donations through GitHub Sponsors or Open Collective – Thank you 🙇‍♂️

Sponsors

Install OctoLinker

OctoLinker is a browser extension and available on Chrome Web Store, Mozilla Add-ons Store, Microsoft Store and Opera Add-ons Store.
Install and enhance your GitHub experience.

Trusted by over 25,000 developers