{"id":13715960,"url":"https://github.com/p0fi/gitlab-stats-for-scribtable","last_synced_at":"2025-05-07T05:31:52.506Z","repository":{"id":133005338,"uuid":"303186767","full_name":"p0fi/gitlab-stats-for-scribtable","owner":"p0fi","description":"Simple GitLab status widget for Scriptable","archived":true,"fork":false,"pushed_at":"2020-11-07T16:02:52.000Z","size":228,"stargazers_count":49,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-14T04:34:33.960Z","etag":null,"topics":["scriptable","widget"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/p0fi.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}},"created_at":"2020-10-11T18:30:33.000Z","updated_at":"2024-09-22T21:47:32.000Z","dependencies_parsed_at":"2024-01-03T07:22:28.144Z","dependency_job_id":"3166c534-a96c-447b-941e-af4dbf7e8e61","html_url":"https://github.com/p0fi/gitlab-stats-for-scribtable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p0fi%2Fgitlab-stats-for-scribtable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p0fi%2Fgitlab-stats-for-scribtable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p0fi%2Fgitlab-stats-for-scribtable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p0fi%2Fgitlab-stats-for-scribtable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p0fi","download_url":"https://codeload.github.com/p0fi/gitlab-stats-for-scribtable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823034,"owners_count":21809700,"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":["scriptable","widget"],"created_at":"2024-08-03T00:01:05.511Z","updated_at":"2025-05-07T05:31:47.494Z","avatar_url":"https://github.com/p0fi.png","language":"JavaScript","readme":"# GitLab Stats for Scriptable\n\n![cover](https://github.com/p0fi/gitlab-stats-for-scribtable/blob/main/cover.png)\n\nNote: This script requires at least [Scriptable](https://scriptable.app/) version 1.6!\n\n## What's this?\n\nThis is a simple GitLab status widget for [Scriptable](https://scriptable.app/) by [@simonbs](https://twitter.com/simonbs). You can quickly see: \n\n* Number of issues assinged to you\n* Number of merge requests assigned to you\n* Number of todos for your account\n* Number of contributions you made today\n\n## Features\n### Dark Mode Support\nSupports different color configurations for light ☀️ and dark 🕶️ mode \n\n### Tap Targets\nA tap on one of the items direclty\\* opens GitLab at the corrosponding location 🚀\n\n\\**Caveat: The standard limitation with iOS 14 applies here: any URLs opened through a widget will require its host app to launch first before the URL can be opened.*\n\n\\**Caveat 2: Tap targets in widgets are only supported for medium and large widgets. **Small widgets can currently not have tap targets**.*\n\n### Customizable\nThe widget can easily be adopted to any homescreen design with simple color configuration options. \n\n![customizable](https://github.com/p0fi/gitlab-stats-for-scribtable/blob/main/custom.png)\n\n## Instructions\n\n1. Download and extract `gitlab-stats.js` into the Scriptable folder located in your iCloud Drive.\n2. Launch Scriptable and make sure that `gitlab-stats` is listed in the scripts view.\n3. Configure your gitlab connection information\n4. If you like, configure your color settings in the `colorConfig()` function to match the widget to your homescreen 🎨\n5. Once everything is configured, run the script and verify that everything is working correctly.\n6. Go back to your home screen and add a **medium** or **small** Scriptable widget.\n7. Edit the Scriptable widget and choose `gitlab-stats` as the script. Next, set \"When Interacting\" to \"Run Script\" and you should be all set and ready to go. If you use a small size widget configure it to open a website when interacting and configure your GitLab URL there. \n\n## Known Issues\n* Right now the widget only supports the medium and small widget size. A Large sized version may follow in the future\n\n## About this project\n\nThe script is authored by [@thartwi](https://twitter.com/thartwi) (me) on an ongoing quest to create productive homescreen pages. Since GitLab still offers no native app which could provide such features Scriptable is here to fill the gap! \n\n## Thanks 🙏\n\nThanks to [@andyngo](https://twitter.com/andyngo) for some code to load the images from your iCloud Drive folder and the project template!\\\nThanks to [@simonbs](https://twitter.com/simonbs) for making an awesome app!\\\nThanks to [@gitlab](https://twitter.com/gitlab) for a nice API and the nice icons 🙂\n","funding_links":[],"categories":["JavaScript","Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp0fi%2Fgitlab-stats-for-scribtable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp0fi%2Fgitlab-stats-for-scribtable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp0fi%2Fgitlab-stats-for-scribtable/lists"}