weebcli 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 (54) hide show
  1. package/.github/workflows/releases.yml +39 -0
  2. package/LICENSE +400 -0
  3. package/README-EN.md +134 -0
  4. package/README.md +134 -0
  5. package/aur/.SRCINFO +16 -0
  6. package/aur/PKGBUILD +43 -0
  7. package/eslint.config.js +49 -0
  8. package/jsconfig.json +9 -0
  9. package/package.json +45 -0
  10. package/src/constants.js +13 -0
  11. package/src/functions/episodes.js +38 -0
  12. package/src/functions/time.js +27 -0
  13. package/src/functions/variables.js +3 -0
  14. package/src/i18n/en.json +351 -0
  15. package/src/i18n/index.js +80 -0
  16. package/src/i18n/tr.json +348 -0
  17. package/src/index.js +307 -0
  18. package/src/jsdoc.js +72 -0
  19. package/src/sources/allanime.js +195 -0
  20. package/src/sources/animecix.js +223 -0
  21. package/src/sources/animely.js +100 -0
  22. package/src/sources/handlers/allanime.js +318 -0
  23. package/src/sources/handlers/animecix.js +316 -0
  24. package/src/sources/handlers/animely.js +338 -0
  25. package/src/sources/handlers/base.js +391 -0
  26. package/src/sources/handlers/index.js +4 -0
  27. package/src/sources/index.js +80 -0
  28. package/src/utils/anilist.js +193 -0
  29. package/src/utils/data_manager.js +27 -0
  30. package/src/utils/discord.js +86 -0
  31. package/src/utils/download/concurrency.js +27 -0
  32. package/src/utils/download/download.js +485 -0
  33. package/src/utils/download/progress.js +84 -0
  34. package/src/utils/players/mpv.js +251 -0
  35. package/src/utils/players/vlc.js +120 -0
  36. package/src/utils/process_queue.js +121 -0
  37. package/src/utils/resume_watch.js +137 -0
  38. package/src/utils/search.js +39 -0
  39. package/src/utils/search_download.js +21 -0
  40. package/src/utils/speedtest.js +30 -0
  41. package/src/utils/spinner.js +7 -0
  42. package/src/utils/storage/cache.js +42 -0
  43. package/src/utils/storage/config.js +71 -0
  44. package/src/utils/storage/history.js +69 -0
  45. package/src/utils/storage/queue.js +43 -0
  46. package/src/utils/storage/watch_progress.js +104 -0
  47. package/src/utils/system.js +176 -0
  48. package/src/utils/ui/box.js +140 -0
  49. package/src/utils/ui/settings_ui.js +322 -0
  50. package/src/utils/ui/show_history.js +92 -0
  51. package/src/utils/ui/stats.js +67 -0
  52. package/start.js +21 -0
  53. package/tanitim-en.md +66 -0
  54. package/tanitim-tr.md +66 -0
