Standalone + Ngrok
How to deploy S.I.M.P as a standalone application with Ngrok for public access.
This guide will walk you through setting up S.I.M.P as a standalone application and exposing it to the internet using Ngrok.
Prerequisites
- Download the latest standalone release for your operating system from the GitHub releases page
- Ngrok account (free tier is sufficient)
- Ngrok CLI installed on your system
Steps
1. Download and Extract
- Download the appropriate standalone release for your operating system
- Extract the archive to your desired location
2. Configure S.I.M.P
- Locate the
config.yaml
file in the extracted directory - Configure the file according to your needs (refer to the Configuration Guide)
- Make sure to set the
server.host
tolocalhost
or127.0.0.1
and choose a port (default is3000
)
3. Set Up Ngrok
- Sign up for a free Ngrok account if you haven't already
- Install Ngrok following the official documentation
- Authenticate Ngrok with your auth token:
4. Start S.I.M.P
- Run the standalone executable:
- On Windows: Double click the
.exe
file or run it from command prompt - On Linux: Make the file executable with
chmod +x ./simp
and run it with./simp
- On Windows: Double click the
- Verify that S.I.M.P is running by accessing
http://localhost:3000
(or your configured port)
5. Start Ngrok Tunnel
- Open a new terminal window
- Start Ngrok, pointing to your S.I.M.P port, set in
config.yaml
: - Ngrok will provide you with a public URL (e.g.,
https://random-string.ngrok.io
)
Important Notes
- The Ngrok URL changes every time you restart Ngrok (unless you have a paid plan)
- Update your ShareX configuration to use the new Ngrok URL
- For production use, consider:
- Using a paid Ngrok plan for a fixed domain
- Setting up proper authentication
- Using a reverse proxy like Nginx or Caddy instead
Security Considerations
- Always use HTTPS (Ngrok provides this by default)
- Set up authentication in your
config.yaml
- Be cautious with file permissions
- Monitor your Ngrok dashboard for unusual traffic
Troubleshooting
- If S.I.M.P isn't accessible via Ngrok:
- Verify S.I.M.P is running locally
- Check if the ports match in both S.I.M.P config and Ngrok command
- Ensure your firewall isn't blocking the connections
- Check Ngrok's status in their dashboard