Hacker News new | past | comments | ask | show | jobs | submit login
Idyll: Interactive Document Language (idyll-lang.github.io)
195 points by abhirag on Sept 8, 2017 | hide | past | favorite | 18 comments



Hey HN - I'm the creator of Idyll, it is really cool to see it here! To respond to the other comment - I did post it a few months ago but it didn't get much traction then.

Happy to answer any questions about the project, or why you would want to use something like this.


Thanks for making this :) As of now I just export Jupyter Notebooks to html, throw them on my site and call it a day but have been meaning to try Idyll for some data visualization.


Presumably you can switch between idyll and Jupiter notebooks using note down and nbconvert with a bit of extra work.


Well, I have already put some extra work in making jupyter notebooks look good when exported as html (for example - http://abhirag.in/articles/train_of_thought_1.html). I am planning to use Idyll for d3 plots and such, but thanks for the idea, exporting to markdown and then using Idyll was something I hadn't thought about.


Nice notebook more railways around the world should be using notebooks.


Hi! I'm thinking about using this for creating tests in school. How would one send state to a backend? Use refs?


In that case you'd want to make a component that would post the state to the backend. You can use Idyll's variables to pass the state to the component that sends the request.

For example, here is a page that uses firebase to persist state https://mathisonian.github.io/idyll/firebase/. The custom components for that page are here https://github.com/mathisonian/idyll/tree/master/firebase/co...


See also http://aprt.us as an interesting way to build interactive diagrams.


Looks cool, would be a lot more interesting to me, if it included data io with postgres database functions and views. I never use direct to table updates. Being able to easily created a web front end to a database with a tool like yours, would be extremely useful to me and I would happily pay for such. There are umpteen tools for creating schemas and managing databases - most like PgAdmin are pretty poor - I use Sublime Text. Unfortunately there are no RAD tools available for creating simple UI's. All my logic is in the db so I just need simple forms and display grids. I had a quick look at Envelope but complexity of setup and poor documentation put me off.


We are in the process of adding compile time logic, which will hopefully enable more use cases like this. (so you could e.g. run a database query at compile time and use that to populate the page). happy to ping you once this is landed, or you can follow the progress here https://github.com/idyll-lang/idyll/issues/70


In the meantime we support browserify plugins, so you could actually accomplish something like you're talking about today by using a plugin like https://github.com/mathisonian/dbify


I feel your pain. Don't despair. I once found a tool you'll also fall in love with: Delphi [1].

If you look for a, less-featured, FOSS version, try Lazarus [2]

[1] https://www.embarcadero.com/products/delphi

[2] http://www.lazarus-ide.org


A somewhat similar in concept using attributes in markup is Tangle [1]

[1] http://worrydream.com/Tangle/


This looks very cool. Thinking of using it for my lecture notes. I like the math support and that it seems to support d3 albeit with a bit of extra work, am wondering how easy it would be to bulk convert from another format say. LaTeX using something like Pandoc to markdown and then to idyll? Would rather not cut and paste everything.


Thanks rmbeard. We don't have any specific importing tools, but a markdown converter should get you most of the way there.

Happy to discuss further if you do end up wanting to use it.


on the other hand, it seems too gimmicky and too focused on their favorite scrollable interactions


Still early days is my impression. It is extendable which is a plus. I think it goes in the rightirection and can see myself using it. Which is not something that happens that often.


This was previously posted about a month ago




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: