Lingling
OpenCode gives away good models for free. The catch is a daily limit -- it can follow an IP, a request size, or one session record. A new session sometimes keeps working when an old one is stuck.
Lingling spreads requests across the /64s of your own Route64 tunnel. It
moves a lane at half the day's allowance, before the wall, so one bucket never
stops the session. OpenCode keeps the same local window the whole time.
Needs
- Windows
- A free Route64 account
- WireGuard -- setup installs it if missing
opencodeon your PATH- Python 3.11 or newer
Install
pip install lingling
lingling
The first launch runs setup.
Setup
- Sign in at manager.route64.org.
- Open IPv6 Tunnelbroker and create a WireGuard tunnel.
- Download or copy the WireGuard config.
- Open List IP subnets and copy the routed
/56.
Run lingling and paste the config path when asked. Drag and drop works.
The address inside the config is the tunnel /64:
Address = 2001:db8:1:2::2/64
It is not the block Lingling rotates through. Use the routed /56 that
Route64 shows separately, for example:
2001:db8:1:300::/56
Setup installs a WireGuard service called lingling, asks for admin once,
and starts the service only while Lingling is open. To replace the profile:
lingling setup --reset
Use
lingling
Lingling starts the tunnel, picks the first unused /64, and opens OpenCode
with its own local proxy. It spreads each lane to half the daily allowance
before moving. A free-limit wall spends the walled lane and moves to a fresh
one. OpenCode can mark one session as used while a new session still works, so
Lingling opens a fresh root session with the current chat context first. If
that fresh session is rejected too, it falls back to a summary handoff. The old
chat stays as a backup; the new session opens in the same folder with the model
and effort you picked. Spent lanes reset at 00:00 UTC.
The proof log sits in the data folder -- %TEMP%\lingling-data\route.log
by default.
Every path, name, timing, and color can be overridden with a LINGLING_*
environment variable; the defaults live in lingling/settings.py.
Commands
lingling start a session
lingling setup set up or replace your Route64 profile
lingling setup --reset remove the old profile and run setup again
lingling update install the newest lingling
lingling uninstall remove the profile and tunnel
License
See LICENSE.
Metadata
Release files for lingling 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lingling-2.2.0.tar.gz | 38.1 kB | Without provenance | Details for lingling-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lingling-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for lingling-2.2.0-py3-none-any.whl |
Total release size: 80.1 kB
Release files / lingling-2.2.0.tar.gz
| Download URL | lingling-2.2.0.tar.gz |
|---|---|
| Size | 38.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1df4628b96114dbac1c4c44d1c46524ef3f74abc2a34b8b0278250731c7186ed
|
|
BLAKE2b-256 checksum How to use checksums |
5fc8d3a6a2a9deaded36f199ce8d2ce090a0b036a3edb13499a57481a58cbe5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Release files / lingling-2.2.0-py3-none-any.whl
| Download URL | lingling-2.2.0-py3-none-any.whl |
|---|---|
| Size | 42.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a1b632de417721903a506e6a281f45afd47479ab508fff5b750f738d9353f16
|
|
BLAKE2b-256 checksum How to use checksums |
c3c95300c2ee163f846169f8bb8b206957d9842d01df4218808393f68b1ad919
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Security for lingling 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.