Konvert 101: Complete Setup & Self-Hosting Guide 🚀
Because we take user privacy seriously, we don't rely on centralized cloud servers for document processing. Instead, you play the role of the cloud provider.
By following this guide, you will set up a local backend server on your computer that your mobile app will securely talk to. Your documents never leave your control, and everything is instantly deleted after processing.
Let's get everything set up in less than 10 minutes!
🛠️ Prerequisites
Before we start, verify that you have the following installed on your computer:
- Docker Desktop (Download here) - Required to run the LibreOffice backend container.
- ngrok (Download here) - Required to securely connect your phone to your computer.
Step 1: Setting up the Local Backend
Our backend service handles complex document conversions (like DOCX, PPTX, or XLSX formats). We have containerized it to ensure it runs fully offline and isolated on your machine.
Download the Backend Files:
Because the Konvert mobile app is closed-source, you cannot track orgit clonethe source code. Instead, go to the Konvert Releases Page and download thebackend.zipfile. Extract it, and open your Terminal / Command Prompt inside that extracted folder.Build the Backend Container:
This command downloads all necessary tools (Python + FastAPI + LibreOffice) to process your files securely.docker build -t converter-backend .Run your Server:
Start the backend so it listens for requests on port 8080.docker run -d -p 8080:8080 converter-backend🎉 Success: Your backend is now running locally! But right now, your phone can't see it. Let's fix that.
Step 2: Going Global with ngrok
We need to safely expose your local port 8080 to the internet so that your mobile app can access it from anywhere using Wi-Fi or Cellular data. We use ngrok for this.
- Sign up for a free ngrok account.
- Authenticate your terminal using the token provided on the dashboard:
ngrok config add-authtoken <your-auth-token> - Locate your Free Static Domain in the ngrok dashboard (e.g.,
cute-dog-123.ngrok-free.app). This domain is yours permanently! - Start the tunnel:
ngrok http --domain=cute-dog-123.ngrok-free.app 8080Tip (Run & Forget): If you use a personal Windows device, you can run ngrok silently by creating a
.batscript:@ECHO OFF Start-Process ngrok -ArgumentList "http --domain=cute-dog-123.ngrok-free.app 8080" -WindowStyle HiddenBy using this
.batfile, ngrok runs completely in the background—you can run it and forget it!
(Note: If the.batscript does not work on your machine or you prefer manual control, simply use thengrok httpcommand in your terminal. You must leave that terminal window open if you do so).
Step 3: Configuring the Mobile App
Now that your personal cloud is running securely on the internet, you just need to point the Konvert app to it.
Install Konvert:
Download the latest APK from the GitHub Releases tab.Open the Settings Screen:
Inside the Konvert application, find and tap on the "Settings" or "Configuration" wheel.Paste your Domain:
Look for the Backend URL field. Paste the static URL you got from ngrok. It should look like this:https://cute-dog-123.ngrok-free.app.Convert Safely!
You're finished! Now whenever you convert a proprietary office document, your phone will securely send it to yourngroktunnel, which routes it directly to theDockercontainer running on your laptop. Once done, the server immediately wipes the file data.
🙋 Frequently Asked Questions
Does Image-to-PDF conversion require the backend?
No! Image conversions (JPG, PNG to PDF) are 100% processed completely offline using your phone's processor. You only need to run the Docker backend when processing heavy documents like Word or Excel files.
Do I have to do this every time?
You only have to install Docker and claim the ngrok domain once! For daily usage, simply open terminal and run:
docker run -d -p 8080:8080 converter-backend and your ngrok http ... command whenever you need it.
Is it really secure?