An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Anigo - Prototype bash


Anigo



A tool to search and watch anime with the ability to increase its functionality.


---



---




contributors


last update


forks


stars


open issues


license



## 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)