{"id":19020249,"url":"https://github.com/trailsjs/trailpack-realtime","last_synced_at":"2026-03-05T18:39:39.667Z","repository":{"id":57378858,"uuid":"47208851","full_name":"trailsjs/trailpack-realtime","owner":"trailsjs","description":":package: Realtime Trailpack. Synchronize the client and server via WebSockets","archived":false,"fork":false,"pushed_at":"2018-04-13T04:21:29.000Z","size":25,"stargazers_count":5,"open_issues_count":3,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-27T06:07:27.223Z","etag":null,"topics":["realtime","trailpack","trails","websocket"],"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/trailsjs.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}},"created_at":"2015-12-01T18:21:32.000Z","updated_at":"2023-03-12T12:14:55.000Z","dependencies_parsed_at":"2022-09-02T21:21:09.581Z","dependency_job_id":null,"html_url":"https://github.com/trailsjs/trailpack-realtime","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/trailsjs/trailpack-realtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrailpack-realtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrailpack-realtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrailpack-realtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrailpack-realtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trailsjs","download_url":"https://codeload.github.com/trailsjs/trailpack-realtime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailsjs%2Ftrailpack-realtime/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260630228,"owners_count":23039062,"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":["realtime","trailpack","trails","websocket"],"created_at":"2024-11-08T20:16:17.160Z","updated_at":"2026-03-05T18:39:34.633Z","avatar_url":"https://github.com/trailsjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trailpack-realtime\n:package: Realtime Trailpack. Synchronize the client and server via WebSockets\n\n## Getting Started\n\n### Install\n\n```js\nnpm install --save trailpack-realtime\n```\n\nThen edit `config/main.js `\n\n```js\npacks: [\n    require('trailpack-core'),\n    require('trailpack-repl'),\n    require('trailpack-router'),\n    require('trailpack-express'), \n    require('trailpack-realtime')\n  ],\n```\n\n### Configure\n\nCreate the config file: `config/realtime.js `\n\n```js\nmodule.exports = {\n  primus:{\n    options:{\n      //these options are passed directly to the Primus constructor: https://github.com/primus/primus#getting-started\n    }\n  } \n};\n```\n\n## Client\n\nYou can include the primus client library as a script:\n```\n\u003cscript src=\"/primus/primus.js\"\u003e\u003c/script\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailsjs%2Ftrailpack-realtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrailsjs%2Ftrailpack-realtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailsjs%2Ftrailpack-realtime/lists"}