Skip to content

Conversation

@NaifAlsultan
Copy link

@NaifAlsultan NaifAlsultan commented Dec 27, 2025

I am submitting

  • a new package
  • an update for a package

Description:

naifs-islamic-research-toolkit allows users to render authentic Quranic text in Typst using the fonts from the King Fahad Complex for the Printing of the Holy Quran.

It supports:

  • Granular Control: Render specific Suras, ranges of Verses, or even specific ranges of Words within a verse.
  • Styling: Optional decorative Quranic brackets and automatic right-to-left enforcement.
  • Bilingual API: Fully usable with both English and Arabic function names.
  • Two Qira'at: Hafs and Warsh.

For more details, feel free to visit my GitHub repository.

I have read and followed the submission guidelines and, in particular, I

  • selected a name that isn't the most obvious or canonical name for what the package does
  • added a typst.toml file with all required keys
  • added a README.md with documentation for my package
  • have chosen a license and added a LICENSE file or linked one in my README.md
  • tested my package locally on my system and it worked
  • excluded PDFs or README images, if any, but not the LICENSE

@typst-package-check typst-package-check bot added the new A new package submission. label Dec 27, 2025
@NaifAlsultan
Copy link
Author

Regarding the two CI warnings:

  • hafs.json file is quite large (1MB).
  • warsh.json file is quite large (1MB).

Both of these JSON files are crucial for the package to function properly. They contain Quranic words mapped to the right font.

This PR is ready for review. Thanks!

@saecki saecki self-assigned this Jan 7, 2026
Copy link
Member

@saecki saecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this package! I've left a comment regarding the name.

@@ -0,0 +1,25 @@
[package]
name = "madinah-mushaf"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name seems a little too obvious. We try to avoid canonical names so multiple packages serving the same purpose can coexist without an unfair advantage. See: https://github.com/typst/packages/blob/main/docs/manifest.md#naming-rules

@NaifAlsultan NaifAlsultan changed the title madinah-mushaf:0.1.0 madinah-mushaf-cite:0.1.0 Jan 7, 2026
@NaifAlsultan
Copy link
Author

I changed the name from madinah-mushaf to madinah-mushaf-cite. Does that name comply with the rules?

@NaifAlsultan NaifAlsultan requested a review from saecki January 8, 2026 16:29
@saecki
Copy link
Member

saecki commented Jan 9, 2026

Please correct me if I'm wrong, but from my understanding the "madinah/medina mushaf" is a specific copy of the Quran right? That would make this a canonical name for what this package does, and adding -cite only specifies the function a bit more. Instead what the naming rules are trying to enforce, is that a package name is not a strict description of the function of a package, but also includes some non-descriptive (sometimes playful) parts. For example slitastic instead of slides, or modern-cv instead of just cv.

@NaifAlsultan NaifAlsultan changed the title madinah-mushaf-cite:0.1.0 naifs-islamic-research-toolkit:0.1.0 Jan 9, 2026
@NaifAlsultan
Copy link
Author

Alright, that should do it. I renamed it to naifs-islamic-research-toolkit (prefixed with my name).

Thanks for taking the time to review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new A new package submission.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants