https://github.com/flamesx-128/anigo-prototype-bash
Anigo - Prototype bash
https://github.com/flamesx-128/anigo-prototype-bash
anigo anime shell
Last synced: 10 months ago
JSON representation
Anigo - Prototype bash
- Host: GitHub
- URL: https://github.com/flamesx-128/anigo-prototype-bash
- Owner: FlamesX-128
- License: apache-2.0
- Created: 2023-02-13T00:45:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-21T06:04:51.000Z (about 3 years ago)
- Last Synced: 2025-03-28T22:44:55.403Z (over 1 year ago)
- Topics: anigo, anime, shell
- Language: Shell
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Anigo - Prototype bash
Anigo
A tool to search and watch anime with the ability to increase its functionality.
---
---
## Installation
### Using curl
```bash
curl https://raw.githubusercontent.com/FlamesX-128/Anigo-Prototype-bash/main/anigo.bash -o anigo.bash
```
## Plugin directory
You can add the url of the script in the "anigo/config.json" file in the plugins property, the script will download it from the given url.
## Create plugin
### Write plugin
```bash
#! /usr/bin/env bash
# The function name is in the format of _c-
# "c" is the component type, abbreviated from "controller"
# "loading" is the component name
# You can use any name you want, but it is recommended to use the format above.
# The function name is used to identify the component, so it is recommended to use the format above.
my_plugin_c-loading() {
# The function body is the code that will be executed when the component is called.
gum spin -s minidot --title 'Loading my_plugin' -- sleep 10
}
__INIT__() {
# Register the controller
# The key is in the format of ::
# The value is the function name
# The controller is a type of component provided by the core, you can create your own component type.
# The controller is used to control the flow of the program.
components["my_plugin:controller:loading"]=my_plugin_c-loading
}
```
### Use plugin
You can just add it to "anigo/plugins"
## Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0)