{"id":15677994,"url":"https://github.com/javierarce/figma-avatar","last_synced_at":"2025-05-07T01:48:28.340Z","repository":{"id":66561028,"uuid":"373194265","full_name":"javierarce/figma-avatar","owner":"javierarce","description":"Update your Twitter avatar and banner from the comfort of Figma.","archived":false,"fork":false,"pushed_at":"2021-06-03T09:21:08.000Z","size":13199,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T20:22:44.401Z","etag":null,"topics":["figma","figma-api","twitter","twitter-api","webhooks"],"latest_commit_sha":null,"homepage":"","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/javierarce.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":"2021-06-02T14:19:15.000Z","updated_at":"2023-10-19T01:08:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7b29119-bd71-460c-bfdd-453c44c8cd3d","html_url":"https://github.com/javierarce/figma-avatar","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"eb9bc056b6b56066a4185e5b26332df3b5a81c39"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javierarce%2Ffigma-avatar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javierarce%2Ffigma-avatar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javierarce%2Ffigma-avatar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javierarce%2Ffigma-avatar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javierarce","download_url":"https://codeload.github.com/javierarce/figma-avatar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242884319,"owners_count":20201107,"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":["figma","figma-api","twitter","twitter-api","webhooks"],"created_at":"2024-10-03T16:14:42.813Z","updated_at":"2025-03-10T16:31:28.767Z","avatar_url":"https://github.com/javierarce.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Figma Avatar\n\nUpdate your Twitter avatar and banner from the comfort of Figma.\n\n![](https://github.com/javierarce/figma-avatar/raw/main/avatar.gif)\n\n### How to use this project\n\n1. Rename `env_sample` to `.env` and add the following information:\n  - Your [Figma access token](https://www.figma.com/developers/api#access-tokens) and the ID of your Figma file.\n  - The Twitter app credentials.\n  - A passcode that you'll use to protect your app.\n2. Install the dependecies with `yarn install`\n3. Run the server with `yarn start`\n4. Create a POST webhook with the following information:\n- Your `FIGMA_TOKEN` and `PASSCODE` from the first step\n- Your `TEAM_ID`\n- Your `APP_ENDPOINT`\n- The `EVENT_TYPE` you want to use to trigger the avatar \u0026 banner change (for example: FILE_VERSION_UPDATE) \n\n  ```bash \n  curl -X POST -H 'X-FIGMA-TOKEN: [FIGMA_TOKEN]' -H \"Content-Type: application/json\" 'https://api.figma.com/v2/webhooks' -d '{\"event_type\":\"    [EVENT_TYPE]\",\"team_id\":\"[TEAM_ID]\",\"endpoint\":\"[APP_ENDPOINT]/ping\",\"passcode\":\"[PASSCODE]\"}'\n  ```\n\nAfter these steps and whenever you add changes to the version history of your Figma file, your avatar and banner will get [magically] updated. \n\n--- \n\n**Important**: this project uses the Figma [Webhooks v2 API](https://www.figma.com/developers/api#webhooks_v2) which is in beta and only available for paid teams.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavierarce%2Ffigma-avatar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavierarce%2Ffigma-avatar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavierarce%2Ffigma-avatar/lists"}