{"id":13474715,"url":"https://github.com/peaceiris/actions-pixela","last_synced_at":"2025-03-26T22:31:09.301Z","repository":{"id":36291405,"uuid":"185308087","full_name":"peaceiris/actions-pixela","owner":"peaceiris","description":"GitHub Actions for Pixela (a-know/pi) - a-know/pi Setup Action. Linux (Ubuntu), macOS, and Windows are supported.","archived":true,"fork":false,"pushed_at":"2022-03-26T02:06:01.000Z","size":3400,"stargazers_count":11,"open_issues_count":9,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T09:14:44.352Z","etag":null,"topics":["actions","github-actions","pixela"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/peaceiris.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-05-07T02:44:20.000Z","updated_at":"2025-02-26T21:14:58.000Z","dependencies_parsed_at":"2023-01-05T05:02:17.227Z","dependency_job_id":null,"html_url":"https://github.com/peaceiris/actions-pixela","commit_stats":{"total_commits":390,"total_committers":3,"mean_commits":130.0,"dds":0.5794871794871794,"last_synced_commit":"cf587adb5d3c4f5840f315584a756769b65d7cd5"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peaceiris%2Factions-pixela","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peaceiris%2Factions-pixela/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peaceiris%2Factions-pixela/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peaceiris%2Factions-pixela/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peaceiris","download_url":"https://codeload.github.com/peaceiris/actions-pixela/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245747597,"owners_count":20665817,"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":["actions","github-actions","pixela"],"created_at":"2024-07-31T16:01:14.279Z","updated_at":"2025-03-26T22:31:08.896Z","avatar_url":"https://github.com/peaceiris.png","language":"TypeScript","funding_links":[],"categories":["Community Resources"],"sub_categories":["External Services"],"readme":"## GitHub Actions for Pixela (a-know/pi)\n\n\u003cimg width=\"400\" alt=\"GitHub Actions for Pixela\" src=\"./images/ogp.svg\"\u003e\n\n- [Pixela | Record and Track your habits or effort. All by API.](https://pixe.la/)\n- [a-know/pi: Official CLI tool for Pixela](https://github.com/a-know/pi)\n\nThis **Pixela Setup Action** can install **a-know/pi** to a virtual machine of GitHub Actions. Linux (Ubuntu), macOS, and Windows are supported.\n\n| OS (runs-on) | ubuntu-18.04 | macos-latest | windows-latest |\n|---|:---:|:---:|:---:|\n| Support | ✅️ | ✅️ | ✅️ |\n\n[![license](https://img.shields.io/github/license/peaceiris/actions-pixela.svg)](https://github.com/peaceiris/actions-pixela/blob/main/LICENSE)\n[![release](https://img.shields.io/github/release/peaceiris/actions-pixela.svg)](https://github.com/peaceiris/actions-pixela/releases/latest)\n[![GitHub release date](https://img.shields.io/github/release-date/peaceiris/actions-pixela.svg)](https://github.com/peaceiris/actions-pixela/releases)\n[![Test](https://github.com/peaceiris/actions-pixela/workflows/Test/badge.svg?branch=main\u0026event=push)](https://github.com/peaceiris/actions-pixela/actions?query=workflow%3ATest)\n[![CodeFactor](https://www.codefactor.io/repository/github/peaceiris/actions-pixela/badge)](https://www.codefactor.io/repository/github/peaceiris/actions-pixela)\n[![codecov](https://codecov.io/gh/peaceiris/actions-pixela/branch/main/graph/badge.svg)](https://codecov.io/gh/peaceiris/actions-pixela)\n[![Release Feed](https://img.shields.io/badge/release-feed-yellow)](https://github.com/peaceiris/actions-pixela/releases.atom)\n\n\n\n## Table of Contents\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n\n- [Getting started](#getting-started)\n  - [Add Pixela User Token](#add-pixela-user-token)\n  - [Example Workflow](#example-workflow)\n  - [Matrix build](#matrix-build)\n- [Example Graphs](#example-graphs)\n- [CHANGELOG](#changelog)\n- [License](#license)\n- [About Maintainer](#about-maintainer)\n- [Maintainer Notes](#maintainer-notes)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n\n\n## Getting started\n\n### Add Pixela User Token\n\n1. Go to Settings \u003e Secrets.\n2. Add your `PIXELA_USER_TOKEN` as a new secret.\n\n### Example Workflow\n\nWorkflow file: `.github/workflows/pixela.yml`\n\n```yaml\nname: pixela\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  increment:\n    runs-on: ubuntu-18.04\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup a-know/pi\n        uses: peaceiris/actions-pixela@v2\n        with:\n          pi_version: '1.2.0'\n\n      - name: Increment\n        env:\n          PIXELA_USER_TOKEN: ${{ secrets.PIXELA_USER_TOKEN }}\n        run: |\n          pi pixel increment -u \u003cusername\u003e -g \u003cgraph-id\u003e\n```\n\n### Matrix build\n\n```yaml\nname: 'Test'\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - 'ubuntu-18.04'\n          - 'macos-latest'\n          - 'windows-latest'\n        include:\n          - os: 'ubuntu-18.04'\n            graph_id: 'gha-pi-ci-linux'\n          - os: 'macos-latest'\n            graph_id: 'gha-pi-ci-macos'\n          - os: 'windows-latest'\n            graph_id: 'gha-pi-ci-win'\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup pi\n        uses: peaceiris/actions-pixela@v2\n        with:\n          pi_version: '1.2.0'\n\n      - name: Increment\n        env:\n          PIXELA_USER_TOKEN: ${{ secrets.PIXELA_USER_TOKEN }}\n        run: |\n          pi pixel increment -u \u003cusername\u003e -g '${{ matrix.graph_id }}'\n```\n\n\u003cdiv align=\"right\"\u003e\n\u003ca href=\"#table-of-contents\"\u003eBack to TOC ☝️\u003c/a\u003e\n\u003c/div\u003e\n\n\n\n## Example Graphs\n\n*CI Test on Linux Passed*\n\n[![GitHub Actions for Pixela CI Linux](https://pixe.la/v1/users/peaceiris/graphs/gha-pi-ci-linux)](https://pixe.la/v1/users/peaceiris/graphs/gha-pi-ci-linux.html)\n\n*CI Test on macOS Passed*\n\n[![GitHub Actions for Pixela CI macOS](https://pixe.la/v1/users/peaceiris/graphs/gha-pi-ci-macos)](https://pixe.la/v1/users/peaceiris/graphs/gha-pi-ci-macos.html)\n\n*CI Test on Windows Passed*\n\n[![GitHub Actions for Pixela CI Windows](https://pixe.la/v1/users/peaceiris/graphs/gha-pi-ci-win)](https://pixe.la/v1/users/peaceiris/graphs/gha-pi-ci-win.html)\n\n\u003cdiv align=\"right\"\u003e\n\u003ca href=\"#table-of-contents\"\u003eBack to TOC ☝️\u003c/a\u003e\n\u003c/div\u003e\n\n\n\n## CHANGELOG\n\n- [CHANGELOG.md](CHANGELOG.md)\n\n\n\n## License\n\n- [MIT License - peaceiris/actions-pixela]\n\n[MIT License - peaceiris/actions-pixela]: https://github.com/peaceiris/actions-pixela/blob/main/LICENSE\n\n\n\n## About Maintainer\n\n- [peaceiris homepage](https://peaceiris.com/)\n\n\n\n## Maintainer Notes\n\nRun `npm` and `git commit` commands on a container.\n\n**On Host**\n\n```sh\n# Docker\nmake build\nmake run\nmake run cmd=\"env\"\nmake test\nmake commit msg=\"chore: Add Makefile\"\n\n# Release\n./release.sh\n```\n\n\n\n\u003cdiv align=\"right\"\u003e\n\u003ca href=\"#table-of-contents\"\u003eBack to TOC ☝️\u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeaceiris%2Factions-pixela","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeaceiris%2Factions-pixela","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeaceiris%2Factions-pixela/lists"}