{"id":13405639,"url":"https://github.com/abhishekkrthakur/colabcode","last_synced_at":"2025-04-09T01:22:59.998Z","repository":{"id":37687412,"uuid":"294074614","full_name":"abhishekkrthakur/colabcode","owner":"abhishekkrthakur","description":"Run VSCode (codeserver) on Google Colab or Kaggle Notebooks","archived":false,"fork":false,"pushed_at":"2024-09-14T16:08:49.000Z","size":24,"stargazers_count":2107,"open_issues_count":65,"forks_count":282,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-02T00:18:30.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abhishekkrthakur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-09T10:06:26.000Z","updated_at":"2025-04-01T10:34:56.000Z","dependencies_parsed_at":"2025-01-14T12:05:39.883Z","dependency_job_id":"a0c4e8e1-7d29-433a-b820-6c78ec619eea","html_url":"https://github.com/abhishekkrthakur/colabcode","commit_stats":{"total_commits":44,"total_committers":9,"mean_commits":4.888888888888889,"dds":"0.31818181818181823","last_synced_commit":"be6c836c54249bd8156a234ae8b6467d60150b1e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhishekkrthakur%2Fcolabcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhishekkrthakur%2Fcolabcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhishekkrthakur%2Fcolabcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhishekkrthakur%2Fcolabcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhishekkrthakur","download_url":"https://codeload.github.com/abhishekkrthakur/colabcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247953862,"owners_count":21024102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:02:07.163Z","updated_at":"2025-04-09T01:22:59.959Z","avatar_url":"https://github.com/abhishekkrthakur.png","language":"Python","funding_links":[],"categories":["Python","Others","Integrations"],"sub_categories":[],"readme":"# ColabCode\n\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)\n[![PyPI version](https://badge.fury.io/py/colabcode.svg)](https://badge.fury.io/py/colabcode)\n![python version](https://img.shields.io/badge/python-3.6%2C3.7%2C3.8-blue?logo=python)\n\n## Installation\n\n```python\n$ pip install colabcode\n```\n\nRun code server on [Google Colab](https://colab.research.google.com/) or [Kaggle](https://www.kaggle.com/) Notebooks.\n\n## Getting Started\n\nColabCode also has a command-line script. So you can just run `colabcode` from command line.\n\n**`colabcode -h`** will give the following:\n\n```console\nusage: colabcode [-h] --port PORT [--password PASSWORD] [--mount_drive]\n\nColabCode: Run VS Code On Colab / Kaggle Notebooks\n\nrequired arguments:\n  --port PORT          the port you want to run code-server on\n\noptional arguments:\n  --password PASSWORD  password to protect your code-server from unauthorized access\n  --mount_drive        if you use --mount_drive, your google drive will be mounted\n```\n\n**Else**, you can do the following:\n\n```python\n# import colabcode\n$ from colabcode import ColabCode\n```\n\n```python\n# run colabcode with by default options.\n$ ColabCode()\n```\n\n```python\n# ColabCode has the following arguments:\n# - port: the port you want to run code-server on, default 10000\n# - password: password to protect your code server from being accessed by someone else.\n#             Note that there is no password by default!\n# - mount_drive: True or False to mount your Google Drive\n$ ColabCode(port=10000, password=\"abhishek\", mount_drive=True)\n```\n\n## How to use it?\n\n**Colab** starter notebook: \u0026nbsp;\u0026nbsp; [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/abhishekkrthakur/colabcode/blob/master/colab_starter.ipynb)\n\n**`ColabCode`**  comes pre-installed with some VS Code extensions.\n\n### See an example in youtube video\n\n[![YouTube Video](https://img.shields.io/youtube/views/7kTbM3D02jU?style=social)](https://youtu.be/7kTbM3D02jU)\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhishekkrthakur%2Fcolabcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhishekkrthakur%2Fcolabcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhishekkrthakur%2Fcolabcode/lists"}