{"id":18539039,"url":"https://github.com/simov/lure","last_synced_at":"2026-05-07T00:35:11.938Z","repository":{"id":66028233,"uuid":"88084990","full_name":"simov/lure","owner":"simov","description":"Lure people to your public organization","archived":false,"fork":false,"pushed_at":"2017-12-18T12:12:50.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T07:50:58.689Z","etag":null,"topics":["github","slack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simov.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":"2017-04-12T18:43:19.000Z","updated_at":"2017-10-25T01:27:37.000Z","dependencies_parsed_at":"2023-04-19T00:47:01.071Z","dependency_job_id":null,"html_url":"https://github.com/simov/lure","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"0c1c140782d882bcd10f4134aa95c6f1cc83373d"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Flure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Flure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Flure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Flure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simov","download_url":"https://codeload.github.com/simov/lure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259444,"owners_count":22040822,"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":["github","slack"],"created_at":"2024-11-06T19:45:56.472Z","updated_at":"2026-05-07T00:35:11.898Z","avatar_url":"https://github.com/simov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# lure\n\n```bash\nnpm i -g lure\nlure --config /path/to/config.json --port 3000 --env production\n```\n\n# config.json\n\n```json\n{\n  \"development\": {\n    \"my-org\": {\n      \"provider\": \"slack or github\",\n      \"id\": \"[slack org subdomain or github org id]\",\n      \"name\": \"[readable name of your org]\",\n      \"token\": \"[OAuth access token]\",\n      \"path\": \"[path prefix for all routes]\",\n      \"invite\": [\"additional config keys to invite\"],\n      \"meta\": [\"additional meta tags to embed\"],\n      \"static\": {\n        \"root\": \"/absolute/path/to/assets\",\n        \"favicon\": \"/assets/favicon.ico\",\n        \"logo\": \"/assets/logo.png\",\n        \"css\": [\"/assets/custom.css\"],\n        \"js\": [\"/assets/custom.js\"]\n      },\n      \"strings\": [\n        \"Join\",\n        \"on Slack!\",\n        \"users online now of\",\n        \"registered\",\n        \"Get my Invite\",\n        \"Please wait\",\n        \"Check your email!\",\n        \"or\",\n        \"sign in\"\n      ]\n    }\n  }\n}\n```\n\n---\n\n# Serve Multiple Invitation Screens\n\n```json\n{\n  \"development\": {\n    \"my-slack-org\": {},\n    \"my-other-slack-org\": {},\n    \"my-github-org\": {}\n  }\n}\n```\n\n- `http://localhost:3000` serves _my-slack-org_\n- `http://localhost:3000/my-slack-org` serves _my-slack-org_\n- `http://localhost:3000/my-other-slack-org` serves _my-other-slack-org_\n- `http://localhost:3000/my-github-org` serves _my-github-org_\n\n---\n\n# Organization\n\n## Slack\n\n- Organization: `https://varnalab.slack.com`\n- OAuth Scope: `admin`\n\n```json\n{\n  \"provider\": \"slack\",\n  \"id\": \"varnalab\",\n  \"name\": \"VarnaLab\",\n  \"token\": \"[ACCESS_TOKEN]\",\n}\n```\n\n## GitHub\n\n- Organization: `https://github.com/varnalab`\n- OAuth Scope: `admin:org`\n\n```json\n{\n  \"provider\": \"github\",\n  \"id\": \"varnalab\",\n  \"name\": \"VarnaLab\",\n  \"token\": \"[ACCESS_TOKEN]\",\n}\n```\n\n---\n\n# Send Multiple Invitations\n\nInvitation sent from `my-slack-org` will result in sending an invitation to **both** `my-slack-org` and `my-other-slack-org`:\n\n```json\n{\n  \"development\": {\n    \"my-slack-org\": {\n      \"invite\": [\"my-other-slack-org\"]\n    },\n    \"my-other-slack-org\": {}\n  }\n}\n```\n\n---\n\n# Additional Meta Tags\n\n```json\n{\n  \"meta\": [\n    {\"name\": \"author\", \"content\": \"Simeon Velichkov\"}\n  ]\n}\n```\n\n```html\n\u003cmeta name=\"author\" content=\"Simeon Velichkov\"\u003e\n```\n\n---\n\n# Additional Static Files\n\nThe `/assets` prefix is **required**!\n\n```json\n{\n  \"static\": {\n    \"root\": \"/absolute/path/to/assets\",\n    \"favicon\": \"/assets/favicon.ico\",\n    \"logo\": \"/assets/logo.png\",\n    \"css\": [\n      \"/assets/custom.css\"\n    ],\n    \"js\": [\n      \"/assets/custom.js\"\n    ]\n  }\n}\n```\n\n---\n\n# Path Prefix\n\nPrefix all invitation routes:\n\n```json\n{\n  \"path\": \"/invite\"\n}\n```\n\n---\n\n# Localization\n\n```json\n{\n  \"strings\": [\n    \"Присъедини се към чат канала на\",\n    \"в Slack!\",\n    \"потребители са активни в момента от\",\n    \"регистрирани\",\n    \"Вземи своята покана сега!\",\n    \"Поканата се изпраща\",\n    \"Провери пощата си!\",\n    \"или\",\n    \"се логни\"\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Flure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimov%2Flure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Flure/lists"}