{"id":17767952,"url":"https://github.com/bezborodow/celtic-knot","last_synced_at":"2026-06-22T16:31:28.884Z","repository":{"id":67730154,"uuid":"585241524","full_name":"bezborodow/celtic-knot","owner":"bezborodow","description":"Celtic knot grid pattern generator for SVG.","archived":false,"fork":false,"pushed_at":"2024-02-25T22:11:23.000Z","size":959,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T06:34:46.970Z","etag":null,"topics":["algorithmic-art","celtic-knots","svg"],"latest_commit_sha":null,"homepage":"https://www.rubydoc.info/github/bezborodow/celtic-knot/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bezborodow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-04T17:12:12.000Z","updated_at":"2024-02-26T00:31:38.000Z","dependencies_parsed_at":"2024-02-25T22:44:51.941Z","dependency_job_id":null,"html_url":"https://github.com/bezborodow/celtic-knot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bezborodow/celtic-knot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezborodow%2Fceltic-knot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezborodow%2Fceltic-knot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezborodow%2Fceltic-knot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezborodow%2Fceltic-knot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bezborodow","download_url":"https://codeload.github.com/bezborodow/celtic-knot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezborodow%2Fceltic-knot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34657892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":["algorithmic-art","celtic-knots","svg"],"created_at":"2024-10-26T20:52:14.159Z","updated_at":"2026-06-22T16:31:28.862Z","avatar_url":"https://github.com/bezborodow.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Celtic Knot Generator for SVG\n\n**`celtic-knot`** is a [Ruby](https://www.ruby-lang.org/en/) programme that creates simple rectangular\nceltic knot drawings based upon a given set of parameters. The images are in a vector format.\n\n## Synopsis\n\nThe drawing is in [SVG](https://developer.mozilla.org/en-US/docs/Web/SVG) (Scaleable Vector Graphics) format, which is sent to standard output.\n\n## Usage\n\n```\nUsage: ./knot [options]\n    -h, --help                       Prints this help\n    -V, --vertical=VERTICAL          Number of cells vertically.\n    -H, --horizontal=HORIZONTAL      Number of cells horizontally.\n    -G, --cell-size=CELL_SIZE        Dimensions of each cell in the grid.\n    -b, --background-color=BG_COLOR  Background colour.\n    -k, --knot-color=KNOT_COLOR      Knot colour.\n    -K, --knot-width=KNOT_WIDTH      Knot width.\n    -s, --stroke-color=STROKE_COLOR  Stroke colour.\n    -S, --stroke-width=STROKE_WIDTH  Stroke width.\n```\n\n### Examples\n\n#### Basic\n\n![Basic knot](https://raw.githubusercontent.com/bezborodow/celtic-knot/main/examples/basic.svg)\n\n```console\n./knot \\\n    --vertical=2 \\\n    --horizontal=2 \\\n    --cell-size=96 \\\n    --knot-color='white' \\\n    --knot-width=24 \\\n    --stroke-color=black \\\n    --stroke-width=8 \\\n    \u003e basic.svg\n```\n\n#### Ingƿine\n\n![Ingƿine knot](https://raw.githubusercontent.com/bezborodow/celtic-knot/main/examples/ingwine.svg)\n\n```console\n./knot \\\n    --vertical=3 \\\n    --horizontal=4 \\\n    --cell-size=96 \\\n    --background-color='#012169' \\\n    --knot-color='#C8102E' \\\n    --knot-width=32 \\\n    --stroke-color=white \\\n    --stroke-width=16 \\\n    \u003e ingwine.svg\n```\n\n#### Bratach (Banner)\n\n![Bratach knot](https://raw.githubusercontent.com/bezborodow/celtic-knot/main/examples/bratach.svg)\n\n```console\n./knot \\\n    --vertical=5 \\\n    --horizontal=6 \\\n    --cell-size=64 \\\n    --background-color='#169B62' \\\n    --knot-color='#FF883E' \\\n    --knot-width=32 \\\n    --stroke-color=white \\\n    --stroke-width=4 \\\n    \u003e bratach.svg\n```\n\n### Converting SVG to Other Formats\n\nThe SVG file can be viewed locally in your Web browser or converted into other formats such as [PNG](http://www.libpng.org/pub/png/) using utilities such as ImageMagick's [`convert`](https://imagemagick.org/script/convert.php). For example:\n\n```console\nconvert -background none examples/basic.svg examples/basic.png\n```\n\n## Installation\n\n### Fedora\n\n```console\nsudo dnf install ruby rubygem-nokogiri\nmkdir ~/src\ncd ~/src/\ngit clone git@github.com:bezborodow/celtic-knot.git\ncd celtic-knot\nbundle install --local\n```\n\n\n## Internals\n\n[API Documentation](https://www.rubydoc.info/github/bezborodow/celtic-knot/)\n\n## Author\n\n2023 Damien Bezborodov\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezborodow%2Fceltic-knot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbezborodow%2Fceltic-knot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezborodow%2Fceltic-knot/lists"}