Credentials. The provider API keys and the private root CA must be handled carefully, and the root CA is installed on the phone so it will trust your server.
Remote script. The deploy and key scripts run on your server over SSH as root, so check each script before you run it.
Who it is forA hobbyist with a Nokia S40 or S60 phone who wants AI chat on that handset and is willing to rent a small server.
The problemModern AI apps do not run on a 2007 Nokia, and that phone cannot make the modern HTTPS connections those services require.
The outcomeThe Nokia runs the AIKON chat app, talks to a self-hosted server with a private CA certificate, and gets replies from the chosen model.
What you need first
- A Nokia S40 or S60 phone (tested on the Nokia 6300 and Nokia E63)
- A Docker host with a public IPv4 address and TCP 443 open (a $4-6/month VPS is enough)
- An API key from at least one provider: Claude, OpenAI, Gemini or Grok
- Docker, OpenSSL or LibreSSL, and SSH access to the server
- For building the phone app: JDK 11+ and make
- For building the server: Go 1.26+
Steps
- Rent a Docker host with a public IPv4 address and TCP 443 open.
- Create the private root CA and server certificate with
server/scripts/pki.sh ca ~/.config/claude-s40/pkiandserver/scripts/pki.sh server ~/.config/claude-s40/pki. - Deploy the server in test mode, which makes no API calls, with
server/deploy/push.sh root@<server-ip> --execute. (inferred, check the README) - Build the phone app with your server address using
echo GATEWAY_URL=https://<server-host> > app/app.local.properties && make -C app, then installapp/dist/AIKON.jadand the matching .jar on the phone. (inferred, check the README) - Install the root CA on the phone with
server/deploy/serve-ca.sh, pair the device by approving the 6-digit code withserver/deploy/admin.sh root@<server-ip> pair <code>, then add a provider key withserver/deploy/set-key.sh root@<server-ip>and go live withS40_MOCK=0 S40_MODELS=... server/deploy/push.sh root@<server-ip> --execute. (inferred, check the README)
Prompt for your agent
In the AIKON repo, walk me through the setup in docs/SETUP.md for a server at <server-host> and a Nokia <model> phone. List each command in order with the exact placeholder I must fill, and state which step needs a manual action on the phone. Verify by confirming that the test-mode deploy finishes before any key is set.
Caveat. The Nokia 6300 can only handshake with TLS 1.0 and RSA, so a standard public cloud HTTPS endpoint will not work and you must use the repo's own private CA setup.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for emir/AIKON and "Chat with AI models on a 2007 Nokia phone"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer