{"id":18033882,"url":"https://github.com/zorbash/kino_kroki","last_synced_at":"2025-04-23T16:42:02.959Z","repository":{"id":62683217,"uuid":"561678862","full_name":"zorbash/kino_kroki","owner":"zorbash","description":"A Livebook smart-cell to render diagrams powered by Kroki.io","archived":false,"fork":false,"pushed_at":"2022-11-06T19:23:13.000Z","size":22,"stargazers_count":16,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T01:50:20.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zorbash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-04T08:36:51.000Z","updated_at":"2024-12-13T00:56:48.000Z","dependencies_parsed_at":"2023-01-22T10:00:16.998Z","dependency_job_id":null,"html_url":"https://github.com/zorbash/kino_kroki","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zorbash%2Fkino_kroki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zorbash%2Fkino_kroki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zorbash%2Fkino_kroki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zorbash%2Fkino_kroki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zorbash","download_url":"https://codeload.github.com/zorbash/kino_kroki/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250472042,"owners_count":21436070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T11:08:53.218Z","updated_at":"2025-04-23T16:42:02.939Z","avatar_url":"https://github.com/zorbash.png","language":"Elixir","funding_links":[],"categories":["SmartCells"],"sub_categories":[],"readme":"# KinoKroki\n\n[![Package Version](https://img.shields.io/hexpm/v/kino_kroki.svg)](https://hex.pm/packages/kino_kroki)\n\nA Livebook smart-cell to render diagrams powered by [Kroki][kroki].\n\n[![Livebook badge](https://livebook.dev/badge/v1/blue.svg)](https://livebook.dev/run?url=https%3A%2F%2Fhexdocs.pm%2Fkino_kroki%2Fexamples.livemd)\n\n## Installation\n\nAdd it as a dependency in your notebook with:\n\n```elixir\nMix.install([:kino_kroki])\n```\n\n## Usage\n\nPaste the diagram source in the editor and select the diagram type.\n\n![sample](https://i.imgur.com/p79Ev5E.png)\n\nYou may also render from a variable with:\n\n```elixir\ngraph = \"\"\"\ndigraph G { bgcolor=\"purple:pink\" label=\"agraph\" fontcolor=\"white\"\nfontname=\"Helvetica,Arial,sans-serif\"\nnode [fontname=\"Helvetica,Arial,sans-serif\"]\nedge [fontname=\"Helvetica,Arial,sans-serif\"]\n  subgraph cluster1 {fillcolor=\"blue:cyan\" label=\"acluster\" fontcolor=\"white\" style=\"filled\" gradientangle=\"270\"\n        node [shape=box fillcolor=\"red:yellow\" style=\"filled\" gradientangle=90]\n        anode;\n    }\n\n}\n\nKino.Kroki.new(graph, :graphviz)\n```\n\n## License\n\nCopyright (c) 2022 Dimitris Zorbas, MIT License.\nSee [LICENSE.txt](https://github.com/zorbash/kino_kroki/blob/master/LICENSE.txt) for further details.\n\n[kroki]: https://kroki.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzorbash%2Fkino_kroki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzorbash%2Fkino_kroki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzorbash%2Fkino_kroki/lists"}