Appearance
How To
Common workflows and feature guides for AMP Manager.
Project Organization with Tags
Use tags to group related items across AMP. Tag your domain, database, notes, credentials, and workflows with the same label for easy filtering.
Example: "clientA" Project
How to Use Tags
- Create a domain -> Add tag "clientA"
- Create a database -> Add tag "clientA"
- Add notes -> Add tag "clientA"
- Save credentials -> Add tag "clientA"
- Build workflows -> Add tag "clientA"
Now when you search in the Command Palette (Ctrl+K), type "clientA" to see all items related to that project!
Set Up SSL for the First Time
Step 1: Create Root CA
- Go to Settings -> Certificates
- Click Create Root CA (if not exists)
- Accept the Windows security prompt
Step 2: Create Your First Domain
- Go to Domains
- Click + Add Domain
- Enter:
myproject - Click Create
AMP automatically:
- Creates folder at
C:\amp\www\myproject - Adds to Windows hosts file
- Generates SSL certificate
Step 3: Verify SSL Works
- Open browser
- Go to
https://myproject.local - You should see a welcome page (or blank if empty)
Note: Accept the security warning on first visit - this is because it's a local CA
Connect to a Database
Step 1: Create Database
- Go to Databases
- Click + Add Database
- Enter:
- Name:
myapp - Username:
admin - Password:
secretpassword
- Name:
- Click Create
Step 2: Connect from Application
Your application connects using:
| Setting | Value |
|---|---|
| Host | localhost |
| Port | 3306 |
| Database | myapp |
| Username | admin |
| Password | secretpassword |
Step 3: Connect with External Tool
- Go to Settings -> Database Tool
- Configure your tool path (e.g., phpMyAdmin, DBeaver)
- Or use the built-in connection string
Use Workflows for Deployment
Simple Deploy Workflow
- Go to Workflows
- Click + New Workflow
- Add a Source Node (your local domain)
- Add an Action Node:
- Type:
shell - Command:
git pull origin main
- Type:
- Add a Target Node:
- Type:
local - Domain: (select your domain)
- Type:
- Click Save -> Run
SFTP Deploy Workflow
- Add Source Node (local domain)
- Add Action Node:
- Type:
sftp_sync - Host:
your-server.com - Username:
root - Credential: (select your SSH key)
- Remote Path:
/var/www/html
- Type:
- Click Save -> Run
Secure Notes with Encryption
Step 1: Create an Encrypted Note
- Go to Notes
- Click + New Note
- Toggle Encrypt to ON
- Enter your note content
- Click Save
Step 2: Access Encrypted Notes
- Encrypted notes require your password to be entered at login
- Once unlocked, they're readable like normal notes
- Close the app or logout to lock them again
Use Command Palette
The Command Palette (Ctrl+K) lets you quickly search and navigate.
Search by Tag
- Press Ctrl+K
- Type a tag name (e.g., "clientA")
- See all items with that tag
Quick Actions
| Shortcut | Action |
|---|---|
Ctrl+K | Open Command Palette |
Ctrl+S | Save (in forms) |
Ctrl+Shift+P | Run workflow |
Search Examples
# Find all items
clientA
# Find domains only
domain:clientA
# Find notes only
note:meeting
# Find credentials
cred:productionSet Up Tunnel Services
Tunnel services expose your local development sites to the internet via SSH, allowing you to share work with clients, test webhooks, or test on mobile devices. AMP Manager uses simple SSH-based tunnel services that don't require downloading extra software or complex authentication.
How It Works
AMP Manager integrates with SSH-based tunnel services. Your local sites run on Angie server (port 8080) with virtual host configuration. The tunnel service forwards requests from a public URL to your local server.
Quick Summary:
- Click Start Tunnel in AMP Manager
- Tunnel service creates a public URL (e.g.,
myproject.localto.net) - Anyone on the internet can visit that URL
- Requests route back through SSH tunnel to Angie
- Angie serves the correct domain based on the Host header
This lets you share your local development with students, mentors, or colleagues instantly - no deployment needed.
Supported Services
| Service | Subdomain Format | Auth | Setup Required |
|---|---|---|---|
| localhost.run | {random}.localhost.run | None | None |
| Serveo | {name}.serveousercontent.com | None | None |
| Localtonet | {name}.localto.net | Token | Free account |
Placeholders
When configuring tunnel commands, use these placeholders:
| Placeholder | Description | Example |
|---|---|---|
{domain} | Full local domain | myproject.local |
{port} | Local server port | 8080 |
localhost.run
The simplest option - no setup required. The service assigns a random subdomain automatically.
bash
ssh -R 80:{domain}:8080 nokey@localhost.run
# Example: ssh -R 80:myproject.local:8080 nokey@localhost.run
# -> https://{random}.localhost.run- Setup: None - works out of the box
- Pros: Zero configuration, automatic HTTPS, completely free
- Cons: Random subdomain (changes each session), no custom names
- Best for: Quick testing, sharing with clients temporarily
WordPress
WordPress stores absolute URLs in the database. When using a tunnel, the public URL differs from your local *.local domain.
Required Configuration:
Add to your wp-config.php:
php
// Use the tunnel URL dynamically
$scheme = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http';
define('WP_HOME', $scheme . '://' . $_SERVER['HTTP_HOST']);
define('WP_SITEURL', $scheme . '://' . $_SERVER['HTTP_HOST']);Alternative (plugin):
- Install Relative URL plugin
- Sets all URLs to relative paths
Important: Free subdomains change on reconnect. For persistent WordPress development, consider:
- Custom Domain plan from localhost.run
- Use Localtonet for stable URLs (free account, custom subdomain)
Laravel
Laravel generally works well with tunnels out of the box. One consideration:
APP_URL Configuration:
For proper URL generation in emails, notifications, and asset URLs:
bash
# In your .env file - tunnel will override this
APP_URL=https://your-tunnel-url.localhost.runFor dynamic detection:
php
// In config/app.php
'url' => env('APP_URL', 'http://localhost'),Most Laravel apps work seamlessly - the tunnel handles the routing correctly.
Serveo
Similar to localhost.run but allows custom subdomain names.
bash
ssh -R {name}:80:{domain}:8080 serveo.net
# Example: ssh -R myproject:80:myproject.local:8080 serveo.net
# -> https://myproject.serveousercontent.com- Setup: None - works out of the box
- Pros: Custom subdomain possible, no setup required, free
- Cons: Subdomain may be taken if you want a popular name
- Best for: Named tunnels without any account
Localtonet
Requires a free account and token from localtonet.com. The service provides a user-friendly dashboard and supports persistent URLs.
bash
ssh -p 223 -R {name}:80:{domain}:8080 YOUR_TOKEN@localto.net
# Example: ssh -p 223 -R myproject:80:myproject.local:8080 mytoken@localto.net
# -> https://myproject.localto.net- Setup: Create free account at localtonet.com, generate token in dashboard
- Pros: Custom subdomain, persistent URLs, free dashboard to manage tunnels
- Cons: Requires token, different SSH port (223)
- Best for: Persistent tunnels with your own subdomain
Getting your token:
- Visit localtonet.com/register to create an account
- Log in to the Dashboard
- Go to Tunnels -> New Tunnel -> Select HTTP
- Click Settings -> SSH Command to get your one-liner
- Copy the token portion (before
@) and add to Credentials in AMP Manager
Reference: See Localtonet Zero-Install SSH Docs for more details.
Tunneling WordPress
Same configuration as localhost.run - add to wp-config.php:
php
$scheme = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http';
define('WP_HOME', $scheme . '://' . $_SERVER['HTTP_HOST']);
define('WP_SITEURL', $scheme . '://' . $_SERVER['HTTP_HOST']);Advantage over localhost.run: Localtonet persistent URLs don't change, so WordPress URL updates are one-time only.
Tunneling Laravel
Works out of the box. Set your .env:
bash
APP_URL=https://myproject.localto.netSetup Steps
- Go to Settings -> Tunnel Services
- Enable your preferred tunnel provider
- For Localtonet: Add your token to Credentials
- Open domain details and click Start Tunnel
- Copy the public URL to share
Use Cases
- Share local site with client
- Test webhooks from external services (Stripe, GitHub, etc.)
- Mobile testing on real URL
- Demo prototypes without deployment
Other Tunnel Services
AMP Manager includes the most popular SSH-based tunnel services. If you need to use other services like Cloudflare Tunnel, ngrok, or localtunnel, you can still connect them to your local development environment.
Key Information:
- Angie server listens on port 8080
- Use
{domain}:8080as your local target (e.g.,myproject.local:8080) - This tells the tunnel service which virtual host to serve
Example:
bash
# Cloudflare Tunnel
cloudflare tunnel --url localhost:8080
# Or with specific domain:
cloudflare tunnel --url myproject.local:8080
# ngrok
ngrok http myproject.local:8080Requirements for other services:
- Download their CLI binary (place in PATH or
/bin) - Configure API authentication (token, account)
- Different setup than SSH-based services
How To: Backup and Restore
Export Data
- Go to Settings -> Backup & Restore
- Click Export Data
- Choose what to include:
- Sites, notes, credentials, workflows, tags
- Include sensitive data (encrypted)
- Save the backup file
Import Data
- Click Import Data
- Select backup file
- Choose overwrite or merge
- Import completes
Tip: Export regularly, especially before major changes
How To: Run as Admin (First Time)
Why Admin is Needed
AMP modifies system files:
- Windows hosts file
- SSL certificates
- Docker control
First Time Setup
- Right-click
amp-manager.exe - Select Run as administrator
- Accept UAC prompt
- Continue normally
After First Run
- Normal running is usually fine
- Re-run as admin if you see permission errors
Quick Reference
| Goal | Where | Steps |
|---|---|---|
| Create site | Domains | + Add Domain |
| Create database | Databases | + Add Database |
| Add note | Notes | + New Note |
| Save credential | Credentials | + Add Credential |
| Deploy code | Workflows | New -> Run |
| SSL issue | Settings -> Certificates | Regenerate |
| Docker issue | Docker | Start All |
| Search everything | Command Palette | Ctrl+K |
See Also
- For Users - Complete beginner guide
- Workflows & Deployment - Deployment deep dive
- Troubleshooting - Common issues
- Glossary - All terms explained
