Skip to content

feat(ayet-kosesi): use Daily Verse API - #662

Merged
ItsLemmy merged 2 commits into
noctalia-dev:mainfrom
alitura1:update-ayet-kosesi-1.4.0
Sep 7, 2026
Merged

feat(ayet-kosesi): use Daily Verse API#662
ItsLemmy merged 2 commits into
noctalia-dev:mainfrom
alitura1:update-ayet-kosesi-1.4.0

Conversation

@alitura1

@alitura1 alitura1 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Plugin

  • Id: alitura1/ayet-kosesi
  • New plugin
  • Update to an existing plugin (version bumped in plugin.toml)

What it does

Updates Ayet Köşesi to use Akıl Kuran's public Günün Ayeti API as the source of truth for the daily verse.

The plugin displays the current daily verse, its translation author, and an Akıl Kuran link. It supports selecting a public translation through ~/.config/ayet-kosesi/meal-id, with the existing helper and language-based fallback behavior.

External dependencies

  • curl — used to refresh the Akıl Kuran logo.
  • Optional ~/.local/bin/akilkuran-meal-id helper — used to resolve the user's selected public translation when no local meal-id is configured.

Testing

Tested the ayet desktop widget on Hyprland with Noctalia 5.0.1.

  • Tested on Niri
  • Tested on Hyprland
  • Tested on Sway
  • Tested on another compositor:
  • Noctalia version tested against: 5.0.1
  • Plugin API level: 24

Screenshots / Videos

Tested visually on Hyprland. The widget correctly displays the daily verse, translation author, and the Akıl Kuran link.

Checklist

  • The directory name matches the part of id after the / in plugin.toml exactly.
  • It ships plugin.toml, README.md, thumbnail.webp, and translations/en.json.
  • README.md follows the README template, documents every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
  • thumbnail.webp is present and relevant; for a new plugin I created it with the thumbnail generator, and for an update I regenerated it with the generator if the visual identity or user-facing appearance changed.
  • version follows semver and is bumped in this PR; plugin_api is the oldest API level this plugin requires.
  • Every non-English translation in this PR uses a locale supported by Noctalia core, and I can read, write, and understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
  • I did not edit catalog.toml; CI generates it.
  • This PR touches exactly one plugin directory.

Code review attestation

  • The code is readable and not obfuscated, minified, or generated.
  • It does not download and execute remote code.
  • Every network call, filesystem write, and spawned process is something the description above accounts for.
  • I have the right to publish this code under the license declared in plugin.toml.

@Noctalia-CI
Noctalia-CI marked this pull request as draft September 7, 2026 20:53
@Noctalia-CI

Noctalia-CI commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

This draft pull request is missing required parts of
the pull request template.

Missing:

  • the checklist entry: README.md follows the README template, documents every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
  • the checklist entry: thumbnail.webp is present and relevant; for a new plugin I created it with the thumbnail generator, and for an update I regenerated it with the generator if the visual identity or user-facing appearance changed.

Add the items above to the description, keeping their exact wording, then mark the pull
request ready for review. Draft pull requests may leave boxes unchecked. Before a pull
request is ready for review, exactly one plugin type, at least one tested compositor, and
every item under Checklist and Code review attestation must be checked.

Sections that only offer context may be deleted; nothing else about this pull request was
changed.

@alitura1
alitura1 marked this pull request as ready for review September 7, 2026 20:56
@Noctalia-CI

Noctalia-CI commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

The description now contains the required template structure.

@Noctalia-CI
Noctalia-CI marked this pull request as draft September 7, 2026 20:56
@alitura1
alitura1 marked this pull request as ready for review September 7, 2026 20:59
@ItsLemmy
ItsLemmy merged commit 82a800c into noctalia-dev:main Sep 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants