Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/codecanvas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CodeCanvas Scanner

on:
pull_request:
types:
- opened
- synchronize
- reopened

permissions:
checks: write
contents: read
pull-requests: read

jobs:
check_files:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Dependencies
run: |
npm install @octokit/rest

- name: Fetch and run checkLogic.mjs
run: |
curl -O https://raw.githubusercontent.com/Abdulnaser97/CodeCanvasScanner/main/main/checkLogic.mjs
node checkLogic.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT_PATH: ${{ github.event_path }}
GITHUB_REPOSITORY: ${{ github.repository }}
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,13 @@ See more here: [#222](https://github.com/gdelataillade/alarm/issues/222)

## ⚙️ Under the hood

### How does `alarm` work?

Check out this interactive walkthrough of the `alarm` codebase on CodeCanvas [here](https://www.code-canvas.com/?session=unauthenticatedGithub&repo=alarm&owner=gdelataillade&branch=main).

<img width="1916" alt="image" src="https://github.com/user-attachments/assets/3f85c1c0-5348-4eed-bfa8-de8852925826" />


### Android
Leverages a foreground service with AlarmManager scheduling to ensure alarm reliability, even if the app is terminated. Utilizes AudioManager for robust alarm sound management.

Expand Down Expand Up @@ -249,4 +256,4 @@ Thank you for considering contributing to this plugin. Your help is greatly appr

❤️ Let me know if you like the plugin by liking it on [pub.dev](https://pub.dev/packages/alarm) and starring the repo on [Github](https://github.com/gdelataillade/alarm) 🙂

[![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/gdelataillade)
[![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/gdelataillade)
1,363 changes: 1,363 additions & 0 deletions alarm.CodeCanvas

Large diffs are not rendered by default.