googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.17k stars 704 forks source link

Social media preview links (on Discord, etc) for Colab links! #4549

Open jaanli opened 4 months ago

jaanli commented 4 months ago

Is your feature request related to a problem? Please describe. Hi! I'm always frustrated when I share Colab notebooks but there is no social media preview link.

Example on Discord:

image

This would help with SEO for my courses.

Example here:

https://colab.research.google.com/github/onefact/datathinking.org-codespace/blob/main/notebooks/princeton-university/week-1-visualizing-33-million-phone-calls-in-new-york-city.ipynb (other link advertising the dataset derived from this notebook by motherduck.com: https://motherduck.com/blog/introducing-column-explorer/)

Describe the solution you'd like Ideally the social media preview links would appear on Twitter.

Describe alternatives you've considered Creating a Jinja template to transpile the Jupyter notebooks to HTML (but this is hard and I don't have time as a university professor and open source contributor!).

Additional context Thanks so much! Colab is amazing - I got to work on the Brain and DeepMind teams during my PhD and loved it :D

cperry-goog commented 4 months ago

Tracking this internally at b/314832210