Unofficial · research and education
Disclaimer
kdev is an independent, unofficial open-source tool, made for research and educational purposes. Read this before you use it.
Last updated
kdev is not an official Kaggle, Google or Cloudflare product. It is not affiliated with, endorsed by, sponsored by or supported by Kaggle, Google LLC, Cloudflare, Inc., or any of their affiliates.
It is provided for research and educational purposes only.
What kdev is
kdev is a command-line tool, released under the MIT licence, that uses Kaggle's public API and Cloudflare Tunnel to run a Kaggle notebook session as a remote development machine. Its source is public at github.com/tushar-mahalya/kdev. It was built to study and document how notebook sessions, saved versions and outbound tunnels behave, and to teach the techniques involved.
Your responsibility
You alone are responsible for how you use kdev and for the accounts you use it with. Before you run it:
- Read and follow Kaggle's Terms of Use and community guidelines. Kaggle allows one account per person and restricts tunnelling out of notebooks. Accounts have been banned for both. kdev does nothing to hide what it does, and it cannot make a use acceptable that the terms forbid.
- Read and follow Cloudflare's terms for any account, domain or tunnel you connect.
- Use only accounts you are entitled to use. Pooling quota across a Kaggle group means accounts that belong to real, distinct people who have each agreed to it. Do not create or borrow accounts to get more compute.
- Do not use kdev to break any law, to attack or overload any service, or to get around any limit, quota or security control.
If you are not sure that a use is allowed, don't run it until you are.
Names and trademarks
Kaggle is a trademark of Google LLC. Cloudflare is a trademark of Cloudflare, Inc. Visual Studio Code is a trademark of Microsoft Corporation. Other names belong to their owners. They appear on this site only to describe what kdev works with, and their use implies no affiliation or endorsement.
No warranty
kdev is provided "as is", without warranty of any kind, express or implied, including the warranties of merchantability, fitness for a particular purpose and non-infringement, as the MIT licence states in full. The authors and contributors are not liable for any claim, damages or other liability arising from the software or its use, including lost work, lost quota, suspended or banned accounts, or data exposed through a misconfigured tunnel or notebook.
The crash-and-recovery behaviour described on this site was measured on Kaggle's platform as it behaved at the time. Kaggle and Cloudflare can change their services at any moment, and kdev may stop working, or work differently, without notice. Keep your own copies of anything that matters. A git-remote and kdev backup exist for that reason.
Security
Kaggle has no API for notebook Secrets, so the tunnel credentials (and a git deploy key, if you set one) are stored in the private notebook's source, readable by anyone with Can Edit on it. Understand that before you share a workspace. Report vulnerabilities privately, as thesecurity policy describes.
This site
This website documents kdev. It is not run by Kaggle, Google or Cloudflare, and nothing on it is legal advice. See theprivacy notice for what it does and doesn't collect.