@indra.ai/deva.veda 0.0.33 → 0.0.34

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 (83) hide show
  1. package/{LICENSE → LICENSE.md} +1 -1
  2. package/README.md +74 -4
  3. package/data/atharvaveda/index.js +4 -0
  4. package/data/atharvaveda/index.json +105 -83
  5. package/data/menu.json +38 -0
  6. package/data/rigveda/01.json +1038 -878
  7. package/data/rigveda/02.json +240 -213
  8. package/data/rigveda/03.json +327 -274
  9. package/data/rigveda/04.json +319 -277
  10. package/data/rigveda/05.json +486 -444
  11. package/data/rigveda/06.json +406 -349
  12. package/data/rigveda/07.json +582 -527
  13. package/data/rigveda/08.json +555 -480
  14. package/data/rigveda/09.json +690 -581
  15. package/data/rigveda/10.json +1021 -851
  16. package/data/rigveda/books/01.json +1729 -0
  17. package/data/rigveda/books/02.json +397 -0
  18. package/data/rigveda/books/03.json +568 -0
  19. package/data/rigveda/books/04.json +532 -0
  20. package/data/rigveda/books/05.json +793 -0
  21. package/data/rigveda/books/06.json +685 -0
  22. package/data/rigveda/books/07.json +946 -0
  23. package/data/rigveda/books/08.json +937 -0
  24. package/data/rigveda/books/09.json +1036 -0
  25. package/data/rigveda/books/10.json +1729 -0
  26. package/data/rigveda/index.js +61 -26
  27. package/data/rigveda/index.json +47 -35
  28. package/data/samaveda/books/01.json +130 -0
  29. package/data/samaveda/books/02.json +130 -0
  30. package/data/samaveda/books/03.json +118 -0
  31. package/data/samaveda/books/04.json +130 -0
  32. package/data/samaveda/books/05.json +130 -0
  33. package/data/samaveda/books/06.json +118 -0
  34. package/data/samaveda/books/07.json +538 -0
  35. package/data/samaveda/books/08.json +466 -0
  36. package/data/samaveda/books/09.json +550 -0
  37. package/data/samaveda/books/10.json +466 -0
  38. package/data/samaveda/books/11.json +526 -0
  39. package/data/samaveda/books/12.json +598 -0
  40. package/data/samaveda/books/13.json +598 -0
  41. package/data/samaveda/books/14.json +610 -0
  42. package/data/samaveda/books/15.json +478 -0
  43. package/data/samaveda/index.js +140 -0
  44. package/data/samaveda/index.json +146 -0
  45. package/func/index.js +247 -0
  46. package/help/main.feecting +23 -5
  47. package/index.js +5 -300
  48. package/methods/index.js +199 -0
  49. package/package.json +9 -25
  50. package/data/rigveda/links.json +0 -19
  51. /package/data/atharvaveda/{json → books}/01.json +0 -0
  52. /package/data/atharvaveda/{json → books}/02.json +0 -0
  53. /package/data/atharvaveda/{json → books}/03.json +0 -0
  54. /package/data/atharvaveda/{json → books}/04.json +0 -0
  55. /package/data/atharvaveda/{json → books}/05.json +0 -0
  56. /package/data/atharvaveda/{json → books}/06.json +0 -0
  57. /package/data/atharvaveda/{json → books}/07.json +0 -0
  58. /package/data/atharvaveda/{json → books}/08.json +0 -0
  59. /package/data/atharvaveda/{json → books}/09.json +0 -0
  60. /package/data/atharvaveda/{json → books}/10.json +0 -0
  61. /package/data/atharvaveda/{json → books}/11.json +0 -0
  62. /package/data/atharvaveda/{json → books}/12.json +0 -0
  63. /package/data/atharvaveda/{json → books}/13.json +0 -0
  64. /package/data/atharvaveda/{json → books}/14.json +0 -0
  65. /package/data/atharvaveda/{json → books}/15.json +0 -0
  66. /package/data/atharvaveda/{json → books}/16.json +0 -0
  67. /package/data/atharvaveda/{json → books}/17.json +0 -0
  68. /package/data/atharvaveda/{json → books}/18.json +0 -0
  69. /package/data/atharvaveda/{json → books}/19.json +0 -0
  70. /package/data/atharvaveda/{json → books}/20.json +0 -0
  71. /package/data/{laws/manu → manu}/01.json +0 -0
  72. /package/data/{laws/manu → manu}/02.json +0 -0
  73. /package/data/{laws/manu → manu}/03.json +0 -0
  74. /package/data/{laws/manu → manu}/04.json +0 -0
  75. /package/data/{laws/manu → manu}/05.json +0 -0
  76. /package/data/{laws/manu → manu}/06.json +0 -0
  77. /package/data/{laws/manu → manu}/07.json +0 -0
  78. /package/data/{laws/manu → manu}/08.json +0 -0
  79. /package/data/{laws/manu → manu}/09.json +0 -0
  80. /package/data/{laws/manu → manu}/10.json +0 -0
  81. /package/data/{laws/manu → manu}/11.json +0 -0
  82. /package/data/{laws/manu → manu}/12.json +0 -0
  83. /package/data/{laws → manu}/index.js +0 -0
