This repository is a proof-of-concept that walks you through the steps required to make Lookupper's LLM features work completely offline on Windows using Ollama. Works in both Translator and Dictionary modes as of 1.8.0.3.
The idea should easily be transferable to macOS.
It's rough around the edges and is missing some of the functionality (generating pronunciation audio, for example) and is definitely not as accurate as it could have been (however, this point is probably a subject to hardware, prompt or model improvement). You should support the original product for the heavy lifting it does at the far end of the universe.
- Memory: at least 32 GB RAM
- Graphics: A somewhat decent GPU for model acceleration
- Storage: at least 10 GB available space
- WSL (personal environment preference)
- Docker Desktop (personal deployment preference)
- Processor: Ryzen 7 5700X
- Memory: 32 GB RAM
- Graphics: GeForce RTX 4060
-
Install Lookupper from the official page.
-
Block outbound connections from the application via Windows Defender Firewall (app's directory can be found at
C:\Program Files\WindowsAppsno matter the installation method):- GUI:
- Windows Defender Firewall
- Outbound Rules
- New Rule
- Specify path to Lookupper's executable
Block the connection- Select every profile
- Give it a name
- Finish
- PowerShell:
- GUI:
New-NetFirewallRule -DisplayName "Lookupper" -Direction Outbound -Program <PATH_TO_EXECUTABLE> -Action Block
- Append this to the local DNS resolver
C:\Windows\System32\drivers\etc\hostsfile:
127.0.0.1 cn.lookupper.com
127.0.0.1 dictionaries-bucket.lookupper.com
127.0.0.1 dictionaries.lookupper.ru
127.0.0.1 forum.lookupper.com
127.0.0.1 forum.lookupper.ru
127.0.0.1 gateway-cn.lookupper.com
127.0.0.1 gateway.lookupper.com
127.0.0.1 gateway.lookupper.ru
127.0.0.1 lookupper.com
127.0.0.1 lookupper.ru
127.0.0.1 releases-cn.lookupper.com
127.0.0.1 releases.lookupper.com
127.0.0.1 releases.lookupper.ru
- Purge DNS resolver cache (PowerShell):
ipconfig /flushdns
- Create a self-signed certificate (Bash inside WSL or whatever works the same on Windows):
openssl req \
-newkey rsa:2048 -x509 -nodes \
-keyout trustme.key \
-out trustme.crt -sha256 \
-days 3650 \
-subj "/C=RE/ST=Move/L=ThisCert/O=When/OU=NotNeeded/CN=If you are seeing me in certmgr.msc, you should delete me" \
-addext "subjectAltName = DNS.1:lookupper.com,\
DNS.2:lookupper.ru,\
DNS.3:*.lookupper.com,\
DNS.4:*.lookupper.ru"
Note: You could go for a smaller key size (down to 512) since the communication in question is assumed to be within a single machine (recall 127.0.0.1 from step 3). You should not use this certificate for anything else unless you know what you are doing.
- Add the certificate to the trusted root store of the current user (Powershell):
Import-Certificate -FilePath ".\trustme.crt" -CertStoreLocation Cert:\CurrentUser\Root
Note: Don't forget to remove the certificate when no longer needed. Use Sigcheck to list certificates that are not from Microsoft's trusted root certificate list (Powershell):
sigcheck -tv * # Machine store
sigcheck -tuv * # User store
-
Run Ollama in Docker using this Docker Hub guide or this guide from the official documentation. Both are pretty much the same. Follow the steps for your GPU.
-
Run the model of your choice. I personally found qwen3.5 with 4 billion parameters (
qwen3.5:4b) to be decent in terms of producing correct (it's a stretch) outputs blazingly fast (also a stretch) for translations and contextual dictionary lookups given the limited hardware. The bigger the model, the better are the results at the cost of more computational power. My hardware was struggling with models trained on more than 9 billion parameters.My Docker Desktop is using WSL as its engine in mirrored mode for simpler networking, so running this command is more than enough (PowerShell or Bash inside WSL):
docker exec -it ollama ollama run qwen3.5:4b
- Download the backend executable from
Releasespage or build it on your own withGOOS=<TARGET_OS> GOARCH=<TARGET_ARCH> go build .. Run the backend (PowerShell):
.\lookupper-windows-amd64.exe -model qwen3.5:4b -cert-file .\trustme.crt -key-file .\trustme.key
- Translate and lookup.
cn.lookupper.com
dictionaries-bucket.lookupper.com
dictionaries.lookupper.ru
forum.lookupper.com
forum.lookupper.ru
gateway-cn.lookupper.com
gateway.lookupper.com
gateway.lookupper.ru
lookupper.com
lookupper.ru
releases-cn.lookupper.com
releases.lookupper.com
releases.lookupper.ru
Some of them are obscured with an X-Signature header. If you're feeling mischievous, HMAC secret is https:// (as of 1.8.0.3).
/activate_key
/check
/check_version
/generate_audio
/get_games
/looktionary/v1
/translateAI/v1
/unbind_key
/user_update
/validate_license_code