{"id":18105464,"url":"https://github.com/iamvery/jank","last_synced_at":"2026-05-15T18:03:18.952Z","repository":{"id":140193996,"uuid":"63078295","full_name":"iamvery/jank","owner":"iamvery","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-04T12:14:36.000Z","size":141,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T06:20:30.448Z","etag":null,"topics":["ratchet","react","realtime"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/iamvery.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-07-11T15:11:40.000Z","updated_at":"2017-02-20T07:52:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"897420b6-00cf-48d9-bb05-76739df25124","html_url":"https://github.com/iamvery/jank","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/iamvery/jank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamvery%2Fjank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamvery%2Fjank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamvery%2Fjank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamvery%2Fjank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamvery","download_url":"https://codeload.github.com/iamvery/jank/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamvery%2Fjank/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33074402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ratchet","react","realtime"],"created_at":"2024-10-31T22:18:51.397Z","updated_at":"2026-05-15T18:03:18.918Z","avatar_url":"https://github.com/iamvery.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jank\n\n[![Build Status][travis-img]][travis]\n\n[travis-img]: https://travis-ci.org/iamvery/jank.svg?branch=master\n[travis]: https://travis-ci.org/iamvery/jank\n\nJank automatically updates your view when the server says so.\n\nIf you're using Jank with Elixir Phoenix, check out [phoenix_jank][ph-jank].\n\n## Usage\n\nTODO\n\n## How it works\n\nThe basic premise of Jank is that for simple real-time requirements, you have been writing too much JavaScript.\nFor example, if you want stream chat messages from a websocket into your page, traditionally you must write the code that updates the DOM.\nWith Jank, this process is generalized into a set of transformations.\n\nJank finds components on your page and subscribes to a data topic.\nThe server sends data along when it's available and Jank integrates it back into the page automatically.\nJanks plays really nice with the [Ratchet][ratchet] data format.\nAll of this is accomplished without the need for complicated front-end JavaScript frameworks.\nIt bolts on to your traditional, server-rendered architecture.\n\n![jank bolts on](images/overview.jpg)\n\n## Release\n\n1. Bump the version in `package.json`.\n1. Add version to CHANGELOG.\n1. Commit version with Git tag `vX.X.X`.\n1. Publish to npm:\n\n   ```\n   $ npm publish\n   ```\n\n\n[ph-jank]: https://github.com/iamvery/phoenix_jank\n[ratchet]: https://github.com/iamvery/ratchet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamvery%2Fjank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamvery%2Fjank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamvery%2Fjank/lists"}