# Turn an old phone into a server

Deploy real apps to the Android phone in your drawer and get a live URL. No root, no Termux, no cloud bill.

`$ npx dukoi pair`

[Get the APK](https://github.com/thisuxhq/dukoi/releases/latest)

## Live in two minutes

1.  ### Install the app
    
    On a spare Android phone. Four taps get it past the battery savers that kill servers.
    
    [Get the APK](https://github.com/thisuxhq/dukoi/releases/latest)
2.  ### Pair your computer
    
    On the same Wi-Fi. Tap Approve on the phone. No passwords.
    
    `$ npx dukoi pair`
    
3.  ### Deploy
    
    From your app’s folder. You get a URL, and a public one when you want it.
    
    `$ npx dukoi deploy`
    

## Everything a small server needs

### Apps that stay up

Android kills background apps to save battery. Dukoi runs as a foreground service, restarts anything that stops within seconds, and starts it all again after a reboot.

### A public URL, no router setup

Works behind CGNAT. A quick link in seconds, or your own domain through Cloudflare.

### Roll back in seconds

Every deploy is a release. A bad one is one command away from gone.

### Live logs, anywhere

On the phone, in your terminal and in the web dashboard. New lines in under a second.

### Safe by default

Pairing with keys, not passwords. Controls stay on your Wi-Fi and never go through a tunnel.

-   No passwords
-   Signed requests
-   Opt-in telemetry

### A dashboard on your computer

Every app, its status and its logs, with Restart and Roll back a click away. Only your computer can open it.

### Battery care

A phone on charge all day wears out its battery. Dukoi watches it and helps you cap it at 80%.

## Templates that deploy with zero edits

Pick one, and it’s live on your phone in under a minute.

-   [### Static site
    
    A one-page site with your name on it](/docs/templates/static-site.md)
-   [### Notes API
    
    A small JSON API with a database](/docs/templates/notes-api.md)
-   [### File drop
    
    Upload a file, get a link to share](/docs/templates/file-drop.md)
-   [### MCP server
    
    A tool your AI assistant can call](/docs/templates/mcp-server.md)
-   [### Telegram bot
    
    A bot that replies, always on](/docs/templates/telegram-bot.md)

## Your old phone beats a $5 server

A flagship from 2019 has more cores, memory and storage than the server most side projects rent. And it’s already paid for.

|  | A $5 server | Your old phone |
| --- | --- | --- |
| Each month | $5 | $0 |
| CPU | 1 vCPU | 8 cores |
| Memory | 1 GB | 6 GB |
| Storage | 25 GB | 128 GB |
| Power | Someone else’s data centre | 2 to 5 watts, with a battery for power cuts |

## There’s a server in your drawer

Install the app, pair once, and deploy. Your first URL is two minutes away.

`$ npx dukoi pair`

[Get the APK](https://github.com/thisuxhq/dukoi/releases/latest)
