🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

superbrain-server

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superbrain-server - npm Package Compare versions

Comparing version
1.0.55
to
1.0.56
+1
-1
package.json
{
"name": "superbrain-server",
"version": "1.0.55",
"version": "1.0.56",
"description": "1-Line Auto-Installer and Server Execution wrapper for SuperBrain",

@@ -5,0 +5,0 @@ "main": "index.js",

+109
-106

@@ -1,106 +0,109 @@

��# superbrain-server
One-command installer and launcher for the SuperBrain backend.
A self-hosted AI-powered second brain for Android  save Instagram posts, YouTube videos, and web pages directly from the share sheet, have them automatically analysed by AI, and rediscover them with intelligent search, collections, and smart notifications.
## Features Included in This Server
- **Multi-provider AI Router**: Automatic load-balancing across Groq, Google Gemini, OpenRouter, and local Ollama.
- **Background Music Identification**: Automatic detection of background tracks from Instagram Reels (powered by Shazam).
- **Audio Transcription**: Groq Whisper API (cloud) with local OpenAI Whisper as an offline fallback.
- **Docker Support**: Containerized, reproducible deployment ready for servers.
- **Native YouTube & Web Analysis**: Scrapes and analyzes content intelligently without messy manual downloads.
## Install and Run
### Recommended (No Global Install)
```bash
npx -y superbrain-server@latest
```
### Global Install (Optional)
```bash
npm install -g superbrain-server
superbrain-server
```
## What It Does on First Run
1. Unpacks backend files into `~/.superbrain-server`
2. Creates an isolated Python virtual environment
3. Installs Python dependencies
4. Runs interactive setup (AI keys, optional Instagram, token)
5. Starts the backend API server
## Requirements
- Node.js 20+
- Python 3.10+
- ffmpeg
## Commands
```bash
# Start server
superbrain-server
# Show connection QR code & running server info
superbrain-server status
# Update the backend components
superbrain-server update
# Configure Ngrok tunnel
superbrain-server ngrok
# Open interactive reset menu
superbrain-server reset
# Full reset (destructive)
superbrain-server reset --all
```
*(You can also run all of these via `npx -y superbrain-server@latest <command>`)*
## Default Runtime Location
The backend is permanently installed under your user home directory:
- **Windows**: `%USERPROFILE%\.superbrain-server`
- **macOS/Linux**: `~/.superbrain-server`
## Connect Mobile App
After the backend starts:
1. Copy the Access Token shown in the backend console.
2. Open the SuperBrain app Settings.
3. Enter your server IP/URL and the Access Token.
## Troubleshooting
### Python Not Found
Install Python 3.10+ and verify:
```bash
python --version
```
*(On Windows, `py -3 --version` should also work).*
### Backend Not Reachable from Phone
If you are not on the same local network, expose the local port with Ngrok:
```bash
ngrok http 5000
```
Use the generated HTTPS URL in the app's Settings.
## Links
- **GitHub Repository**: [sidinsearch/superbrain](https://github.com/sidinsearch/superbrain)
- **Main Project Docs**: [README](https://github.com/sidinsearch/superbrain#readme)
- **NPM Package**: [superbrain-server](https://www.npmjs.com/package/superbrain-server)
## License
MIT (CLI wrapper)
#superbrain-server
One-command installer and launcher for the SuperBrain backend.
Aself-hosted AI-powered second brain for Android — save Instagram posts, YouTube videos, and web pages directly from the share sheet, have them automatically analysed by AI, and rediscover them with intelligent search, collections, and smart notifications.
## Features Included in This Server
- **Multi-provider AI Router**: Automatic load-balancing across Groq, Google Gemini, OpenRouter, and local Ollama.
- **Background Music Identification**: Automatic detection of background tracks from Instagram Reels (powered by Shazam).
- **Audio Transcription**: Groq Whisper API (cloud) with local OpenAI Whisper as an offline fallback.
- **Docker Support**: Containerized, reproducible deployment ready for servers.
- **Native YouTube & Web Analysis**: Scrapes and analyzes content intelligently without messy manual downloads.
## Install and Run
1. **Recommended** (No Global Install)
```bash
npx -y superbrain-server@latest
```
2. **Global Install**
```bash
npm install -g superbrain-server
superbrain-server
```
## What It Does on First Run
1. Unpacks backend files into ~/.superbrain-server
2. Creates an isolated Python virtual environment
3. Installs Python dependencies
4. Runs interactive setup (AI keys, optional Instagram, token)
5. Starts the backend API server
## Requirements
- Node.js 20+
- Python 3.10+
- ffmpeg
## Commands
``bash
# Start server
superbrain-server
# Show connection QR code & running server info
superbrain-server status
# Update the backend components
superbrain-server update
# Configure Ngrok tunnel
superbrain-server ngroj
# Open interactive reset menu
superbrain-server reset
# Full reset (destructive)
superbrain-server reset --all
```
*(You can also run all of these via `npx -y superbrain-server@latest <command>`*
## Default Runtime Location
The backend is permanently installed under your user home directory:
- **Windows**: `%USERPROFILE%\\.superbrain-server`
- **macOS/Linux**: `~/.superbrain-server`
## Connect Mobile App
After the backend starts:
1. Copy the Access Token shown in the backend console.
2. Open the SuperBrain app Settings.
3. Enter your server IP/URL and the Access Token.
## Troubleshooting
### Python Not Found
Install Python 3.10+ and verify:
``bash
python --version
```
*(On Windows, `py -3 --version` should also work).*
### Backend Not Reachable from Phone
If you are not on the same local network, expose the local port with Ngrok:
```bash
ngrok http 5000
```
Use the generated HTTPS URL in the app's Settings.
## Links
- **GitHub Repository**: [sidinsearch/superbrain](https://github.com/sidinsearch/superbrain)
- **Main Project Docs**: [README](https://github.com/sidinsearch/superbrain#readme)
- **NPM Package**: [superbrain-server](https://www.npmjs.com/package/superbrain-server)
## License
MIT (CLI wrapper)