News for hackers. Stuff that matters.
Re:Observable 2.0, a static site generator for data apps by asimpletune on Thursday February 15, 2024 @03:14PM (#39388083)
One question I have is if there's a way to integrate an observable framework project into an existing static site? I see how I could easily add a project as a subdomain, but what if I wanted to interleave a project I make with observable framework into my existing domain and that static site generator I already use for that domain?

By the way, thank you making this. I've been reading and enjoying very much the documentation. It looks like it has huge potential.

Re:Observable 2.0, a static site generator for data apps by 0cf8612b2e1e on Thursday February 15, 2024 @03:49PM (#39388595)
My question as well. If I had say a Hugo blog, how much effort would it be to embed the output to its own page?
Re:Observable 2.0, a static site generator for data apps by hanniabu on Thursday February 15, 2024 @04:26PM (#39389146)
Also curious if it can be worked into my jekyll sites
Re:Observable 2.0, a static site generator for data apps by mbostock on Thursday February 15, 2024 @05:10PM (#39389834)
Thank you. At a minimum, you could iframe pages built with Framework, or have them live alongside your other pages and link to them. Maybe it would be possible to use Framework’s internal API to generate HTML that could be embedded within another static site generator page but we haven’t explored that idea yet.
Re:Observable 2.0, a static site generator for data apps by asimpletune on Friday February 16, 2024 @03:38AM (#39394621)
Thank you for answering my question. I'm sure after more people use framework an elegant design will make itself more clear. The decision to make data loaders agnostic to specific technology was a welcomed approach, and so I have no doubt a similar result will be achieved with integrating observable framework into existing static sites, however that may look. Thank you!
Re:Observable 2.0, a static site generator for data apps by espinielli on Friday February 16, 2024 @09:47AM (#39397731)
That is my point too. Now that I have tried Observable Framework (and before it D3, Plot, Observable Notebook) I do not think I can propose to change our statically generated site to just use Observable Framework. I will explore ways to migrate parts of the existing stuff and how integrate new pages generated by Framework... A Big Bang is not an option for us... (for anybody I guess, so it looks quite a need...but I understand that it doesn't go in the right business direction for Observable the company)
Re:Observable 2.0, a static site generator for data apps by jaan on Sunday February 18, 2024 @07:53AM (#39418633)
Also trying to figure this out for using it with vite! Added a question here: https://github.com/observablehq/framework/discussions/855