{"id":21396421,"url":"https://github.com/baslr/web-client-vendor","last_synced_at":"2025-06-30T19:37:18.995Z","repository":{"id":11601330,"uuid":"14093657","full_name":"baslr/web-client-vendor","owner":"baslr","description":"defaults with requirejs and bower","archived":false,"fork":false,"pushed_at":"2014-01-25T14:14:36.000Z","size":276,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T14:49:14.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baslr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-03T21:10:39.000Z","updated_at":"2014-01-25T14:14:36.000Z","dependencies_parsed_at":"2022-09-19T11:21:48.364Z","dependency_job_id":null,"html_url":"https://github.com/baslr/web-client-vendor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/baslr/web-client-vendor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baslr%2Fweb-client-vendor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baslr%2Fweb-client-vendor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baslr%2Fweb-client-vendor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baslr%2Fweb-client-vendor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baslr","download_url":"https://codeload.github.com/baslr/web-client-vendor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baslr%2Fweb-client-vendor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262839713,"owners_count":23372780,"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-11-22T14:27:00.082Z","updated_at":"2025-06-30T19:37:18.957Z","avatar_url":"https://github.com/baslr.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"web-client-vendor\n=================\n\ndefaults with requirejs and bower\n\n## how to install\n\n### git submodule\n\n```\n$ git submodule add https://github.com/baslr/web-client-vendor path/to/vendor\n$ git submodule init\n$ git submodule update\n$ cd path/to/vendor\n$ bower install\n```\n\nin your index.html ```\u003chead\u003e``` insert\n\n\n```html\n\u003cscript type=\"text/javascript\" data-main=\"/vendor/init\" src=\"/vendor/require.js\"\u003e\u003c/script\u003e\n```\n\nthe your app file should look like this:\n\n```coffeescript\n\ndefine (require, exports, module) -\u003e\n  module.exports = -\u003e\n    console.log 'I was called'\n    \n  undefined\n```\n\nto disable authentification via websockets just configure it with requirejs config:\n\n```coffeescript\nrequirejs.config\n  config:\n    socket:\n      auth: false\n```\n\n\nminimal Websocket backend\n\n```coffeescript\non 'auth', (key) -\u003e\n  if key is valid\n    emit 'userName', userName\n  else\n    emit 'login'\n\non 'login', (email, password) -\u003e\n  if email is valid and password is valid\n    generate key\n    emit 'key', newKey\n    emit 'userName', userName\n  else\n    emit 'login'\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaslr%2Fweb-client-vendor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaslr%2Fweb-client-vendor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaslr%2Fweb-client-vendor/lists"}