@@ -0,0 +1,39 @@
1
+ name: NPM Publish & GitHub Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ build-and-publish:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Kodu çek
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Node.js kur
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '20'
20
+ registry-url: 'https://registry.npmjs.org'
21
+
22
+ - name: Paketleri yükle
23
+ run: npm ci
24
+
25
+ - name: Paketi npm'ye yayınla
26
+ run: npm publish --access public
27
+ env:
28
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29
+
30
+ - name: .tar.gz dosyasını hazırla
31
+ run: npm pack
32
+
33
+ - name: GitHub Release oluştur ve .tar.gz ekle
34
+ uses: ncipollo/release-action@v1
35
+ with:
36
+ artifacts: "*.tgz"
37
+ token: ${{ secrets.GITHUB_TOKEN }}
38
+ draft: false
39
+ prerelease: false
package/LICENSE ADDED
@@ -0,0 +1,400 @@
1
+ Attribution-NonCommercial-NoDerivatives 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights. The following considerations are for
21
+ informational purposes only, are not exhaustive, and do not form part
22
+ of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright.
36
+
37
+ Considerations for the public: By using one of our public
38
+ licenses, a licensor grants the public permission to use the
39
+ licensed material under specified terms and conditions. If
40
+ the licensor's permission is not necessary for any reason--for
41
+ example, because of any applicable exception or limitation to
42
+ copyright--then that use is not regulated by the license. Our
43
+ licenses grant only permissions under copyright and certain
44
+ other rights that a licensor has the authority to grant. Use
45
+ of the licensed material may still be restricted for other
46
+ reasons, including because others have copyright or other
47
+ rights in the material. A licensor may make special requests,
48
+ such as asking that all changes be marked or described.
49
+ Although not required by our licenses, you are encouraged to
50
+ respect those requests where reasonable.
51
+
52
+ =======================================================================
53
+
54
+ Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License
55
+
56
+ By exercising the Licensed Rights (defined below), You accept and agree
57
+ to be bound by the terms and conditions of this Creative Commons
58
+ Attribution-NonCommercial-NoDerivatives 4.0 International Public
59
+ License ("Public License"). To the extent this Public License may be
60
+ interpreted as a contract, You are granted the Licensed Rights in
61
+ consideration of Your acceptance of these terms and conditions, and the
62
+ Licensor grants You such rights in consideration of benefits the
63
+ Licensor receives from making the Licensed Material available under
64
+ these terms and conditions.
65
+
66
+ Section 1 -- Definitions.
67
+
68
+ a. Adapted Material means material subject to Copyright and Similar
69
+ Rights that is derived from or based upon the Licensed Material
70
+ and in which the Licensed Material is translated, altered,
71
+ arranged, transformed, or otherwise modified in a manner requiring
72
+ permission under the Copyright and Similar Rights held by the
73
+ Licensor. For purposes of this Public License, where the Licensed
74
+ Material is a musical work, performance, or sound recording,
75
+ Adapted Material is always produced where the Licensed Material is
76
+ synched in timed relation with a moving image.
77
+
78
+ b. Copyright and Similar Rights means copyright and/or similar rights
79
+ closely related to copyright including, without limitation,
80
+ performance, broadcast, sound recording, and Sui Generis Database
81
+ Rights, without regard to how the rights are labeled or
82
+ categorized. For purposes of this Public License, the rights
83
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
84
+ Rights.
85
+
86
+ c. Effective Technological Measures means those measures that, in the
87
+ absence of proper authority, may not be circumvented under laws
88
+ fulfilling obligations under Article 11 of the WIPO Copyright
89
+ Treaty adopted on December 20, 1996, and/or similar international
90
+ agreements.
91
+
92
+ d. Exceptions and Limitations means fair use, fair dealing, and/or
93
+ any other exception or limitation to Copyright and Similar Rights
94
+ that applies to Your use of the Licensed Material.
95
+
96
+ e. Licensed Material means the artistic or literary work, database,
97
+ or other material the Licensor applied this Public License to.
98
+
99
+ f. Licensed Rights means the rights granted to You subject to the
100
+ terms and conditions of this Public License, which are limited to
101
+ all Copyright and Similar Rights that apply to Your use of the
102
+ Licensed Material and that the Licensor has authority to license.
103
+
104
+ g. Licensor means the individual(s) or entity(ies) granting rights
105
+ under this Public License.
106
+
107
+ h. NonCommercial means not primarily intended for or directed towards
108
+ commercial advantage or monetary compensation. For purposes of
109
+ this Public License, the exchange of the Licensed Material for
110
+ other material subject to Copyright and Similar Rights by digital
111
+ file-sharing or similar means is NonCommercial provided there is
112
+ no payment of monetary compensation in connection with the
113
+ exchange.
114
+
115
+ i. Share means to provide material to the public by any means or
116
+ process that requires permission under the Licensed Rights, such
117
+ as reproduction, public display, public performance, distribution,
118
+ dissemination, communication, or importation, and to make material
119
+ available to the public including in ways that members of the
120
+ public may access the material from a place and at a time
121
+ individually chosen by them.
122
+
123
+ j. Sui Generis Database Rights means rights other than copyright
124
+ resulting from Directive 96/9/EC of the European Parliament and of
125
+ the Council of 11 March 1996 on the legal protection of databases,
126
+ as amended and/or succeeded, as well as other essentially
127
+ equivalent rights anywhere in the world.
128
+
129
+ k. You means the individual or entity exercising the Licensed Rights
130
+ under this Public License. Your has a corresponding meaning.
131
+
132
+ Section 2 -- Scope.
133
+
134
+ a. License grant.
135
+
136
+ 1. Subject to the terms and conditions of this Public License,
137
+ the Licensor hereby grants You a worldwide, royalty-free,
138
+ non-sublicensable, non-exclusive, irrevocable license to
139
+ exercise the Licensed Rights in the Licensed Material to:
140
+
141
+ A. reproduce and Share the Licensed Material, in whole or
142
+ in part, for NonCommercial purposes only; and
143
+
144
+ B. produce, reproduce, and Share Adapted Material for
145
+ NonCommercial purposes only.
146
+
147
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
148
+ Exceptions and Limitations apply to Your use, this Public
149
+ License does not apply, and You do not need to comply with
150
+ its terms and conditions.
151
+
152
+ 3. Term. The term of this Public License is specified in Section
153
+ 6(a).
154
+
155
+ 4. Media and formats; technical modifications allowed. The
156
+ Licensor authorizes You to exercise the Licensed Rights in
157
+ all media and formats whether now known or hereafter created,
158
+ and to make technical modifications necessary to do so. The
159
+ Licensor waives and/or agrees not to assert any right or
160
+ authority to forbid You from making technical modifications
161
+ necessary to exercise the Licensed Rights, including
162
+ technical modifications necessary to circumvent Effective
163
+ Technological Measures. For purposes of this Public License,
164
+ simply making modifications authorized by this Section 2(a)
165
+ (4) never produces Adapted Material.
166
+
167
+ 5. Downstream recipients.
168
+
169
+ A. Offer from the Licensor -- Licensed Material. Every
170
+ recipient of the Licensed Material automatically
171
+ receives an offer from the Licensor to exercise the
172
+ Licensed Rights under the terms and conditions of this
173
+ Public License.
174
+
175
+ B. No downstream restrictions. You may not offer or impose
176
+ any additional or different terms or conditions on, or
177
+ apply any Effective Technological Measures to, the
178
+ Licensed Material if doing so restricts exercise of the
179
+ Licensed Rights by any recipient of the Licensed
180
+ Material.
181
+
182
+ 6. No endorsement. Nothing in this Public License constitutes or
183
+ may be construed as permission to assert or imply that You
184
+ are, or that Your use of the Licensed Material is, connected
185
+ with, or sponsored, endorsed, or granted official status by,
186
+ the Licensor or others designated to receive attribution as
187
+ provided in Section 3(a)(1)(A)(i).
188
+
189
+ b. Other rights.
190
+
191
+ 1. Moral rights, such as the right of integrity, are not
192
+ licensed under this Public License, nor are publicity,
193
+ privacy, and/or other similar personality rights; however, to
194
+ the extent possible, the Licensor waives and/or agrees not to
195
+ assert any such rights held by the Licensor to the limited
196
+ extent necessary to allow You to exercise the Licensed
197
+ Rights, but not otherwise.
198
+
199
+ 2. Patent and trademark rights are not licensed under this
200
+ Public License.
201
+
202
+ 3. To the extent possible, the Licensor waives any right to
203
+ collect royalties from You for the exercise of the Licensed
204
+ Rights, whether directly or through a collecting society
205
+ under any voluntary or waivable statutory or compulsory
206
+ licensing scheme. In all other cases the Licensor expressly
207
+ reserves any right to collect such royalties, including when
208
+ the Licensed Material is used for other than NonCommercial
209
+ purposes.
210
+
211
+ Section 3 -- License Conditions.
212
+
213
+ Your exercise of the Licensed Rights is expressly made subject to the
214
+ following conditions.
215
+
216
+ a. Attribution.
217
+
218
+ 1. If You Share the Licensed Material (including in modified
219
+ form), You must:
220
+
221
+ A. retain the following if it is supplied by the Licensor
222
+ with the Licensed Material:
223
+
224
+ i. identification of the creator(s) of the Licensed
225
+ Material and any others designated to receive
226
+ attribution, in any reasonable manner requested by
227
+ the Licensor (including by pseudonym if
228
+ designated);
229
+
230
+ ii. a copyright notice;
231
+
232
+ iii. a notice that refers to this Public License;
233
+
234
+ iv. a notice that refers to the disclaimer of
235
+ warranties;
236
+
237
+ v. a URI or hyperlink to the Licensed Material to the
238
+ extent reasonably practicable;
239
+
240
+ B. indicate if You modified the Licensed Material and
241
+ retain an indication of any previous modifications; and
242
+
243
+ C. indicate the Licensed Material is licensed under this
244
+ Public License, and include the text of, or the URI or
245
+ hyperlink to, this Public License.
246
+
247
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
248
+ reasonable manner based on the medium, means, and context in
249
+ which You Share the Licensed Material. For example, it may be
250
+ reasonable to satisfy the conditions by providing a URI or
251
+ hyperlink to a resource that includes the required
252
+ information.
253
+
254
+ 3. If requested by the Licensor, You must remove any of the
255
+ information required by Section 3(a)(1)(A) to the extent
256
+ reasonably practicable.
257
+
258
+ 4. If You Share Adapted Material You produce, the Adapter's
259
+ License You apply must not prevent recipients of the Adapted
260
+ Material from complying with this Public License.
261
+
262
+ b. NonCommercial.
263
+
264
+ You may not use the Licensed Material for commercial purposes.
265
+
266
+ c. NoDerivatives.
267
+
268
+ If You Share Adapted Material You produce, You may not apply the
269
+ Licensed Rights to the Adapted Material.
270
+
271
+ Section 4 -- Sui Generis Database Rights.
272
+
273
+ Where the Licensed Rights include Sui Generis Database Rights that
274
+ apply to Your use of the Licensed Material:
275
+
276
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
277
+ to extract, reuse, reproduce, and Share all or a substantial
278
+ portion of the contents of the database for NonCommercial purposes
279
+ only;
280
+
281
+ b. if You include all or a substantial portion of the database
282
+ contents in a database in which You have Sui Generis Database
283
+ Rights, then the database in which You have Sui Generis Database
284
+ Rights (but not its individual contents) is Adapted Material; and
285
+
286
+ c. You must comply with the conditions in Section 3(a) if You Share
287
+ all or a substantial portion of the contents of the database.
288
+
289
+ For the avoidance of doubt, this Section 4 supplements and does not
290
+ replace Your obligations under this Public License where the Licensed
291
+ Rights include other Copyright and Similar Rights.
292
+
293
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
294
+
295
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
296
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
297
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
298
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
299
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
300
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
301
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
302
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
303
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
304
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
305
+
306
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
307
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
308
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
309
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
310
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
311
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
312
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
313
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
314
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
315
+
316
+ c. The disclaimer of warranties and limitation of liability provided
317
+ above shall be interpreted in a manner that, to the extent
318
+ possible, most closely approximates an absolute disclaimer and
319
+ waiver of all liability.
320
+
321
+ Section 6 -- Term and Termination.
322
+
323
+ a. This Public License applies for the term of the Copyright and
324
+ Similar Rights licensed here. However, if You fail to comply with
325
+ this Public License, then Your rights under this Public License
326
+ terminate automatically.
327
+
328
+ b. Where Your right to use the Licensed Material has terminated under
329
+ Section 6(a), it reinstates:
330
+
331
+ 1. automatically as of the date the violation is cured, provided
332
+ it is cured within 30 days of Your discovery of the
333
+ violation; or
334
+
335
+ 2. upon express reinstatement by the Licensor.
336
+
337
+ For the avoidance of doubt, this Section 6(b) does not affect any
338
+ right the Licensor may have to seek remedies for Your violations
339
+ of this Public License.
340
+
341
+ c. For the avoidance of doubt, the Licensor may also offer the
342
+ Licensed Material under separate terms or conditions or stop
343
+ distributing the Licensed Material at any time; however, doing so
344
+ will not terminate this Public License.
345
+
346
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
347
+ License.
348
+
349
+ Section 7 -- Other Terms and Conditions.
350
+
351
+ a. The Licensor shall not be bound by any additional or different
352
+ terms or conditions communicated by You unless expressly agreed.
353
+
354
+ b. Any arrangements, understandings, or agreements regarding the
355
+ Licensed Material not stated herein are separate from and
356
+ independent of the terms and conditions of this Public License.
357
+
358
+ Section 8 -- Interpretation.
359
+
360
+ a. For the avoidance of doubt, this Public License does not, and
361
+ shall not be interpreted to, reduce, limit, restrict, or impose
362
+ conditions on any use of the Licensed Material that could lawfully
363
+ be made without permission under this Public License.
364
+
365
+ b. To the extent possible, if any provision of this Public License is
366
+ deemed unenforceable, it shall be automatically reformed to the
367
+ minimum extent necessary to make it enforceable. If the provision
368
+ cannot be reformed, it shall be severed from this Public License
369
+ without affecting the enforceability of the remaining terms and
370
+ conditions.
371
+
372
+ c. No term or condition of this Public License will be waived and no
373
+ failure to comply consented to unless expressly agreed to by the
374
+ Licensor.
375
+
376
+ d. Nothing in this Public License constitutes or may be interpreted
377
+ as a limitation upon or waiver of any privileges and immunities
378
+ that apply to the Licensor or You, including from the legal
379
+ processes of any jurisdiction or authority.
380
+
381
+ =======================================================================
382
+
383
+ Creative Commons is not a party to its public licenses.
384
+ Notwithstanding, Creative Commons may elect to apply one of its public
385
+ licenses to material it publishes and in those instances will be
386
+ considered the "Licensor." The text of the Creative Commons public
387
+ licenses is dedicated to the public domain under the CC0 Public Domain
388
+ Dedication. Except for the limited purpose of indicating that material
389
+ is shared under a Creative Commons public license or as otherwise
390
+ permitted by the Creative Commons policies published at
391
+ creativecommons.org/policies, Creative Commons does not authorize the
392
+ use of the trademark "Creative Commons" or any other trademark or logo
393
+ of Creative Commons without its prior written consent including,
394
+ without limitation, in connection with any unauthorized modifications
395
+ to any of its public licenses or any other arrangements,
396
+ understandings, or agreements concerning use of licensed material. For
397
+ the avoidance of doubt, this paragraph does not form part of the
398
+ public licenses.
399
+
400
+ Creative Commons may be contacted at creativecommons.org.
package/README-EN.md ADDED
@@ -0,0 +1,134 @@
1
+ <div align="center">
2
+ <img src="https://raw.githubusercontent.com/ewgsta/weebcli/main/docs/img/phee.png" alt="weebcli" width="200">
3
+ </div>
4
+
5
+ <h1 align="center">weebcli</h1>
6
+
7
+ <p align="center">
8
+ <a href="https://www.npmjs.com/package/weebcli">
9
+ <img src="https://img.shields.io/npm/v/weebcli.svg" alt="npm version">
10
+ </a>
11
+ <a href="https://aur.archlinux.org/packages/weebcli">
12
+ <img src="https://img.shields.io/aur/version/weebcli" alt="AUR version">
13
+ </a>
14
+ <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/">
15
+ <img src="https://img.shields.io/badge/license-CC%20BY--NC--ND%204.0-blue.svg" alt="License">
16
+ </a>
17
+ </p>
18
+
19
+ <p align="center">
20
+ <strong>A powerful, elegant and simple CLI tool for watching and downloading anime from your terminal.</strong>
21
+ </p>
22
+
23
+ <p align="center">
24
+ <a href="README.md">🇹🇷 Türkçe</a>
25
+ </p>
26
+
27
+ ## Features
28
+
29
+ - **Multiple Sources:** Turkish (Animely.net, Animecix.tv) and English (AllAnime) sources
30
+ - **Multi-Language:** Turkish and English interface support
31
+ - **Language-Based Source Filtering:** Automatic source filtering based on selected language
32
+ - **Sub/Dub Support:** Subbed or dubbed viewing option on AllAnime
33
+ - **Instant Streaming:** Direct streaming with VLC or MPV
34
+ - **Resume Playback:** Automatically remembers where you left off with MPV
35
+ - **Quality Selection:** Multiple quality options on Animecix and AllAnime
36
+ - **Anilist Integration:** Automatically add watched anime to your Anilist
37
+ - **Discord Rich Presence:** Show what you're watching on your Discord profile
38
+ - **Smart Downloads:** Resume downloads, queue system, concurrent downloads
39
+ - **Aria2 Support:** Fast MP4 downloads with 16x connections
40
+ - **yt-dlp Support:** Fast M3U8 downloads with parallel connections
41
+ - **Last Watched Marking:** Last watched and next episode marked in episode list
42
+
43
+ ## Screenshots
44
+
45
+ | Menu | Settings |
46
+ |------|----------|
47
+ | ![menu](https://r2.fakecrime.bio/uploads/10b1f77e-f967-45bf-9a74-e4c539c52dfe.png) | ![settings](https://r2.fakecrime.bio/uploads/6a01a11a-309c-4d3a-8d40-04ed81e4476b.png) |
48
+
49
+ | Search | Anime |
50
+ |--------|-------|
51
+ | ![search](https://r2.fakecrime.bio/uploads/95ff108b-dc25-44a2-a51a-1457b35ce99c.png) | ![anime](https://r2.fakecrime.bio/uploads/4f92ad64-056e-4661-bc3a-d7e9def1793f.png) |
52
+
53
+ ## Supported Sources
54
+
55
+ | Source | Language | Search | Watch | Download | Quality Selection | Sub/Dub |
56
+ |--------|----------|--------|-------|----------|-------------------|---------|
57
+ | Animely.net | 🇹🇷 Turkish | ✅ Fuzzy Search | ✅ | ✅ | ❌ | - |
58
+ | Animecix.tv | 🇹🇷 Turkish | ✅ API Search | ✅ | ✅ | ✅ 480p/720p/1080p | - |
59
+ | AllAnime | 🇬🇧 English | ✅ API Search | ✅ | ✅ | ✅ Multiple | ✅ |
60
+
61
+ ## Installation
62
+
63
+ ### npm (All platforms)
64
+
65
+ ```bash
66
+ npm install -g weebcli
67
+ ```
68
+
69
+ ### Arch Linux (AUR)
70
+
71
+ ```bash
72
+ yay -S weebcli
73
+ # or
74
+ paru -S weebcli
75
+ ```
76
+
77
+ ## Usage
78
+
79
+ ```bash
80
+ weebcli
81
+ ```
82
+
83
+ ## Download Managers
84
+
85
+ ### Aria2 (for MP4)
86
+ Fast downloads for MP4 files. Enable in settings, installs automatically.
87
+
88
+ ### yt-dlp (for M3U8)
89
+ Fast downloads for M3U8/HLS streams. Enable in settings, installs automatically.
90
+
91
+ ## Requirements
92
+
93
+ ### CLI
94
+ - **Node.js** v18+
95
+ - **Video Player:** MPV (recommended) or VLC
96
+
97
+ ### Optional
98
+ - **Aria2:** Fast MP4 downloads (auto-installs)
99
+ - **yt-dlp:** Fast M3U8 downloads (auto-installs)
100
+
101
+ ### Web
102
+ - **Discord account**
103
+ - **Internet**
104
+
105
+ ## Contributing
106
+
107
+ 1. Fork the repository
108
+ 2. Create a feature branch (`git checkout -b new-feature`)
109
+ 3. Commit your changes (`git commit -m 'Add new feature'`)
110
+ 4. Push your branch (`git push origin new-feature`)
111
+ 5. Open a Pull Request
112
+
113
+ ### Development
114
+
115
+ ```bash
116
+ git clone https://github.com/ewgsta/weebcli.git
117
+ cd weebcli
118
+ pnpm install
119
+ pnpm start
120
+ ```
121
+
122
+ ## Support
123
+
124
+ - **Bug Report:** [GitHub Issues](https://github.com/ewgsta/weebcli/issues)
125
+ - **Feature Request:** [GitHub Issues](https://github.com/ewgsta/weebcli/issues)
126
+
127
+ ## License
128
+
129
+ This project is licensed under [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)](https://creativecommons.org/licenses/by-nc-nd/4.0/).
130
+
131
+ - **Share:** You may copy and redistribute the material in any medium or format.
132
+ - **Attribution:** You must give appropriate credit, provide a link to the license, and indicate if changes were made.
133
+ - **NonCommercial:** You may not use the material for commercial purposes.
134
+ - **NoDerivatives:** You may not distribute modified material.