ani-cli-npm 1.0.6 → 1.1.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.
- package/.idea/ani-cli-npm.iml +11 -11
- package/.idea/discord.xml +6 -6
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/jsLibraryMappings.xml +5 -5
- package/.idea/modules.xml +7 -7
- package/.idea/vcs.xml +5 -5
- package/README.MD +66 -7
- package/bin/index.js +425 -426
- package/bin/m3u8.html +25 -0
- package/gravity/5 +1 -0
- package/gravity/67 +466 -0
- package/gravity/ani-cli.sh +686 -0
- package/gravity/fuck.txt +116 -0
- package/gravity/temp.sh +676 -0
- package/gravity/testdisk.log +54 -0
- package/gravity/testuwu/.matter +24 -0
- package/gravity/testuwu/blackhole.cpp +73 -0
- package/gravity/testuwu/nul: +1 -0
- package/gravity/testuwu/output1_10.txt +224 -0
- package/gravity/testuwu/output1_11.txt +224 -0
- package/gravity/testuwu/run +0 -0
- package/gravity/trez +466 -0
- package/package.json +33 -28
- package/index.cjs +0 -45
package/.idea/ani-cli-npm.iml
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<module type="WEB_MODULE" version="4">
|
3
|
-
<component name="NewModuleRootManager">
|
4
|
-
<content url="file://$MODULE_DIR$">
|
5
|
-
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
6
|
-
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
7
|
-
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
8
|
-
</content>
|
9
|
-
<orderEntry type="inheritedJdk" />
|
10
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
11
|
-
</component>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="WEB_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager">
|
4
|
+
<content url="file://$MODULE_DIR$">
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
8
|
+
</content>
|
9
|
+
<orderEntry type="inheritedJdk" />
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
11
|
+
</component>
|
12
12
|
</module>
|
package/.idea/discord.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project version="4">
|
3
|
-
<component name="DiscordProjectSettings">
|
4
|
-
<option name="show" value="ASK" />
|
5
|
-
<option name="description" value="" />
|
6
|
-
</component>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="DiscordProjectSettings">
|
4
|
+
<option name="show" value="ASK" />
|
5
|
+
<option name="description" value="" />
|
6
|
+
</component>
|
7
7
|
</project>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="GitToolBoxProjectSettings">
|
4
|
+
<option name="commitMessageIssueKeyValidationOverride">
|
5
|
+
<BoolValueOverride>
|
6
|
+
<option name="enabled" value="true" />
|
7
|
+
</BoolValueOverride>
|
8
|
+
</option>
|
9
|
+
<option name="commitMessageValidationEnabledOverride">
|
10
|
+
<BoolValueOverride>
|
11
|
+
<option name="enabled" value="true" />
|
12
|
+
</BoolValueOverride>
|
13
|
+
</option>
|
14
|
+
</component>
|
15
|
+
</project>
|
@@ -1,6 +1,6 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project version="4">
|
3
|
-
<component name="JavaScriptLibraryMappings">
|
4
|
-
<includedPredefinedLibrary name="Node.js Core" />
|
5
|
-
</component>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="JavaScriptLibraryMappings">
|
4
|
+
<includedPredefinedLibrary name="Node.js Core" />
|
5
|
+
</component>
|
6
6
|
</project>
|
package/.idea/modules.xml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project version="4">
|
3
|
-
<component name="ProjectModuleManager">
|
4
|
-
<modules>
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/ani-cli-npm.iml" filepath="$PROJECT_DIR$/.idea/ani-cli-npm.iml" />
|
6
|
-
</modules>
|
7
|
-
</component>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/ani-cli-npm.iml" filepath="$PROJECT_DIR$/.idea/ani-cli-npm.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
8
|
</project>
|
package/.idea/vcs.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project version="4">
|
3
|
-
<component name="VcsDirectoryMappings">
|
4
|
-
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
5
|
-
</component>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="VcsDirectoryMappings">
|
4
|
+
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
5
|
+
</component>
|
6
6
|
</project>
|
package/README.MD
CHANGED
@@ -1,7 +1,66 @@
|
|
1
|
-
# ANI-CLI-NPM
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
# ANI-CLI-NPM
|
2
|
+
|
3
|
+
### An Anime client, writen in nodeJS, to access any* anime without the need for ad filled websites! Just install, search for the anime of your choice, and watch in the video player of your choice.
|
4
|
+
### NodeJS rewrite of the [ani-cli](https://github.com/pystardust/ani-cli) package for linux.
|
5
|
+
|
6
|
+
|
7
|
+
## Instalation:
|
8
|
+
### Windows:
|
9
|
+
#### - Download and install [nodejs](https://nodejs.org/en/download/)
|
10
|
+
#### - Open a terminal or powershell and run the following command to run the program:
|
11
|
+
```
|
12
|
+
npx ani-cli-npm@latest
|
13
|
+
```
|
14
|
+
#### - It is recomended to install VLC media player, but optionaly you can change your video player to Browser in config
|
15
|
+
|
16
|
+
### Android
|
17
|
+
#### - Install the android terminal of your choice. e.g. [Termux](https://play.google.com/store/apps/details?id=com.termux)
|
18
|
+
#### - Install [nodejs](https://nodejs.org/). In termux this is done with the following command:
|
19
|
+
```
|
20
|
+
pkg install nodejs
|
21
|
+
```
|
22
|
+
#### - Run npx ani-cli-npm@latest
|
23
|
+
##### Note: At preset (1.0.6), you will need to change the player to browser, and will have to do any downloads through your browser of choice.
|
24
|
+
|
25
|
+
### Linux:
|
26
|
+
#### - Install [nodejs](https://nodejs.org/en/download/ with your distrabutions package manager.
|
27
|
+
#### - Run the following command:
|
28
|
+
```
|
29
|
+
npx ani-cli-npm@latest
|
30
|
+
```
|
31
|
+
##### Note: If you are using linux, I would advise just using the origonal [ani-cli](https://github.com/pystardust/ani-cli), the main perpous of this package is to allow easier use on windows and android.
|
32
|
+
|
33
|
+
|
34
|
+
## Usage:
|
35
|
+
<img width="147" alt="image" src="https://user-images.githubusercontent.com/74017165/195988816-5088cbff-348e-4852-a1a0-ef343785d488.png">
|
36
|
+
|
37
|
+
#### Input the page you wish to got to then press the enter key to select
|
38
|
+
|
39
|
+
### Search:
|
40
|
+
|
41
|
+
#### Input the name of the anime you want to watch, the select an anime from the search results. Then select the episode you wish to watch (If there is only one episode, said ep will be played automaticly)
|
42
|
+
|
43
|
+
#### Play - Plays the episode you have chosen in the player you have selected in config (VLC by default)
|
44
|
+
|
45
|
+
#### Download - Will download the episode. (This requires you to have chosed a download directory in config).
|
46
|
+
|
47
|
+
##### The download feature is not currently implemented, if you wish to download, open in browser and download there.
|
48
|
+
|
49
|
+
#### Show Link - Will display the link to the video file. This can be opened in a video player or browser.
|
50
|
+
|
51
|
+
### Config:
|
52
|
+
|
53
|
+
#### For configuring several of options about how the program works.
|
54
|
+
|
55
|
+
#### Player - Change which player is used to open the anime.
|
56
|
+
|
57
|
+
#### Prozy - Proxy used for searching. This is not currently implemented and will not work.
|
58
|
+
|
59
|
+
#### User agent - The user agent used to make requests to websites.
|
60
|
+
|
61
|
+
|
62
|
+
## Current limitations:
|
63
|
+
|
64
|
+
### At present this program only has Xstreamcdn videos implemented, as such, there is a high liklyhood that many animes will not be available. This will soon be amended but for now you will need to stick to the animes that are available under Xstreamcdn.
|
65
|
+
|
66
|
+
### This project is still very much under development, as such, there are quite a few bugs.
|