googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.14k stars 695 forks source link

Feature request: Embedding google colab notebook as an iframe #1225

Open oeway opened 4 years ago

oeway commented 4 years ago

I think it would be great if google colab can allow embed notebooks into other websites(e.g. a blog post, project website), currently, it said colab.research.google.com refused to connect. because it it set 'X-Frame-Options' to 'deny'.

There is an article described a workaround to save into a gist, but then you cannot run the embedded notebook.

elimboto commented 3 years ago

I agree, this feature is very important for websites and blogs.

rhelmstedter commented 3 years ago

This would be fantastic! I have students using colab to code in python. This way I could create assignments in canvas.

laurenlaufman commented 3 years ago

This would be very useful, as I'd like to embed the interactive output of one of my colab cells into my website.

nzarif commented 3 years ago

This is a very useful feature. I already found this on how to use Google Colab as a script: https://medium.com/@lzhou1110/how-to-embed-google-colaboratory-into-medium-in-3-steps-487b525b103c There are 2 things though: 1.JS scripts can not be used with some platforms like Canvas and EdX. 2.This is not interactive i.e. the user can just read through and they can not read or modify anything It will be a huge help to instructors if you add a feature so Google Colab notebooks can be embedded as iframes and for sure that will help with the popularity of Google Colab.

brunoalvarez89 commented 3 years ago

This would be sooo awesome to have!

kalyanvasudev commented 3 years ago

+1, this will be a very handy feature.

Tebinski commented 3 years ago

Yes indeed, it would be great

jerpint commented 3 years ago

+1

ivanpmartell commented 3 years ago

+1, would be great for education purposes

tbloch1 commented 3 years ago

+1. Would help making code more shareable and accessible.

adithraghavs commented 3 years ago

+1

Abdess commented 3 years ago

+1

taiki-okano commented 3 years ago

+1 I would definitely love it, please!!

KhaledBinAmir commented 3 years ago

+1

pyohamen commented 3 years ago

+1

elimboto commented 3 years ago

When Google will respond to this request?

On Wed, Jul 14, 2021 at 4:43 AM Hamin Pyo @.***> wrote:

+1

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/googlecolab/colabtools/issues/1225#issuecomment-879519660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5Y3FRCZDLGPARCR6EZBELTXTTUZANCNFSM4M4C7B6A .

fleisck commented 2 years ago

+1

ydshieh commented 2 years ago

+1

sheecegardezi commented 2 years ago

+1

lijingwang commented 2 years ago

+1

ZachStecko commented 2 years ago

+1

adofarsi commented 2 years ago

+1

PyMarc2 commented 2 years ago

+1

maxaragon commented 2 years ago

+1

tigersan commented 2 years ago

+1

ydshieh commented 2 years ago

+1

Gabocota commented 2 years ago

Please

puzis commented 2 years ago

+1

irivanych commented 2 years ago

+1

psturum commented 2 years ago

+1

name-industry commented 2 years ago

+1

ydshieh commented 2 years ago

+1

JamesHollyer commented 2 years ago

+1

ydshieh commented 2 years ago

Anyone from Google teams?

YounesBensoudaMourri commented 2 years ago

+1

wjlgatech commented 2 years ago

+1, if I am in google (:, I will make it happen within 3 mo 👍

ddibariuf commented 2 years ago

Hey, if you all are willing to switch off Google Colab, JupiterLite works on Canvas exams with Honorlock

Here's the iframe embed:

<iframe
  src="https://jupyterlite.github.io/demo/repl/index.html?kernel=python&toolbar=1"
  width="100%"
  height="500px"
>
</iframe>
leonyi168 commented 1 year ago

still cannot. no hope at all

raverecursion commented 1 year ago

+1

pangjac commented 1 year ago

+1

Merunix commented 1 year ago

+1 would help so many students like me

GeneArnold commented 1 year ago

This would be a great feature! +1

m0o0scar commented 1 year ago

+1, still no update nor response from google ...

julienbonin commented 1 year ago

Please make this happen.

rajat709 commented 1 year ago

+1 Great idea.

MaverickMeerkat commented 1 year ago

+1000000000

zhubarb commented 1 year ago

+1e10

rajat709 commented 1 year ago

+1000000000

1e^100!(!=Factorial)

bvillanueva-amb commented 1 year ago

+1 here.

JustinTurkaly commented 1 year ago

+1 pls