Routstr Integration Guide

Learn how to integrate Routstr with popular AI coding tools like Roo Code and Goose for private, Bitcoin-powered development.

Setting up VSCode with Roo Code

Step 1
Preparation

Before you open VSCode, create a Cashu token worth 1.5k to 5k sats (recommended for top models) and have it ready.

Step 2
Installation & Setup
1
Install Roo Code from the VSCode Extensions Marketplace
2
Choose OpenRouter as your API Provider
3
Enter random characters in the API Key field (temporary)
Step 3
Configuration
1
Click on default mode and click Edit
2
Enable custom base URL
3
Enter the Routstr API endpoint:
url
https://api.routstr.com
4
Replace the API Key with your Cashu token

🎉 That's it! You can start coding with privacy!

Using Goose with Routstr

Quick Setup

Setting up Goose with Routstr is even simpler than VSCode. Make sure you have a Cashu token ready.

1

Download Goose

Get it from the official repository

2

Choose Provider

Select "OpenAI Compatible"

3

Set Base URL

Enter Routstr API endpoint

4

Add Token

Use your Cashu token as API key

Configuration:

Base URL:

url
https://api.routstr.com

API Key:

text
[Your Cashu Token]

🚀 Ready to create Freedom Agents with full privacy!

Creating Cashu Tokens

No Emails, No Sign-ups, Just Cashu & Lightning

You can use any of the top LLMs via Routstr by inputting our API endpoint and a Cashu token. This is similar to using OpenRouter, but without the need to sign up using email or top up using fiat.

1

Setup Wallet

Get a Cashu wallet

2

Deposit Sats

Use Lightning Network

3

Create Token

Generate Cashu token

4

Start Coding

Token is your API key

Recommended amounts:

For top models (GPT-4, Claude-3):
5k+ sats
For smaller models (8b models):
10+ sats

Top-up and Key Management

Advanced Management

For better organization and easier top-ups, you can use our chat app to manage your Cashu tokens and API keys.

Chat App Management

1

Login with Nostr

Use your Nostr extension or create a new nsec

2

Deposit to NIP60 wallet

Use Lightning or Cashu

3

Create encrypted API keys

Synced to Nostr relays using NIP44

url
https://chat.routstr.com

⚠️ Important Backup Note

Be sure to back up your nsec if you create a new one, as your wallet balance and API keys are attached to that private key.