colab-autorun-and-connect

▶️ Automatically connect, reconnect and optionally run the first cell of notebooks in Google Colab

https://github.com/tdulcet/colab-autorun-and-connect

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

▶️ Automatically connect, reconnect and optionally run the first cell of notebooks in Google Colab

Basic Info
  • Host: GitHub
  • Owner: tdulcet
  • License: mpl-2.0
  • Language: JavaScript
  • Default Branch: master
  • Homepage:
  • Size: 87.9 KB
Statistics
  • Stars: 49
  • Watchers: 3
  • Forks: 13
  • Open Issues: 2
  • Releases: 0
Created over 5 years ago · Last pushed 7 months ago
Metadata Files
Readme License Citation

README.md

Actions Status

Colab Autorun and Connect

Automatically connect, reconnect and optionally run the first cell of notebooks in Google Colab

Copyright © 2020 Teal Dulcet and Daniel Connelly

Firefox and Chromium add-on/WebExtension to automatically connect, reconnect and optionally run the first cell of notebooks in Google's Colaboratory (Colab) service. Useful when running Distributed Computing projects in Colab.

  • Automatically connects to notebooks
  • Automatically reconnects to notebooks
  • Optionally automatically runs the first cell
  • Desktop notifications when the notebooks change state
  • Optionally rotate through Colab tabs when the system is idle or locked *
  • Page action popup with the notebooks status and a stopwatch
  • Use a keyboard shortcut to quickly open the popup (by default Ctrl+Alt+C)
  • Detailed information output to the console
  • Supports the light/dark mode of your system automatically
  • Settings automatically synced between all browser instances and devices
  • Follows the Firefox Photon Design
  • Compatible with Firefox for Android

❤️ Please visit tealdulcet.com to support this extension and my other software development.

* Tab rotate does not currently work well with Firefox on Windows because of Bug 1615885.

Download

Install from source

Clone the repository: bash git clone --recurse-submodules https://github.com/tdulcet/Colab-Autorun-and-Connect.git

Firefox

Follow these instructions to install it in Firefox

Chromium/Chrome

  1. Download the webextension-polyfill (specifically download the browser-polyfill.js file from here)
  2. Rename the chromemanifest.json file to manifest.json
  3. Follow these instructions to install it in Chromium/Chrome

Other Colab Extensions

Contributing

Pull requests welcome! Ideas for contributions:

  • Convert to Manifest V3 (MV3)
  • Refactor into more modules
  • Add option to run all cells, not just the first
  • Workaround the issue with Colab popups hanging
  • Support when the Colab interface is not in English
  • Improve the performance
  • Allow installing in Firefox for Android from AMO (see here and bug 1796184) and sync settings (see bug 1625257)
  • Localize the add-on

Thanks to Daniel Connelly for the idea for this extension and for helping test it!

Owner

  • Name: Teal Dulcet
  • Login: tdulcet
  • Kind: user
  • Location: Portland, Oregon

👨‍💻 Computer Scientist, BS, CRTGR, MS @Thunderbird Council member

Citation (CITATION.cff)

cff-version: 1.2.0
title: Colab Autorun and Connect
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Teal
    family-names: Dulcet
    orcid: 'https://orcid.org/0009-0008-6616-2631'
  - given-names: Daniel
    family-names: Connelly
repository-code: 'https://github.com/tdulcet/Colab-Autorun-and-Connect'
url: >-
  https://addons.mozilla.org/firefox/addon/colab-autorun-and-connect/
abstract: >-
  Firefox and Chromium add-on/WebExtension to automatically
  connect, reconnect and optionally run the first cell of
  notebooks in Google's Colaboratory service.
license: MPL-2.0
version: '1.2'

GitHub Events

Total
  • Watch event: 6
  • Issue comment event: 1
  • Push event: 5
  • Pull request event: 1
Last Year
  • Watch event: 6
  • Issue comment event: 1
  • Push event: 5
  • Pull request event: 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 7
  • Total pull requests: 0
  • Average time to close issues: 3 days
  • Average time to close pull requests: N/A
  • Total issue authors: 6
  • Total pull request authors: 0
  • Average comments per issue: 4.43
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 2.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ghost (2)
  • kevin930321 (1)
  • musahi0128 (1)
  • Huehu3 (1)
  • Gnihc (1)
  • capriciousduck (1)
Pull Request Authors
  • Danc2050 (1)
Top Labels
Issue Labels
question (4) enhancement (2) good first issue (2)
Pull Request Labels

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite