{"id":15475906,"url":"https://github.com/tirkarthi/clj-wordcloud","last_synced_at":"2025-09-11T19:31:31.705Z","repository":{"id":62435227,"uuid":"126224278","full_name":"tirkarthi/clj-wordcloud","owner":"tirkarthi","description":"A simple clojure wrapper around kumo to build wordclouds","archived":false,"fork":false,"pushed_at":"2018-04-19T10:56:57.000Z","size":424,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-01T21:41:27.187Z","etag":null,"topics":["clojure","kumo","wordcloud"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/tirkarthi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-21T18:35:43.000Z","updated_at":"2018-04-19T10:56:58.000Z","dependencies_parsed_at":"2022-11-01T21:00:53.657Z","dependency_job_id":null,"html_url":"https://github.com/tirkarthi/clj-wordcloud","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tirkarthi/clj-wordcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirkarthi%2Fclj-wordcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirkarthi%2Fclj-wordcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirkarthi%2Fclj-wordcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirkarthi%2Fclj-wordcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tirkarthi","download_url":"https://codeload.github.com/tirkarthi/clj-wordcloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirkarthi%2Fclj-wordcloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274694355,"owners_count":25332672,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["clojure","kumo","wordcloud"],"created_at":"2024-10-02T03:21:06.102Z","updated_at":"2025-09-11T19:31:31.331Z","avatar_url":"https://github.com/tirkarthi.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clj-wordcloud [![Clojars Project](https://img.shields.io/clojars/v/xtreak/clj-wordcloud.svg)](https://clojars.org/xtreak/clj-wordcloud) [![Build Status](https://travis-ci.org/tirkarthi/clj-wordcloud.svg?branch=master)](https://travis-ci.org/tirkarthi/clj-wordcloud)\n\nA simple clojure wrapper around kumo to generate wordcloud\n\n## Leiningen\n\n`[xtreak/clj-wordcloud \"0.0.1\"]`\n\n## Documentation\n\nDocumentation is generated by Codox and it's available at https://tirkarthi.github.io/clj-wordcloud/\n\n## Example\n\nGiven a map of element and the frequency the following image is generated. More examples/examples.clj.\n\n### Circle\n\n```clojure\n(ns examples\n  (:require [clj-wordcloud.core :refer :all]))\n\n(def programming-languages [\"Clojure\" \"Haskell\" \"Go\" \"Rust\" \"Scala\" \"Python\" \"Perl\"\n                            \"Ruby\" \"Smalltalk\" \"PHP\" \"Java\" \"JavaScript\"\n                            \"C\" \"C++\" \"Lisp\" \"Scheme\" \"Typescript\" \"D\" \"R\" \"Brainfuck\" \"Elixir\"\n                            \"Erlang\" \"C#\" \"BASIC\" \"Logo\" \"Alice\" \"Dart\" \"Purescript\" \"Prolog\"\n                            \"Ada\" \"F#\" \"Julia\" \"Kotlin\" \"Swift\" \"Delphi\"])\n\n(let [frequency-map (zipmap programming-languages (shuffle (range 300)))\n      word-cloud    (word-cloud frequency-map\n                                {:dimension  {:width  600\n                                              :height 600}\n                                 :background {:type  :circle\n                                              :size  300\n                                              :color \"0x000000\"}\n                                 :font       {:type       \"Calibre\"\n                                              :weight     :plain\n                                              :scale-type :linear\n                                              :x-scale    20\n                                              :y-scale    20\n                                              :padding    5}})]\n  (write-to-file word-cloud \"example_circle.png\"))\n```\n\n![Sample](/examples/example_circle.png)\n\n### Bitmaps\n\n```clojure\n(ns examples\n  (:require [clj-wordcloud.core :refer :all]))\n\n(let [frequency-map (zipmap (range 100 150) (shuffle (range 300)))\n      word-cloud    (word-cloud frequency-map\n                                {:dimension  {:width  600\n                                              :height 600}\n                                 :background {:type   :pixel\n                                              :size   300\n                                              :color  \"0x000000\"\n                                              :bitmap \"examples/backgrounds/haskell_1.bmp\"}\n                                 :font       {:type       \"Calibre\"\n                                              :weight     :plain\n                                              :scale-type :linear\n                                              :x-scale    20\n                                              :y-scale    20\n                                              :padding    5}})]\n  (write-to-file word-cloud \"example_haskell.png\"))\n```\n\n![Sample](/examples/example_haskell.png)\n\n## TODO\n\n* API parity with Kumo\n* clojure.spec for docs and validation\n* Cool examples\n* Better tests\n\n## Contributing\n\nContributions are welcome. Please refer to CONTRIBUTING.md.\n\n## Stability\n\nThis library is still in early development phase and the API is subject to change. API design comments are welcome.\n\n## Thanks\n\nThanks to @kennycason for [kumo](https://github.com/kennycason/kumo) without which this library is not possible\n\n## License\n\nCopyright © 2018 Karthikeyan S\n\nDistributed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirkarthi%2Fclj-wordcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftirkarthi%2Fclj-wordcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirkarthi%2Fclj-wordcloud/lists"}