@ihsandeen/aya 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/CONTRIBUTING.md +39 -0
  2. package/LICENSE +21 -0
  3. package/README.md +141 -0
  4. package/dist/commands/adab.js +28 -0
  5. package/dist/commands/adhan.js +58 -0
  6. package/dist/commands/anatomy.js +29 -0
  7. package/dist/commands/blame.js +29 -0
  8. package/dist/commands/commit.js +44 -0
  9. package/dist/commands/diff.js +54 -0
  10. package/dist/commands/dua.js +34 -0
  11. package/dist/commands/fast.js +36 -0
  12. package/dist/commands/friday.js +21 -0
  13. package/dist/commands/hero.js +69 -0
  14. package/dist/commands/hijri.js +42 -0
  15. package/dist/commands/history.js +98 -0
  16. package/dist/commands/init.js +54 -0
  17. package/dist/commands/invest.js +26 -0
  18. package/dist/commands/journal.js +84 -0
  19. package/dist/commands/journey.js +24 -0
  20. package/dist/commands/lens.js +58 -0
  21. package/dist/commands/memorize.js +117 -0
  22. package/dist/commands/mirror.js +47 -0
  23. package/dist/commands/names.js +48 -0
  24. package/dist/commands/nature.js +28 -0
  25. package/dist/commands/nazm.js +100 -0
  26. package/dist/commands/parable.js +332 -0
  27. package/dist/commands/prayers.js +63 -0
  28. package/dist/commands/pull.js +28 -0
  29. package/dist/commands/push.js +156 -0
  30. package/dist/commands/qibla.js +118 -0
  31. package/dist/commands/repo.js +34 -0
  32. package/dist/commands/sabr.js +32 -0
  33. package/dist/commands/scene.js +54 -0
  34. package/dist/commands/seek.js +28 -0
  35. package/dist/commands/shukr.js +22 -0
  36. package/dist/commands/sleep.js +26 -0
  37. package/dist/commands/sound.js +35 -0
  38. package/dist/commands/status.js +109 -0
  39. package/dist/commands/sunnah.js +24 -0
  40. package/dist/commands/tafsir.js +89 -0
  41. package/dist/commands/tasbih.js +50 -0
  42. package/dist/commands/wudu.js +22 -0
  43. package/dist/commands/zakat.js +72 -0
  44. package/dist/data/commands-db.js +365 -0
  45. package/dist/data/events.js +105 -0
  46. package/dist/data/gems.js +160 -0
  47. package/dist/data/nak.js +616 -0
  48. package/dist/data/tafsir.js +157 -0
  49. package/dist/data/vocab.js +105 -0
  50. package/dist/index.js +86 -0
  51. package/dist/server.js +140 -0
  52. package/dist/utils/config.js +38 -0
  53. package/dist/utils/logger.js +104 -0
  54. package/dist/utils/printer.js +36 -0
  55. package/docs/index.html +1048 -0
  56. package/docs/repo.html +952 -0
  57. package/package.json +55 -0
  58. package/public/hero.html +285 -0
  59. package/public/index.html +1039 -0
  60. package/public/repo.html +904 -0
  61. package/src/commands/adab.ts +24 -0
  62. package/src/commands/adhan.ts +55 -0
  63. package/src/commands/anatomy.ts +25 -0
  64. package/src/commands/blame.ts +31 -0
  65. package/src/commands/commit.ts +42 -0
  66. package/src/commands/diff.ts +56 -0
  67. package/src/commands/dua.ts +34 -0
  68. package/src/commands/fast.ts +35 -0
  69. package/src/commands/friday.ts +17 -0
  70. package/src/commands/hero.ts +73 -0
  71. package/src/commands/hijri.ts +43 -0
  72. package/src/commands/history.ts +103 -0
  73. package/src/commands/init.ts +53 -0
  74. package/src/commands/invest.ts +22 -0
  75. package/src/commands/journal.ts +97 -0
  76. package/src/commands/journey.ts +20 -0
  77. package/src/commands/lens.ts +58 -0
  78. package/src/commands/memorize.ts +131 -0
  79. package/src/commands/mirror.ts +48 -0
  80. package/src/commands/names.ts +46 -0
  81. package/src/commands/nature.ts +24 -0
  82. package/src/commands/nazm.ts +102 -0
  83. package/src/commands/parable.ts +360 -0
  84. package/src/commands/prayers.ts +65 -0
  85. package/src/commands/pull.ts +28 -0
  86. package/src/commands/push.ts +171 -0
  87. package/src/commands/qibla.ts +127 -0
  88. package/src/commands/repo.ts +34 -0
  89. package/src/commands/sabr.ts +28 -0
  90. package/src/commands/scene.ts +56 -0
  91. package/src/commands/seek.ts +24 -0
  92. package/src/commands/shukr.ts +19 -0
  93. package/src/commands/sleep.ts +23 -0
  94. package/src/commands/sound.ts +34 -0
  95. package/src/commands/status.ts +132 -0
  96. package/src/commands/sunnah.ts +21 -0
  97. package/src/commands/tafsir.ts +86 -0
  98. package/src/commands/tasbih.ts +49 -0
  99. package/src/commands/wudu.ts +19 -0
  100. package/src/commands/zakat.ts +73 -0
  101. package/src/data/commands-db.ts +372 -0
  102. package/src/data/events.ts +113 -0
  103. package/src/data/gems.ts +163 -0
  104. package/src/data/nak.ts +805 -0
  105. package/src/data/tafsir.ts +165 -0
  106. package/src/data/vocab.ts +114 -0
  107. package/src/index.ts +94 -0
  108. package/src/server.ts +128 -0
  109. package/src/utils/config.ts +44 -0
  110. package/src/utils/logger.ts +122 -0
  111. package/src/utils/printer.ts +38 -0
  112. package/tsconfig.json +16 -0
