{"id":7526760,"name":"davoudarsalani/action-notify","ecosystem":"actions","description":"Notify by sending a Telegram message with Jalali date/time prepended","homepage":"","licenses":null,"normalized_licenses":[],"repository_url":"https://github.com/davoudarsalani/action-notify","keywords_array":["action","jalali","jcal","jdate","notification","notify","telegram","telegram-bot"],"namespace":"davoudarsalani","versions_count":0,"first_release_published_at":null,"latest_release_published_at":"2026-06-15T15:00:18.983Z","latest_release_number":null,"last_synced_at":"2026-07-17T22:23:21.533Z","created_at":"2023-04-08T00:55:39.068Z","updated_at":"2026-07-17T22:23:21.533Z","registry_url":"https://github.com/davoudarsalani/action-notify","install_command":null,"documentation_url":null,"metadata":{"name":"Notify","inputs":{"telegram_message":{"required":false,"default":"${{ github.event_name }}\n${{ github.repository_owner }}\n${{ github.repository }}\nCommit message: ${{ github.event.commits[0].message }}\n[${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})\n"},"telegram_photo":{"required":false},"telegram_document":{"required":false},"TELEGRAM_TOKEN":{"required":true},"TELEGRAM_TO":{"required":true}},"runs":{"using":"composite","steps":[{"name":"Setting jdate_source","shell":"bash","run":"echo \"jdate_source=docker-jdate\" \u003e\u003e $GITHUB_ENV"},{"name":"Pulling/cloning/downloading jdate","uses":"davoudarsalani/action-jdate@master","with":{"source":"${{ env.jdate_source }}"}},{"name":"Getting date/time","shell":"bash","run":"case '${{ env.jdate_source }}' in\n  docker-khayyam ) date_time=\"$(docker run --rm -t davoudarsalani/khayyam python -c \"import khayyam; print(khayyam.JalaliDatetime.now().strftime('%Y-%m-%d %H:%M:%S %A'))\")\" ;;\n  docker-persiantools ) date_time=\"$(docker run --rm -t davoudarsalani/persiantools python -c \"from persiantools.jdatetime import JalaliDateTime; print(JalaliDateTime.now().strftime('%Y-%m-%d %H:%M:%S %A'))\")\" ;;\n  docker-jdatetime ) date_time=\"$(docker run --rm -t davoudarsalani/jdatetime python -c \"import jdatetime; print(jdatetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S %A'))\")\" ;;\n  docker-jdate ) date_time=\"$(docker run --rm -t davoudarsalani/jdate jdate '+%Y-%m-%d %H:%M:%S %A')\" ;;\n  * ) date_time=\"$(jdate '+%Y-%m-%d %H:%M:%S %A')\" ;;\nesac\necho \"date_time=$date_time\" \u003e\u003e $GITHUB_ENV\n"},{"name":"Sending telegram message","shell":"bash","run":"wget -q 'https://raw.githubusercontent.com/davoudarsalani/scripts/master/telegram.sh'\nchmod +x ./telegram.sh\n\n## telegram is told, by -M flag, to process markdown messages\n## so let's make sure special characters like *, @ and _ are escaped\nmessage_text='${{ inputs.telegram_message }}'\nmessage_text=\"$(printf '%s\\n' \"$message_text\" | sed 's|\\([_@\\*]\\)|\\\\\\1|g' )\"\n\n./telegram.sh \\\n  -t '${{ inputs.TELEGRAM_TOKEN }}' \\\n  -c '${{ inputs.TELEGRAM_TO }}' \\\n  -T '${{ env.date_time }}' \\\n  -f '${{ inputs.telegram_document }}' \\\n  -i '${{ inputs.telegram_photo }}' \\\n  -M \\\n  \"$message_text\"\n"}]},"default_branch":"master","path":null},"repo_metadata":{"id":107906690,"uuid":"438218442","full_name":"davoudarsalani/action-notify","owner":"davoudarsalani","description":"Notify by sending a Telegram message with Jalali date/time prepended","archived":false,"fork":false,"pushed_at":"2022-01-13T07:25:57.000Z","size":20,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T19:17:58.994Z","etag":null,"topics":["action","jalali","jcal","jdate","notification","notify","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davoudarsalani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-14T10:57:18.000Z","updated_at":"2022-01-10T17:41:24.000Z","dependencies_parsed_at":"2023-03-19T01:33:49.663Z","dependency_job_id":null,"html_url":"https://github.com/davoudarsalani/action-notify","commit_stats":{"total_commits":61,"total_committers":2,"mean_commits":30.5,"dds":"0.016393442622950838","last_synced_commit":"fe0e7a2ac8ce9f26c28be095aff387bb6f62ad62"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davoudarsalani%2Faction-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davoudarsalani%2Faction-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davoudarsalani%2Faction-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davoudarsalani%2Faction-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davoudarsalani","download_url":"https://codeload.github.com/davoudarsalani/action-notify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301554,"owners_count":22047908,"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"},"owner_record":{"login":"davoudarsalani","name":"Davoud Arsalani","uuid":"50229325","kind":"user","description":"Arch Linux + AwesomeWM","email":"","website":"https://www.davoudarsalani.ir","location":"Iran","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/50229325?u=a21bd5763f0152921d47e60cccc82b0870f890cb\u0026v=4","repositories_count":2,"last_synced_at":"2023-03-04T18:34:41.239Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/davoudarsalani","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T22:39:08.952Z","updated_at":"2023-03-04T18:34:41.248Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davoudarsalani","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davoudarsalani/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-05-15T08:27:57.083Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.77895737601014,"dependent_packages_count":0.0,"stargazers_count":48.39486610679766,"forks_count":35.18301378545397,"docker_downloads_count":null,"average":27.089209317065443},"purl":"pkg:githubactions/davoudarsalani/action-notify","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/davoudarsalani/action-notify","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/davoudarsalani/action-notify","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/davoudarsalani/action-notify/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-03-21T16:23:33.150Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/davoudarsalani%2Faction-notify/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/davoudarsalani%2Faction-notify/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/davoudarsalani%2Faction-notify/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/davoudarsalani%2Faction-notify/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/davoudarsalani%2Faction-notify/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/davoudarsalani%2Faction-notify/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/davoudarsalani%2Faction-notify/codemeta","maintainers":[]}