@@ -0,0 +1,478 @@
1
+ {
2
+ "id": 6700751961261,
3
+ "key": 15,
4
+ "title": "PART SECOND BOOK IX",
5
+ "book": "BOOK IX",
6
+ "created": 1747959272714,
7
+ "data": [
8
+ {
9
+ "id": 7227691437102,
10
+ "key": 415,
11
+ "part": "PART SECOND",
12
+ "book": "BOOK IX",
13
+ "chapter": "CHAPTER I",
14
+ "title": "I Soma Pavamana",
15
+ "content": "p:Forward have flowed the streams of power, of this the mighty one effused, Of him who waits upon the Gods.\np:The singers praise him with their song, and learned priests adorn the steed Born as thelight that merits laud.\np:These things thou winnest quickly, while men cleanse thee, Soma, nobly rich!",
16
+ "file": "data/html/samaveda/index.htm",
17
+ "created": 1747959272715,
18
+ "hash": "md5-fTwIXJK6KxxZXPOhfe7kbg=="
19
+ },
20
+ {
21
+ "id": 3173754724740,
22
+ "key": 416,
23
+ "part": "PART SECOND",
24
+ "book": "BOOK IX",
25
+ "chapter": "CHAPTER I",
26
+ "title": "II Indra",
27
+ "content": "p:This Brahman, comer at the due time, named Indra, is renowned and praised.\np:To thee alone, O Lord of Strength, go, as it were, all songs of praise.\np:Like streams of water on their way, let bounties, Indra, flow from thee!",
28
+ "file": "data/html/samaveda/index.htm",
29
+ "created": 1747959272715,
30
+ "hash": "md5-p5Pf4JsQ2Mp52ZEyN/eCxQ=="
31
+ },
32
+ {
33
+ "id": 3443808517531,
34
+ "key": 417,
35
+ "part": "PART SECOND",
36
+ "book": "BOOK IX",
37
+ "chapter": "CHAPTER I",
38
+ "title": "III Indra",
39
+ "content": "p:Even as a car to give us aid, we draw thee nigh to favour us, Strong in thy deeds, quelling attack, Indra, Lord, mightiest! of the brave.\np:Great in thou power and wisdom, strong, with thought that comprehendeth all! Wide hast thou spread in majesty.\np:Thou very mighty one, whose hands by virtue of thy greatness wield The golden bolt that beaks its way!",
40
+ "file": "data/html/samaveda/index.htm",
41
+ "created": 1747959272715,
42
+ "hash": "md5-ZeDhvCuf7Sa/Mc+k1L3bxA=="
43
+ },
44
+ {
45
+ "id": 4718638927362,
46
+ "key": 418,
47
+ "part": "PART SECOND",
48
+ "book": "BOOK IX",
49
+ "chapter": "CHAPTER I",
50
+ "title": "IV Agni",
51
+ "content": "p:He who hath lighted up the joyous castle, wise courser like the steed of cloudy heaven, Bright like the Sun with hundredfold existence\np:He, doubly born, hath spread in his effulgence through the three luminous realms, through all the regions, Best sacrificing Priest where waters gather.\np:Priest doubly born, he through his love of glory hath in his keeping all things worth the choosing. The man who brings him gifts hath noble offspring.",
52
+ "file": "data/html/samaveda/index.htm",
53
+ "created": 1747959272715,
54
+ "hash": "md5-UrneOB6Ap3qyN3PhLFnXuQ=="
55
+ },
56
+ {
57
+ "id": 5008298577188,
58
+ "key": 419,
59
+ "part": "PART SECOND",
60
+ "book": "BOOK IX",
61
+ "chapter": "CHAPTER I",
62
+ "title": "V Agni",
63
+ "content": "p:Agni, with hymns may we now accomplish that which thou lovest, Strength, like a horse auspicious, with service!\np:For, Agni, thou art now the promoter of strength auspicious, Lofty sacrifice, power effective.\np:Through these our praises, come thou to meet us, bright as the sunlight, Agni, kindly with all thy faces!",
64
+ "file": "data/html/samaveda/index.htm",
65
+ "created": 1747959272715,
66
+ "hash": "md5-qaODud9K9ULES5Myyukg/g=="
67
+ },
68
+ {
69
+ "id": 4247575450184,
70
+ "key": 420,
71
+ "part": "PART SECOND",
72
+ "book": "BOOK IX",
73
+ "chapter": "CHAPTER I",
74
+ "title": "VI Agni",
75
+ "content": "p:Immortal Jatavedas, thou bright-hued refulgent gift of Dawn. Agni, this day to him who pays oblations bring the Gods who waken with the morn!\np:For thou art offering-bearer, well-loved messenger, and charioteer of holy rites. Accordant with the Asvins and with Dawn grant us heroic strength and lofty fame!",
76
+ "file": "data/html/samaveda/index.htm",
77
+ "created": 1747959272715,
78
+ "hash": "md5-NDhRREvsSw9w3YP0V1sT3Q=="
79
+ },
80
+ {
81
+ "id": 2930767098433,
82
+ "key": 421,
83
+ "part": "PART SECOND",
84
+ "book": "BOOK IX",
85
+ "chapter": "CHAPTER I",
86
+ "title": "VII Indra",
87
+ "content": "p:The old hath waked the young Moon from his slumber who runs his circling course with many round him Behold the God's high wisdom in its greatness: he who died yesterday to-day is living.\np:Strong is the red Bird in his strength, great hero, who from of old bath had no nest to dwell in. That which he knows is truth and never idle: he wins and gives the wealth desired of many.\np:Through these Thunderer gained strong manly vigour, through whom he waxed in stren gth to slaughter Vritra; These who through might of actual operation sprang forth as Gods in course of Law and Order.",
88
+ "file": "data/html/samaveda/index.htm",
89
+ "created": 1747959272715,
90
+ "hash": "md5-2j2R6ZzveJeO2rhLXoaHUw=="
91
+ },
92
+ {
93
+ "id": 3720950226233,
94
+ "key": 422,
95
+ "part": "PART SECOND",
96
+ "book": "BOOK IX",
97
+ "chapter": "CHAPTER I",
98
+ "title": "VIII Maruts",
99
+ "content": "p:Here is the Soma ready pressed: of this the Maruts, yea, of this Self-luminous, the Asvins, drink.\np:Of this, moreover, purified, set in three places, procreant, Drink Varuna, Mitra, Aryaman.\np:Yea, Indra, like the Hotar-priest, will in the early morning drink, At pleasure, of the milky juice:",
100
+ "file": "data/html/samaveda/index.htm",
101
+ "created": 1747959272715,
102
+ "hash": "md5-UExD4zf0O5QMpDDjN50iLw=="
103
+ },
104
+ {
105
+ "id": 7015969543035,
106
+ "key": 423,
107
+ "part": "PART SECOND",
108
+ "book": "BOOK IX",
109
+ "chapter": "CHAPTER I",
110
+ "title": "IX Surya",
111
+ "content": "p:Verily, Surya, thou art great; truly, Aditya, thou art great. O most admired for greatness of thy majesty, God, by thy greatn.ess thou art great.\np:Yea, Surya, thou art great in fame: thou evermore, O God, art great. Thou by thy greatness art the Gods' High-Priest, divine, farspread unconquerable light.",
112
+ "file": "data/html/samaveda/index.htm",
113
+ "created": 1747959272715,
114
+ "hash": "md5-TnZ0NDSqmalA6xDF8J9zQQ=="
115
+ },
116
+ {
117
+ "id": 5618687284289,
118
+ "key": 424,
119
+ "part": "PART SECOND",
120
+ "book": "BOOK IX",
121
+ "chapter": "CHAPTER I",
122
+ "title": "X Indra",
123
+ "content": "p:Come, Lord of rapturous joys, to our libations with thy bay steeds, come With bay steeds to our flowing juice!\np:Known as best Vritra-slayer erst, as Indra $atakratu, come With bay steeds to our flowing juice!\np:For, Vritra-slayer, thou art he who drinks these drops of Soma come With bay steeds to our flowing juice!",
124
+ "file": "data/html/samaveda/index.htm",
125
+ "created": 1747959272715,
126
+ "hash": "md5-LhPpZNjtHkvB75DbD/Aw8A=="
127
+ },
128
+ {
129
+ "id": 4728296470655,
130
+ "key": 425,
131
+ "part": "PART SECOND",
132
+ "book": "BOOK IX",
133
+ "chapter": "CHAPTER I",
134
+ "title": "XI Indra",
135
+ "content": "p:Bring to the wise, the great, who waxeth mighty your offerings and make ready your devotion. Go forth to many tribes as man's controller!\np:For Indra the sublime, the far-pervading, have singers generateo prayer and praises; The sages never violate his statutes.\np:The choirs have established Indra King for ever for victory him, whose anger is resistless: And for the bays' Lord strengthened those he loveth.",
136
+ "file": "data/html/samaveda/index.htm",
137
+ "created": 1747959272715,
138
+ "hash": "md5-0rRuqjTzGibgbGfYeBnzJw=="
139
+ },
140
+ {
141
+ "id": 1240081982218,
142
+ "key": 426,
143
+ "part": "PART SECOND",
144
+ "book": "BOOK IX",
145
+ "chapter": "CHAPTER I",
146
+ "title": "XII Indra",
147
+ "content": "p:If I, O Indra, were the lord of riches ample as thine own, I would support the singer, God who scatterest wealth! and, not abandon him to woe.\np:Each day would I enrich the man who sang my praise, in whatsoever place he were. No kinship is there better, Maghavan, than thine: a father even, is no more.",
148
+ "file": "data/html/samaveda/index.htm",
149
+ "created": 1747959272716,
150
+ "hash": "md5-5Sh55uxqPhAcF5GpgJreig=="
151
+ },
152
+ {
153
+ "id": 5487177193962,
154
+ "key": 427,
155
+ "part": "PART SECOND",
156
+ "book": "BOOK IX",
157
+ "chapter": "CHAPTER I",
158
+ "title": "XIII Indra",
159
+ "content": "p:Here thou the call of the juice-drinking press-stone: mark thou the sage's hymn who sings and lauds thee! Take to thine inmost self these adorations!\np:I know and ne'er forget the hymns and praises of thee, theconqueror, of thy power immortal. Thy name I ever utter, self-refulgent!\np:Among mankind many are thy libations, and many a time the pious sage invokes thee. O Maghavan, be not long distant from us!",
160
+ "file": "data/html/samaveda/index.htm",
161
+ "created": 1747959272716,
162
+ "hash": "md5-6qszfINfbOJ34QCPdQ6wPg=="
163
+ },
164
+ {
165
+ "id": 1797260277824,
166
+ "key": 428,
167
+ "part": "PART SECOND",
168
+ "book": "BOOK IX",
169
+ "chapter": "CHAPTER I",
170
+ "title": "XIV Indra",
171
+ "content": "p:Sing strength to Indra that shall. set his chariot in the foremost place! Giver of room in closest fight, slayer of foes in shock of war, be thou our great encorager! Let the weak bowstrings break upon the bows of our weak mies!\np:Thou didst destroy the Dragon: thou sentest the rivers down to Earth. Foeless, O Indra, wast thou born. Thou tendest well each choicest thing. Therefore we draw us close to thee. Let the weak bowstrings break upon the bows of our weak enemies! Destroyed be all malignitics and all our enemy's designs!\np:Thy bolt thou castest at the foe, O Indra, who would smite us dead: thy liberal bounty gives us wealth. Let the weak bowstrings break upon the bows of our weak enemies!",
172
+ "file": "data/html/samaveda/index.htm",
173
+ "created": 1747959272716,
174
+ "hash": "md5-dkMmGynOJ6dKbxMKDEL97A=="
175
+ },
176
+ {
177
+ "id": 5244736470999,
178
+ "key": 429,
179
+ "part": "PART SECOND",
180
+ "book": "BOOK IX",
181
+ "chapter": "CHAPTER I",
182
+ "title": "XV Indra",
183
+ "content": "p:Rich be the praiser of one rich and liberal, Lord of days! like thee: High rank be his who lauds the juice!\np:His wealth who hath no store of kine hath ne'er found out recited laud, Nor song of praises that is sung.\np:Give us not, Indra, as a prey unto the scornful or the proud: Help, mighty one, with power and might!",
184
+ "file": "data/html/samaveda/index.htm",
185
+ "created": 1747959272716,
186
+ "hash": "md5-UAQ19ljyxFNwhiJHG2/NVA=="
187
+ },
188
+ {
189
+ "id": 5613580146548,
190
+ "key": 430,
191
+ "part": "PART SECOND",
192
+ "book": "BOOK IX",
193
+ "chapter": "CHAPTER I",
194
+ "title": "XVI Indra",
195
+ "content": "p:Come hither, Indra, with thy bays, come thou to Kanva's eulogy! Ye by command of yonder Dyaus, God bright by day! have gone to heaven.\np:The stones' rim shakes the Soma here like a wolf worrying a sheep. Ye by command of yonder Dyaus, God bright by day I have gone to heaven.\np:May the stone bring thee as it speaks, the Soma-stone with ringing voice! Ye by command of yonder Dyaus, God bright by day! have gone to heaven.",
196
+ "file": "data/html/samaveda/index.htm",
197
+ "created": 1747959272716,
198
+ "hash": "md5-qcf8sB96CNomRaOiAEIYeQ=="
199
+ },
200
+ {
201
+ "id": 6938204906357,
202
+ "key": 431,
203
+ "part": "PART SECOND",
204
+ "book": "BOOK IX",
205
+ "chapter": "CHAPTER I",
206
+ "title": "XVII Soma Pavamana",
207
+ "content": "p:For Indra flow most rich in sweets, O Soma, bringing him delight!\np:Bright, meditating sacred song, these juices have sent Vayu forth.\np:They were sent forth to feast the Gods, like chariots speeding in the race.",
208
+ "file": "data/html/samaveda/index.htm",
209
+ "created": 1747959272716,
210
+ "hash": "md5-M8ppMA1hv5llTV7aPTTnzQ=="
211
+ },
212
+ {
213
+ "id": 1330062013052,
214
+ "key": 432,
215
+ "part": "PART SECOND",
216
+ "book": "BOOK IX",
217
+ "chapter": "CHAPTER I",
218
+ "title": "XVIII Agni",
219
+ "content": "p:Agni I deem our Hotar priest, munificent wealth-giver, Son of Strength, who knoweth all that is even as the Sage who knoweth all. Lord of fair rites, a God with form erected turning to the Gods, he when the flame hath sprung forth from the holy oil, the offered fatness, longs for it as it grows bright.\np:We, sacrificing, call on the best worshipper thee eldest of Angirasas, singer! with hyrnns, thee, brilliant one! with singers' hymn; Thee, wandering round, as 'twere the sky, thee who art Hotar-priest of men, whom, Bull with hair of flame, the people must observe, tile people that he speed them on.\np:He with his blazing Power refulgent far and wide, he verily it iswho conquers demon foes, conquers the demons like an axe: At whose close touch things solid partg and what is stable yields he keeps his ground and flinches not,like trees. Subduing all from the skilled archer flinches not.",
220
+ "file": "data/html/samaveda/index.htm",
221
+ "created": 1747959272716,
222
+ "hash": "md5-R9wTsDsjQWnwKTU1j1SZDg=="
223
+ },
224
+ {
225
+ "id": 4025285153346,
226
+ "key": 433,
227
+ "part": "PART SECOND",
228
+ "book": "BOOK IX",
229
+ "chapter": "CHAPTER II",
230
+ "title": "I Agni",
231
+ "content": "p:O Agni, strength and fame are thine: thy fires blaze forth on high, O thou refulgent God! Sage, passing bright, thou givest to the worshipper with power, the wealth that merits laud.\np:With brilliantg purifying sheen, with perfect sheen thou liftest up thyself in light. Thou, visiting both thy mothers, aidest them as son; thou joinest close the earth and heaven.\np:O Jatavedas, Son of Strength, rejoice thyself, gracious, in our fair hymns and songs! In thee have they heaped viands various, many formed; wealthborn, of wondrous help are they.\np:Agni, spread forth, as ruler, over living things: give wealth, to us, immortal God! Thou shinest out from beauty fair to look upon: thou leadest us to beauteous Power.\np:I laud the Sage, who orders sacrifice, who hath great riches under his control. Thou givest blest award of good, and plenteous food, thou givest wealth that wins success.\np:The men have set before them, for his favour, Agni, strong, visible to all, the holy. Thee, Lord divine, with ears to hear, most famous, mens' generations magnify with praise-songs.",
232
+ "file": "data/html/samaveda/index.htm",
233
+ "created": 1747959272716,
234
+ "hash": "md5-k9xMzDPHbfFxMAmffAF6pA=="
235
+ },
236
+ {
237
+ "id": 5421300193288,
238
+ "key": 434,
239
+ "part": "PART SECOND",
240
+ "book": "BOOK IX",
241
+ "chapter": "CHAPTER II",
242
+ "title": "II Agni",
243
+ "content": "p:Agni, he conquers by thine aid that brings him store of valiant sons and does great deeds, Whose bond of friendship is thy choice.\np:Thy spark is black and crackling; kindled in due time, O bounteous, it is taken up. Thou art the dear friend of the mighty Mornings: thou shinest in glimmerings of the night.",
244
+ "file": "data/html/samaveda/index.htm",
245
+ "created": 1747959272716,
246
+ "hash": "md5-VP8q+fJJHchQg9Ju9T9c5w=="
247
+ },
248
+ {
249
+ "id": 3148759136599,
250
+ "key": 435,
251
+ "part": "PART SECOND",
252
+ "book": "BOOK IX",
253
+ "chapter": "CHAPTER II",
254
+ "title": "III Agni",
255
+ "content": "p:Him, duly coming, as their germ have plants received: this Agni have maternal Waters brought to life. So, in like manner, do the forest trees and plants bear him within them and produce him evermore.",
256
+ "file": "data/html/samaveda/index.htm",
257
+ "created": 1747959272717,
258
+ "hash": "md5-QGox5h3ZlHa434xwfVVu2w=="
259
+ },
260
+ {
261
+ "id": 5891914689485,
262
+ "key": 436,
263
+ "part": "PART SECOND",
264
+ "book": "BOOK IX",
265
+ "chapter": "CHAPTER II",
266
+ "title": "IV Agni",
267
+ "content": "p:Agni grows bright for Indra: he shines far resplendent in the sky: He sends forth offspring like a queen.",
268
+ "file": "data/html/samaveda/index.htm",
269
+ "created": 1747959272717,
270
+ "hash": "md5-KBhsQ/XPlxCVVFQcTJtVyQ=="
271
+ },
272
+ {
273
+ "id": 5144302491402,
274
+ "key": 437,
275
+ "part": "PART SECOND",
276
+ "book": "BOOK IX",
277
+ "chapter": "CHAPTER II",
278
+ "title": "V Agni",
279
+ "content": "p:The sacred hymns love him who wakes and watches: to him who watches the holy verses. This Soma saith to him Who wake my dwelling in thy friendship.",
280
+ "file": "data/html/samaveda/index.htm",
281
+ "created": 1747959272717,
282
+ "hash": "md5-4ZO0i6OZL5PSof57D8qCjg=="
283
+ },
284
+ {
285
+ "id": 2975246816292,
286
+ "key": 438,
287
+ "part": "PART SECOND",
288
+ "book": "BOOK IX",
289
+ "chapter": "CHAPTER II",
290
+ "title": "VI Agni",
291
+ "content": "p:Agni is watchful, and the Richas love him: Agni is watchful, Sama hymns approach him. Agni is watchful, to him saith this Soma, I rest and have my dwelling in thy friendship.",
292
+ "file": "data/html/samaveda/index.htm",
293
+ "created": 1747959272717,
294
+ "hash": "md5-OgecGynVGXoJ5rbDT0tlpQ=="
295
+ },
296
+ {
297
+ "id": 6525206150471,
298
+ "key": 439,
299
+ "part": "PART SECOND",
300
+ "book": "BOOK IX",
301
+ "chapter": "CHAPTER II",
302
+ "title": "VII Gods",
303
+ "content": "p:Praise to the friends who sit in front! to those seated together,praise I use the hundred-footed speech speech.\np:I use the hundred-footed speech, I sing what hath a thousand paths, Gayatra, Trishtup, Jagat hymn.\np:Gayatra, Trishtup, Jagat hymn,the forms united and complete, Have the Gods made familiar friends.",
304
+ "file": "data/html/samaveda/index.htm",
305
+ "created": 1747959272717,
306
+ "hash": "md5-Y1H5JBA9f5hXo2TD8P5zCQ=="
307
+ },
308
+ {
309
+ "id": 5204421482184,
310
+ "key": 440,
311
+ "part": "PART SECOND",
312
+ "book": "BOOK IX",
313
+ "chapter": "CHAPTER II",
314
+ "title": "VIII Agni",
315
+ "content": "p:Agni, is light, light is Agni, Indra is light, light is Indra Surya is light, light is Surya.\np:O Agni, turn again with strength, turn thou again with food and life: Save us again from grief and woe!\np:O Agni, turn again with wealth sprinkle thou us from everyside. With thine own all-supporting stream!",
316
+ "file": "data/html/samaveda/index.htm",
317
+ "created": 1747959272717,
318
+ "hash": "md5-PVbJLVgtmkKMZx99SPqHDw=="
319
+ },
320
+ {
321
+ "id": 4801580644133,
322
+ "key": 441,
323
+ "part": "PART SECOND",
324
+ "book": "BOOK IX",
325
+ "chapter": "CHAPTER II",
326
+ "title": "IX Indra",
327
+ "content": "p:If I, O Indra, were like thee, the single ruler over wealth. My worshipper should be rich in kine.\np:I should be fain, O Lord of power, to strengthen and enrich thesage, Where I the ford of herds of kine.\np:Thy goodness, Indra, is a cow yielding in plenty kine and steeds. To worshippers who press the juice.",
328
+ "file": "data/html/samaveda/index.htm",
329
+ "created": 1747959272717,
330
+ "hash": "md5-anmsB+r5ivX7Ri7FnpZxig=="
331
+ },
332
+ {
333
+ "id": 5053559921724,
334
+ "key": 442,
335
+ "part": "PART SECOND",
336
+ "book": "BOOK IX",
337
+ "chapter": "CHAPTER II",
338
+ "title": "X The Waters",
339
+ "content": "p:Yea, Waters, ye bring health and bliss: so help ye us to energy. That we may look on great delight!\np:Give us a portion of the dew, the most auspicious that ye have, Like mothers in their longing love!\np:For you we gladly go to hirn to whose abode ye speed us on, And, Waters, give us procreant strength!",
340
+ "file": "data/html/samaveda/index.htm",
341
+ "created": 1747959272717,
342
+ "hash": "md5-3X/NWTyg4nj/YA8EJxo0MQ=="
343
+ },
344
+ {
345
+ "id": 1264749709689,
346
+ "key": 443,
347
+ "part": "PART SECOND",
348
+ "book": "BOOK IX",
349
+ "chapter": "CHAPTER II",
350
+ "title": "XI Vata",
351
+ "content": "p:May Vata breathe his balm on us, healthful, delightful to our heart: May he prolong our days of life!\np:Thou art our father, Vata, yea, thou art our brother and our friend: So give us strength that we may live!\np:The store of Amrit that laid away yonder, O Vata, in thine home-- Give us strength that we may live!",
352
+ "file": "data/html/samaveda/index.htm",
353
+ "created": 1747959272717,
354
+ "hash": "md5-tlyfIxysH0DSFjBziHWbRA=="
355
+ },
356
+ {
357
+ "id": 5859695044295,
358
+ "key": 444,
359
+ "part": "PART SECOND",
360
+ "book": "BOOK IX",
361
+ "chapter": "CHAPTER II",
362
+ "title": "XII Agni",
363
+ "content": "p:The fleet steed wearing divers forms, the eagle bearing his golden raiment to his birthplace, Clothed in due season with the light of Surya, red, hath begot the sacrifice in person.\np:Multiform seed he laid in waters, lustre which gathered on the earth and there developed. In the mid-air establishing his greatness, he cries aloud, seed of the vigorous courser.\np:He hath, enduing thousand robes that suit him, as sacrifice upheld the light of Surya, Giver of ample gifts in hundreds, thousands, supporter of the heavens, earth's Lord and ruler.",
364
+ "file": "data/html/samaveda/index.htm",
365
+ "created": 1747959272718,
366
+ "hash": "md5-P832t4UOKb8sNa4+EOx75w=="
367
+ },
368
+ {
369
+ "id": 4684196987147,
370
+ "key": 445,
371
+ "part": "PART SECOND",
372
+ "book": "BOOK IX",
373
+ "chapter": "CHAPTER II",
374
+ "title": "XIII Vena",
375
+ "content": "p:They gaze on thee with longing in their spirit, as on a strong-winged bird that mounteth sky-ward; On thee with wings of gold, Varuna's envoy, the Bird that hasteneth to the home of Yama.\np:Erect, to heaven hath the Gandharva mounted, pointing at us his many-coloured weapons: Clad in sweet raiment beautiful to look on, for he, as light, produceth forms that please us..\np:When as a spark he cometh ilear the ocean, looking with vulture's eye as Law commandeth, His lustre, joying in its own bright splendour, maketh dear glories in the loftiest region.",
376
+ "file": "data/html/samaveda/index.htm",
377
+ "created": 1747959272718,
378
+ "hash": "md5-rxSCWfsA/aBtdyZbt+q3jg=="
379
+ },
380
+ {
381
+ "id": 6963601972040,
382
+ "key": 446,
383
+ "part": "PART SECOND",
384
+ "book": "BOOK IX",
385
+ "chapter": "CHAPTER III",
386
+ "title": "I Indra",
387
+ "content": "p:Swift, rapidly striking, like a bull who sharpens his horns, terrific, stirring up the people. With eyes that close not, bellowing, sole hero, Indra subdued at once a hundred armies.\np:With him loud-roaring, ever watchful victcr, bold, hard to overthrow, rouser of battle, Indra. the strong, whose hand bears arrows, conquer, ye heroes, now, now vanquish in the combat!\np:He rules with those who carry shafts and quivers, Indra who with his band brings hosts together, Foe-conquering strong of arm the Soma-drinker, with mighty bow, shooting with well-laid arrows.",
388
+ "file": "data/html/samaveda/index.htm",
389
+ "created": 1747959272718,
390
+ "hash": "md5-kv+4h4uVFE7YKRHBogQfMw=="
391
+ },
392
+ {
393
+ "id": 1336692304680,
394
+ "key": 447,
395
+ "part": "PART SECOND",
396
+ "book": "BOOK IX",
397
+ "chapter": "CHAPTER III",
398
+ "title": "II Brihaspati. Indra",
399
+ "content": "p:Brihaspati, fly with thy chariot hither, slayer of demons, driving off our foemen! Be thou protector of our cars, destroyer, victor in battle, breaker-up of armies! 2, Conspicuous. by thy strength, firm, foremost fighter, mighty and fierce, victorious, all-subduing, The Son of Conquest, passing men and heroes, kinewinner, mount thy conquering car, O Indra!\np:Cleaver of stalls, kine-winner, armed with thunder, who quells an army and with might destroys it-- Follow him, brothers! quit yourselves like heroes, and like this Indra show your zeal and courage!",
400
+ "file": "data/html/samaveda/index.htm",
401
+ "created": 1747959272718,
402
+ "hash": "md5-7peJen6w3cbNq5y7vmON0Q=="
403
+ },
404
+ {
405
+ "id": 6678274269176,
406
+ "key": 448,
407
+ "part": "PART SECOND",
408
+ "book": "BOOK IX",
409
+ "chapter": "CHAPTER III",
410
+ "title": "III Indra. Brihaspati",
411
+ "content": "p:Piercing with conquering strength the cow-stalls, Indra, pitiless hero with unbounded anger, Victor in fight, unshaken and resistless--may he protect our armies in our battles!\np:Indra guide these! Brihaspati, and Soma, the guerdon and the sacrifice precede them; And let the banded Maruts march in forefront of heavenly hosts that conquer and demolish!\np:Ours be the potent host of mighty Indra, King Varuna the Maruts, and Adityas! Uplifted is the shout of Gods who conquer, hightninded Gods who cause the worlds to tremble.",
412
+ "file": "data/html/samaveda/index.htm",
413
+ "created": 1747959272718,
414
+ "hash": "md5-FYmBhpTquPggM4cj5qxmrw=="
415
+ },
416
+ {
417
+ "id": 6516514988908,
418
+ "key": 449,
419
+ "part": "PART SECOND",
420
+ "book": "BOOK IX",
421
+ "chapter": "CHAPTER III",
422
+ "title": "IV Indra.Maruts",
423
+ "content": "p:Bristle thou up, O Maghavan, our weapons: excite the spirits, of my warring heroes! Urge on the strong steed's might, O Vyitra-slayer, and let the din of conquering cars go upward\np:May Indra aid us when our flags are gathered: victorious be ther arrows of our army! May our brave men of war prevail in battle. Ye Gods, protect us in the shout of onset!\np:That army of the foemen, O ye Maruts, which, striving in its. mighty strength, approaches, Hide ye and bury it in pathless darkness that not a man oF them may know the other!",
424
+ "file": "data/html/samaveda/index.htm",
425
+ "created": 1747959272718,
426
+ "hash": "md5-66JzsAMS/Jakx/deYmvpEA=="
427
+ },
428
+ {
429
+ "id": 2810151380944,
430
+ "key": 450,
431
+ "part": "PART SECOND",
432
+ "book": "BOOK IX",
433
+ "chapter": "CHAPTER III",
434
+ "title": "V Agha",
435
+ "content": "p:Bewildering the senses of our foemen, seize thou their bodies, and depart, O Agha! Attack them, set their hearts on fare with sorrows; so let our foes abide in utter darkness!\np:Advance, O heroes, win the day, May Indra be your sure defence! Mighty and awful be your arms, that none may wound or injure you!\np:Loosed from the bowstring fly away, thou arrows sharpened by our prayer! Go to the foemen, strike them home, and let not one be left alive!VI Indra and othersp:Let ravens and strong-pinioned birds pursue them: yea, let that army be the food of vultures! Indra, let none escape, no sin-remover: behind them all let following birds be gathered!\np:This host of foemen Maghavan! that cometh on in warlike show-- Meet it, O Vritra-slayer, thou, Indra, and Agni, with your flames!\np:There where the flights of arrows fall like boys whose locks are yet unshorn. Even there may Brahmanaspati, may Aditi protect us well, protect us well through all our days!",
436
+ "file": "data/html/samaveda/index.htm",
437
+ "created": 1747959272718,
438
+ "hash": "md5-OtppVkjGBqduU/+FKJbRIw=="
439
+ },
440
+ {
441
+ "id": 6934089597808,
442
+ "key": 451,
443
+ "part": "PART SECOND",
444
+ "book": "BOOK IX",
445
+ "chapter": "CHAPTER III",
446
+ "title": "VII Indra",
447
+ "content": "p:Drive Rakshasas and foes away, break thou in pieces Vritra's jaws: O Vritra-slaying Indra, quell the foeman's wrath who threatens us!\np:O Indra, beat our foes away, humble the men who challenge us: Send down to nether darkness him who seeks to do us injury!\np:Strong, ever-youthful are the arms of Indra, fair unassailable, never to be vanquished: These first let him employ when need hath come on us, wherewith the Asuras' great might was overthrown.",
448
+ "file": "data/html/samaveda/index.htm",
449
+ "created": 1747959272718,
450
+ "hash": "md5-ImyBU6yCX5GXDpjxRZyxGA=="
451
+ },
452
+ {
453
+ "id": 6063280897330,
454
+ "key": 452,
455
+ "part": "PART SECOND",
456
+ "book": "BOOK IX",
457
+ "chapter": "CHAPTER III",
458
+ "title": "VIII Soma, Varuna",
459
+ "content": "p:Thy vital parts I cover with thine armour: with immortality King Soma clothe thee! Varuna give thee what is more than ample, and in thy victory may Gods be joyful!\np:Blind, O my foemen, shall ye be, even as headless serpents are May Indra slay each best of you when Agni's flame hath struck you down!\np:Whoso would kill us, whether he be a stranger foe or one of us, May all the Gods discomfit him! My nearest, closest mail is prayer, my closest armour and defence.",
460
+ "file": "data/html/samaveda/index.htm",
461
+ "created": 1747959272718,
462
+ "hash": "md5-xQGZapOXlOjJxljm1zUVVg=="
463
+ },
464
+ {
465
+ "id": 5177956710383,
466
+ "key": 453,
467
+ "part": "PART SECOND",
468
+ "book": "BOOK IX",
469
+ "chapter": "CHAPTER III",
470
+ "title": "IX Indra. All-Gods",
471
+ "content": "p:Like a dread wild beast roaming on the mountain thou hast approached us from the farthest distance. Whetting thy bolt and thy sharp blade, O Indra, crush thou the foe and scatter those who hate us!\np:Gods, may our ears hear that which is auspicious, may our eyes see that which is good, ye holy! Extolling you with still strong limbs and bodies, may we attain the age by Gods appointed!\np:Illustrious far and wide, may Indra bless us, may Pushan bless us, master of all riches! May Tarkshya with uninjured fellies bless us! Brihaspati bestow on us his favour! Brihaspati bestow on us his favour!\n ",
472
+ "file": "data/html/samaveda/index.htm",
473
+ "created": 1747959272718,
474
+ "hash": "md5-snHplubVsfMJ7v4Xhx0EPA=="
475
+ }
476
+ ],
477
+ "hash": "md5-5H3DjWrBSCQmeNVRObiV7g=="
478
+ }
@@ -0,0 +1,140 @@
1
+ "use strict";
2
+
3
+ import he from 'he';
4
+ import * as cheerio from 'cheerio';
5
+
6
+ import {dirname} from 'node:path';
7
+ import {fileURLToPath} from 'node:url';
8
+ const __dirname = dirname(fileURLToPath(import.meta.url));
9
+
10
+ export async function svbooks(opts) {
11
+ return new Promise((resolve, reject) => {
12
+ let data;
13
+ try {
14
+ const indexpath = this.lib.path.join(__dirname, 'index.json');
15
+ const indexdata = {
16
+ id: this.lib.uid(),
17
+ title: "The Samaveda Books",
18
+ describe: "The Samaveda, or Veda of Holy Songs, third in the usual order of enumeration of the three Vedas, ranks next in sanctity and liturgical importance to the Rgveda or Veda of Recited praise.",
19
+ api: 'data/samaveda/index.json',
20
+ orig: 'https://sacred-texts.com/hin/sv.htm',
21
+ data: [],
22
+ created: Date.now(),
23
+ }
24
+ const htmlpath = this.lib.path.join(__dirname, '..', 'html', 'samaveda');
25
+ const htmlindex = this.lib.path.join(htmlpath, 'index.htm');
26
+ data = he.decode(this.lib.fs.readFileSync(htmlindex).toString());
27
+ data = data.replace(/(\<h2|<h3|<h4|<p>)/gi, '\n$1');
28
+ data = data.split('<H1 ALIGN="CENTER">HYMNS OF THE SAMAVEDA</H1>');
29
+ const header = data[1];
30
+ const parts = data[2].split('<H1 ALIGN="CENTER">');
31
+ let bookkey = 1, hymnkey = 1;
32
+ for (let x of parts) {
33
+ const splitX = x.split('</H1>');
34
+ const part = {
35
+ title: splitX[0].trim(),
36
+ content: splitX[1],
37
+ };
38
+ if (!part.title) continue;
39
+
40
+ const books = part.content ? part.content.split('<H2 ALIGN="CENTER">') : [];
41
+ if (!books.length) continue;
42
+
43
+ this.prompt(`\nPart: ${part.title}`);
44
+ for (let y of books) {
45
+ const splitY = y.split('</H2>');
46
+ const book = {
47
+ key: bookkey < 10 ? `0${bookkey}` : bookkey,
48
+ title: splitY[0].trim(),
49
+ content: splitY[1],
50
+ };
51
+ if (!book.title) continue;
52
+ this.prompt(`Book: ${book.title}`);
53
+ const bookdata = {
54
+ id: this.lib.uid(),
55
+ key: book.key,
56
+ title: `${part.title} ${book.title}`,
57
+ api: `data/samaveda/books/${book.key}.json`,
58
+ orig: 'https://sacred-texts.com/hin/sv.htm',
59
+ created: Date.now(),
60
+ };
61
+ bookdata.hash = this.lib.hash(bookdata);
62
+ indexdata.data.push(bookdata);
63
+ bookkey = bookkey + 1;
64
+ const currentbook = {
65
+ id: bookdata.id,
66
+ key: bookdata.key,
67
+ title: bookdata.title,
68
+ book: book.title,
69
+ created: Date.now(),
70
+ data: []
71
+ }
72
+ // begin writing chapter data here.
73
+ const chapters = book.content ? book.content.split('<H3 ALIGN="CENTER">') : [];
74
+ if (!chapters.length) continue;
75
+
76
+ for (let z of chapters) {
77
+ const splitZ = z.split('</H3>');
78
+ const chapter = {
79
+ title: splitZ[0].trim(),
80
+ content: splitZ[1],
81
+ };
82
+ if (!chapter.title) continue;
83
+ this.prompt(`Chapter - ${chapter.title}`);
84
+
85
+ const hymns = chapter.content ? chapter.content.split('<H4 ALIGN="CENTER">') : [];
86
+ if (!hymns.length) continue;
87
+
88
+ for (let i of hymns) {
89
+ const splitI = i.split('</H4>');
90
+ const hymn = {
91
+ title: splitI[0].trim(),
92
+ content: splitI[1],
93
+ };
94
+ if (!hymn.title || !hymn.content) continue;
95
+ hymn.content = hymn.content.replace(/<\/?p>|<\/body>|<\/html>/gi, '')
96
+ .replace(/<br>\n?\s+?\d+?\.\s+?/gi, '\np:')
97
+ .replace(/<br>\n?/gi, ' ')
98
+ .replace(/\n \n1.\s/g, 'p:')
99
+ .replace(/,\s\s/g, ', ')
100
+ .replace(/\n\s\n/g, '')
101
+ this.prompt(`Hymn - ${hymn.title}`);
102
+ const hymndata = {
103
+ id: this.lib.uid(),
104
+ key: hymnkey < 10 ? `0${hymnkey}` : hymnkey,
105
+ part: part.title,
106
+ book: book.title,
107
+ chapter: chapter.title,
108
+ title: hymn.title,
109
+ content: hymn.content,
110
+ file: 'data/html/samaveda/index.htm',
111
+ created: Date.now(),
112
+ }
113
+ hymndata.hash = this.lib.hash(hymndata);
114
+ currentbook.data.push(hymndata);
115
+ hymnkey = hymnkey + 1;
116
+ } // end of hymns loop
117
+ } // end of chapters loop
118
+ // write book file here
119
+ currentbook.hash = this.lib.hash(currentbook);
120
+ const bookpath = this.lib.path.join(__dirname, 'books', `${currentbook.key}.json`);
121
+ this.lib.fs.writeFileSync(bookpath, JSON.stringify(currentbook, null, 2), {encoding:'utf8',flag:'w'});
122
+ } // end of books loop
123
+ } // end of parts loop
124
+ // write index file here.
125
+ indexdata.hash = this.lib.hash(indexdata);
126
+ const jsonpath = this.lib.path.join(__dirname, 'index.json');
127
+ this.lib.fs.writeFileSync(jsonpath, JSON.stringify(indexdata, null, 2), {encoding:'utf8',flag:'w'});
128
+ }
129
+ catch (err) {
130
+ return this.error(err, opts, reject);
131
+ }
132
+ finally {
133
+ return resolve({
134
+ text: 'success',
135
+ html: 'success',
136
+ data,
137
+ });
138
+ }
139
+ });
140
+ }