@@ -0,0 +1,160 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.gems = void 0;
4
+ exports.gems = [
5
+ {
6
+ text: "So verily, with the hardship, there is relief.",
7
+ source: "Surah Al-Sharh (94:5-6)",
8
+ reflection: "Notice the grammar: 'Al-Usr' (the hardship) is definite—it's known, specific, and singular. 'Yusr' (relief) is indefinite. This means for every one hardship you face, there are multiple, infinite reliefs coming from Allah. The hardship is limited; the relief is unlimited."
9
+ },
10
+ {
11
+ text: "And He found you lost and guided [you].",
12
+ source: "Surah Ad-Duhaa (93:7)",
13
+ reflection: "The word 'daallan' doesn't just mean lost; it implies being overwhelmed, confused, or desperately seeking a way out. Even when you feel intellectually lost in your code or life, He finds you. You don't find Him; He finds you."
14
+ },
15
+ {
16
+ text: "Call upon Me; I will respond to you.",
17
+ source: "Surah Ghafir (40:60)",
18
+ reflection: "Allah uses 'Astajib' (I will respond) immediately. He didn't say 'I might' or 'eventually'. The response is guaranteed. The moment the du'a leaves your heart, the answer is already in motion."
19
+ },
20
+ {
21
+ text: "And We have certainly created man into hardship.",
22
+ source: "Surah Al-Balad (90:4)",
23
+ reflection: "'Kabad' means intense struggle. Life isn't supposed to be easy. If your code is breaking, if the project is failing—this is the nature of 'Kabad'. But remember, you were created *for* this struggle, which means you are equipped to handle it."
24
+ },
25
+ {
26
+ text: "Read! In the Name of your Lord, Who has created.",
27
+ source: "Surah Al-Alaq (96:1)",
28
+ reflection: "The first command was 'Iqra' (Read/Recite). Knowledge is the first step to connection. Before you code, read. Before you execute, understand. Connect your learning to 'Rabbik' (your Lord) to give it purpose."
29
+ },
30
+ {
31
+ text: "And speak to people good [words].",
32
+ source: "Surah Al-Baqarah (2:83)",
33
+ reflection: "Not just 'truthful' words, but 'husna'—beautiful, best, kindest words. Even in code reviews. Even in error messages. Your words should bring 'husn' (beauty) to the world."
34
+ },
35
+ {
36
+ text: "Allah does not burden a soul beyond that it can bear.",
37
+ source: "Surah Al-Baqarah (2:286)",
38
+ reflection: "The word 'wus'aha' implies capacity. If you are facing a bug that seems impossible, know that the solution is within your capacity. Allah wouldn't have put this problem in front of you if you didn't have the 'RAM' to handle it."
39
+ },
40
+ {
41
+ text: "And your Lord is going to give you, and you will be satisfied.",
42
+ source: "Surah Ad-Duhaa (93:5)",
43
+ reflection: "Not just 'happy', but 'satisfied' (Raadiya). Happiness is temporary; satisfaction is a state of being. Allah promises a future where you will look back at your struggles and say 'It was worth it.'"
44
+ },
45
+ {
46
+ text: "Indeed, my Lord is near and responsive.",
47
+ source: "Surah Hud (11:61)",
48
+ reflection: "'Qareeb' (Near) and 'Mujeeb' (Responsive). Sometimes we feel He is far, but He is closer than our own thoughts. And He doesn't just hear; He responds. The answer is already being compiled."
49
+ },
50
+ {
51
+ text: "So flee to Allah.",
52
+ source: "Surah Ad-Dhariyat (51:50)",
53
+ reflection: "Usually when you fear something, you run away from it. But when you fear Allah, you run *to* Him. He is the only refuge from His own decree. When the dunya chases you, run to the Creator of the dunya."
54
+ },
55
+ {
56
+ text: "And He is with you wherever you are.",
57
+ source: "Surah Al-Hadid (57:4)",
58
+ reflection: "This is 'Ma'iyyah' (Company). You are never coding alone. You are never debugging alone. In the silence of the night, He is the third of the two."
59
+ },
60
+ {
61
+ text: "My mercy encompasses all things.",
62
+ source: "Surah Al-A'raf (7:156)",
63
+ reflection: "Don't let your sins or failures define you. His mercy is bigger than your mistakes. It covers everything—including you."
64
+ },
65
+ {
66
+ text: "And seek help through patience and prayer.",
67
+ source: "Surah Al-Baqarah (2:45)",
68
+ reflection: "Sabr (patience) isn't just waiting; it's active endurance. Salah (prayer) is your connection. Combine grit with spiritual fuel to overcome any bug."
69
+ },
70
+ {
71
+ text: "Indeed, with hardship [will be] ease.",
72
+ source: "Surah Ash-Sharh (94:6)",
73
+ reflection: "Repeated for emphasis. The ease is *with* the hardship, not just after it. Look for the ease in the middle of the struggle."
74
+ },
75
+ {
76
+ text: "And He provides for him from where he does not expect.",
77
+ source: "Surah At-Talaq (65:3)",
78
+ reflection: "Rizq (provision) isn't just money. It's ideas, solutions, peace of mind. Sometimes the fix comes from a direction you never looked at."
79
+ },
80
+ {
81
+ text: "Allah is the Light of the heavens and the earth.",
82
+ source: "Surah An-Nur (24:35)",
83
+ reflection: "When your code is dark and confusing, ask for His Light (Nur). He illuminates the path when logic fails."
84
+ },
85
+ {
86
+ text: "So remember Me; I will remember you.",
87
+ source: "Surah Al-Baqarah (2:152)",
88
+ reflection: "The King of Kings remembers you personally when you mention Him. What greater honor is there? A mention in the highest assembly."
89
+ },
90
+ {
91
+ text: "And do not be like those who forgot Allah, so He made them forget themselves.",
92
+ source: "Surah Al-Hashr (59:19)",
93
+ reflection: "Forgetting God leads to an identity crisis. You lose your purpose, your 'fitrah'. Connection to Him is connection to your true self."
94
+ },
95
+ {
96
+ text: "Indeed, the prayer prohibits immorality and wrongdoing.",
97
+ source: "Surah Al-Ankabut (29:45)",
98
+ reflection: "Salah is a shield. If you find yourself slipping into bad habits, check your Salah. Is it a ritual or a relationship?"
99
+ },
100
+ {
101
+ text: "And whoever fears Allah - He will make for him a way out.",
102
+ source: "Surah At-Talaq (65:2)",
103
+ reflection: "Taqwa (God-consciousness) is the key to the exit door. When you feel trapped in a loop, Taqwa is the break statement."
104
+ },
105
+ {
106
+ text: "Perhaps you hate a thing and it is good for you.",
107
+ source: "Surah Al-Baqarah (2:216)",
108
+ reflection: "That rejection, that error, that failed deployment—maybe it saved you from a bigger disaster. Trust the Planner."
109
+ },
110
+ {
111
+ text: "And never say of anything, 'Indeed, I will do that tomorrow,' except [when adding], 'If Allah wills.'",
112
+ source: "Surah Al-Kahf (18:23-24)",
113
+ reflection: "InshaAllah isn't just a phrase; it's a mindset. It acknowledges that your plans are subject to a higher will. Plan, but rely on Him."
114
+ },
115
+ {
116
+ text: "He knows what is in every heart.",
117
+ source: "Surah Al-Mulk (67:13)",
118
+ reflection: "He knows the anxiety you hide, the impostor syndrome you feel. You don't have to voice it for Him to heal it."
119
+ },
120
+ {
121
+ text: "And We have certainly made the Qur'an easy for remembrance, so is there any who will remember?",
122
+ source: "Surah Al-Qamar (54:17)",
123
+ reflection: "The Quran isn't just for scholars. It's 'Yassarna' (made easy) for *you*. Open it. Read one Ayah. It will open itself to you."
124
+ },
125
+ {
126
+ text: "Every soul will taste death.",
127
+ source: "Surah Ali 'Imran (3:185)",
128
+ reflection: "A stark reminder. Your code will outlive you. Your commits will remain. What legacy are you leaving in your repository of life?"
129
+ },
130
+ {
131
+ text: "And do good; indeed, Allah loves the doers of good.",
132
+ source: "Surah Al-Baqarah (2:195)",
133
+ reflection: "Ihsan (Excellence). Write clean code. Help your juniors. Be kind in your comments. Allah loves those who go the extra mile."
134
+ },
135
+ {
136
+ text: "The believers are but brothers.",
137
+ source: "Surah Al-Hujurat (49:10)",
138
+ reflection: "The Ummah is a single body. When a developer in the East hurts, the developer in the West feels it. Support your community."
139
+ },
140
+ {
141
+ text: "O you who have believed, seek help through patience and prayer.",
142
+ source: "Surah Al-Baqarah (2:153)",
143
+ reflection: "When the server crashes, pause. Breathe (Sabr). Pray (Salah). Then debug. The spiritual reboot often fixes the mental crash."
144
+ },
145
+ {
146
+ text: "And hold firmly to the rope of Allah all together and do not become divided.",
147
+ source: "Surah Ali 'Imran (3:103)",
148
+ reflection: "Unity. The rope is the Quran. If we all hold onto the same source code, we won't have merge conflicts in our hearts."
149
+ },
150
+ {
151
+ text: "Indeed, good deeds do away with misdeeds.",
152
+ source: "Surah Hud (11:114)",
153
+ reflection: "Made a mistake? Follow it up with a good deed. It wipes the slate clean. Like a `git revert` for your soul."
154
+ },
155
+ {
156
+ text: "Our Lord, pour upon us patience and plant firmly our feet.",
157
+ source: "Surah Al-Baqarah (2:250)",
158
+ reflection: "A du'a for stability. When the ground is shaking (tight deadlines, unstable builds), ask for 'Sabr' to be poured on you like cooling rain."
159
+ }
160
+ ];