{"id":19360548,"url":"https://github.com/supermedium/a-frobot","last_synced_at":"2025-10-24T00:04:04.213Z","repository":{"id":95537954,"uuid":"77123563","full_name":"supermedium/a-frobot","owner":"supermedium","description":"🤖 A-Frame GitHub bot.","archived":false,"fork":false,"pushed_at":"2025-03-12T21:13:47.000Z","size":211,"stargazers_count":9,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T12:52:18.445Z","etag":null,"topics":["bot"],"latest_commit_sha":null,"homepage":"https://github.com/a-frobot","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/supermedium.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,"zenodo":null}},"created_at":"2016-12-22T07:41:48.000Z","updated_at":"2025-03-12T21:13:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b289072-afaa-4f6c-ba20-7504ead8d05d","html_url":"https://github.com/supermedium/a-frobot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/supermedium/a-frobot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermedium%2Fa-frobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermedium%2Fa-frobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermedium%2Fa-frobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermedium%2Fa-frobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supermedium","download_url":"https://codeload.github.com/supermedium/a-frobot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supermedium%2Fa-frobot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264315104,"owners_count":23589707,"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":["bot"],"created_at":"2024-11-10T07:18:32.825Z","updated_at":"2025-10-24T00:03:59.150Z","avatar_url":"https://github.com/supermedium.png","language":"JavaScript","readme":"# A-Frobot\n\nA-Frame GitHub bot.\n\n![a-frobot](https://avatars0.githubusercontent.com/u/24716791?v=3\u0026s=460)\n\n[Latest A-Frame GitHub Pages](https://a-frobot.github.io/aframe/)\n\nDeployed on AWS.\n\n## Actions\n\n- When the A-Frame code or package.json is updated, bump the A-Frame master\n  builds and the bot's fork's GitHub Pages of A-Frame.\n- When the A-Frame master builds are bumped: update README, package.json, and bump again.\n- When the A-Frame documentation is updated, deploy the documentation on the A-Frame site.\n- When the A-Frame Registry is updated, bump the A-Frame Registry builds and site.\n- When a contributor comments `@a-frobot docs-v0.4.0` on a commit, cherry-pick\n  the commit to the documentation branch and deploy the A-Frame site.\n- When the A-Frame site is updated, deploy the A-Frame site to `aframevr/aframevr.github.io`.\n\n## AWS Setup\n\nOpen inbound ports in the AWS Security Group on the console. A-Frobot defaults\nto port 5000 for production and port 5001 for staging.\n\n```sh\nsudo apt-get install git\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash\n```\nopen a new console with `bash`, then continue:\n\n```sh\nnvm install 22\nnvm alias default 22 # needed if you previously installed an older version\ngit clone git@github.com:supermedium/a-frobot \u0026\u0026 cd a-frobot \u0026\u0026 npm install\ncp tokens.js.dist tokens.js\n```\n\nHave a GitHub account and get a GitHub personal access token. Put the token\nin `tokens.js` as `GITHUB_TOKEN`.\n\nGive the GitHub bot account write access to the managed repositories.\n\nGet the AWS public URL and set up a GitHub webhook on the managed repositories\npointing to `/postreceive`. Give the webhook a secret token. Put the webhook\ntoken in `tokens.js` as `SECRET_TOKEN`. Make sure the content type for the\nwebhook is set to `application/json`.\n\n```sh\nnpm run start\n./node_modules/.bin/forever logs 0\n```\n\nFor proper functioning, the instance should have at least 2GB of RAM, and the\ninstance's volume should have at least 2GB of storage.\n\n### Staging\n\n```sh\nnpm run startstaging\n```\n\n## Repository Setup\n\n- aframevr/aframe - Webhook + Write Access\n- aframevr/aframe-registry - Webhook + Write Access\n- aframevr/aframe-site - Webhook\n- aframevr/aframevr.github.io - Write Access\n- a-frobot/aframe - Fork\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupermedium%2Fa-frobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupermedium%2Fa-frobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupermedium%2Fa-frobot/lists"}