• VS Code extension
  • v0.1.1

Aktar for VS Code

Paste a screenshot into a README, an issue draft or any file, and it goes to your own S3, Cloudflare R2, Backblaze B2, DigitalOcean Spaces or MinIO bucket instead of your repo. You get a plain https:// link, written as Markdown, HTML or a bare URL.

Free and open source. VS Code 1.97 or later, Cursor, Windsurf and VSCodium (from Open VSX).

A link, not a file in your repo

VS Code's own paste saves the image next to your document and commits it with your code. Aktar is one more option in the same paste menu: the file goes to your bucket, and the document gets the link.

VS Code's paste
![image](docs/images/image.png)
With Aktar
![Pasted image 2026-11-26 143012](https://files.example.com/2026/11/aB3xK9q.png)
  • The repo stays small: no screenshots in Git history, no image folders to clean up.
  • The link works everywhere: on GitHub, in a pull request, in a chat, in any Markdown app.
  • Nothing goes up unless you choose it. Make Aktar the default once you trust it, and the paste menu still offers the other options.

Everything it does

The extension uses the same destinations, path templates and rules as the Aktar apps, so a file uploaded from your editor lands where one from the Mac or the phone would.

  • Paste a screenshot

    Paste an image or a file copied in Finder or Explorer and choose Upload to your bucket with Aktar. Markdown gets ![name](url), HTML gets <img>, any other file the bare URL. Screenshots get a dated name instead of image.png.
  • Drop files

    Drag files from the desktop or from VS Code's Explorer into an editor, hold Shift, and pick Aktar. Several files become one link per line.
  • Upload from the Explorer

    Right-click one or more files in the Explorer, or an editor tab, and choose Upload with Aktar. The links are copied, ready to paste anywhere.
  • Share code as a link

    Select code and choose Share Selection as a Link from the editor's right-click menu. It goes up as a text file in UTF-8, so any browser shows it right, and the link is copied. Without a selection, the whole file is shared.
  • Works with the Aktar app

    Connect to Aktar on the same computer and uploads go through the app, with its destinations, image processing, short links, history and hooks. VS Code never sees the keys. If you already ran aktar login for the CLI, the extension offers that connection.
  • No location in your photos

    Where a photo was taken is removed before it leaves your computer. The picture itself isn't touched.
  • Your folder structure

    Uploads follow the destination's own path, or one you set with aktar.pathTemplate, such as docs/{workspace}/{year}/{short}.{ext}. Use the workspace, the document's name or folder, dates, the original file name or a short code that never replaces another file.
  • In the editor you use

    The same extension runs in VS Code, Cursor, Windsurf, VSCodium and other editors built on VS Code, on Mac, Windows and Linux. It's in the Visual Studio Marketplace and on Open VSX.
  • Remote development

    Over Remote SSH, in WSL or in a dev container, the extension runs on your own computer: it reaches the Aktar app and your keychain there, and reads the remote workspace's files through VS Code.

Set it up

Install Aktar from the Extensions view (search for Aktar), from the Marketplace or from Open VSX. Then click Aktar in the status bar and add a destination one of three ways.

  1. Connect to the Aktar app

    1. Install Aktar for Mac 0.18, Windows 0.11 or Linux 0.15 or later, and add a destination there.
    2. In Aktar, open Settings › Integrations, turn on Allow local connections and copy the token. Skip this if you use the CLI: the extension finds its connection.
    3. Run Aktar: Connect to the Aktar App and paste the token. Aktar's destinations appear in the extension.
  2. From any Aktar app

    1. In Aktar on your Mac, PC, iPhone or Android phone, open a destination and choose Share. Copy the transfer link.
    2. Run Aktar: Add a Destination from a Transfer Link. The link is filled in from the clipboard.
    3. Type the 12-character code Aktar shows. The keys come along encrypted, and the destination is ready.
  3. Enter it by hand

    1. Run Aktar: Add a Destination Manually and choose the provider.
    2. Enter the endpoint, bucket, public URL and keys. The setup guides show where to find them for each provider.
    3. The extension uploads a test file first, and saves the destination only when that works.

Commands

Every action is in the Command Palette, so you can give it a shortcut in Keyboard Shortcuts. Uploading and sharing are in the right-click menus too.

Aktar: Upload with Aktar
Uploads the files selected in the Explorer, or the open file, and copies the links.
Aktar: Upload a File…
Pick files from disk and upload them.
Aktar: Share Selection as a Link
Uploads the selected code (or the whole file) as UTF-8 text and copies the link.
Aktar: Recent Uploads
Lists the last 30 uploads to copy a link again.
Aktar: Choose Where Uploads Go
Picks the destination uploads go to. The status bar shows it.
Aktar: Upload Pasted and Dropped Files by Default
Makes Aktar the first choice when you paste or drop files. A second command turns it off.
Aktar: Connect to the Aktar App
Uses the Aktar app's destinations through its local API.
Aktar: Add a Destination from a Transfer Link
Adds a destination from a transfer link and its code.
Aktar: Add a Destination Manually
Adds a destination with its endpoint, bucket, public URL and keys.
Aktar: Remove a Destination
Removes a destination and its keys from this computer. Nothing in the bucket changes.

Your keys stay in the keychain

Keys you add are kept in VS Code's secret storage, which is the system keychain: the macOS Keychain, the Windows Credential Manager or the Secret Service on Linux. They're never written to settings, and Settings Sync doesn't carry them.

Connected to the Aktar app, VS Code never sees the keys at all: it hands the file to Aktar on your own computer, and Aktar uploads it.

What it connects to

Only the storage endpoints and public URLs of the destinations you add, and the Aktar app on 127.0.0.1 if you connect it. There's no Aktar server in between, no account, no analytics and no telemetry.

Nothing leaves your computer unless you choose to upload it. It reads the clipboard only when you add a destination from a transfer link, to fill the link in, and the CLI's saved connection only when you connect to the app.

Requirements

  • VS Code 1.97 or later, or Cursor, Windsurf, VSCodium or another editor built on it, on Mac, Windows or Linux
  • A bucket on Amazon S3, Cloudflare R2, Backblaze B2, DigitalOcean Spaces, MinIO or another S3-compatible service, with a public URL
  • Optional: Aktar for Mac 0.18, Windows 0.11 or Linux 0.15 or later, to upload through the app

Does every paste go to my bucket?

No. Pasting text works as before, and for files Aktar is one option in VS Code's paste menu: nothing is uploaded unless you choose it. Run Aktar: Upload Pasted and Dropped Files by Default to make it the first choice; the menu still offers the others.

Does it work in Cursor and Windsurf?

Yes. Cursor, Windsurf and VSCodium install extensions from Open VSX, where Aktar is listed under the same name. Search for Aktar in their Extensions view.

Do I need the Aktar app?

No. Add a destination with a transfer link or by hand and the extension uploads on its own. With the app on the same computer, uploads go through it instead, with its history, image processing and hooks.

Do the links work without the extension?

Yes. Every link is a plain URL to your bucket, so it works in any Markdown viewer, on GitHub and in a browser. Uninstall the extension and nothing breaks.

What does it cost?

The extension is free and open source. You pay your storage provider for what you store, and with Cloudflare R2 there's no charge for downloads.