mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-04-30 06:24:27 +02:00
refactor: update README.md
This commit is contained in:
parent
502b87387e
commit
846b7bf104
26
README.md
26
README.md
@ -1,8 +1,8 @@
|
|||||||
# ReVanced Releases API
|
# ReVanced Releases API
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
This is a simple API that returns the latest ReVanced releases, patches and contributors.
|
This is a simple API that returns the latest ReVanced releases, patches and contributors.
|
||||||
|
|
||||||
@ -10,7 +10,21 @@ This is a simple API that returns the latest ReVanced releases, patches and cont
|
|||||||
|
|
||||||
The API is available at [https://revanced-releases-api.afterst0rm.xyz/](https://revanced-releases-api.afterst0rm.xyz/).
|
The API is available at [https://revanced-releases-api.afterst0rm.xyz/](https://revanced-releases-api.afterst0rm.xyz/).
|
||||||
|
|
||||||
You can deploy your own instance by cloning this repository, editing the `docker-compose.yml` file to include your GitHub token and running `docker-compose up` or `docker-compose up --build` if you want to build the image locally instead of pulling from Docker Hub. Optionally you can run the application without Docker by running `poetry install` and `poetry run ./main.py`. In this case, you'll also need a redis server and setup the `REDIS_URL`, `REDIS_PORT` and `GITHUB_TOKEN` environment variables on your system.
|
You can deploy your own instance by cloning this repository, editing the `docker-compose.yml` file to include your GitHub token and running `docker-compose up` or `docker-compose up --build` if you want to build the image locally instead of pulling from GHCR. Optionally you can run the application without Docker by running `poetry install` and `poetry run ./run.sh`. In this case, you'll also need a redis server and setup the following environment variables on your system.
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
| ---------------------- | ------------------------------------- |
|
||||||
|
| `GITHUB_TOKEN` | Your GitHub token. |
|
||||||
|
| `REDIS_URL` | The hostname/IP of your redis server. |
|
||||||
|
| `REDIS_PORT` | The port of your redis server. |
|
||||||
|
| `HYPERCORN_HOST` | The hostname/IP of the API. |
|
||||||
|
| `HYPERCORN_PORT` | The port of the API. |
|
||||||
|
| `HYPERCORN_LOG_LEVEL` | The log level of the API. |
|
||||||
|
| `SENTRY_DSN` | The DSN of your Sentry instance. |
|
||||||
|
|
||||||
|
Please note that there are no default values for any of these variables.
|
||||||
|
|
||||||
|
If you don't have a Sentry instance, we recommend using [GlitchTip](https://glitchtip.com/).
|
||||||
|
|
||||||
### API Endpoints
|
### API Endpoints
|
||||||
|
|
||||||
@ -25,7 +39,3 @@ If you want to contribute to this project, feel free to open a pull request or a
|
|||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the AGPLv3 License - see the [LICENSE](LICENSE) file for details.
|
This project is licensed under the AGPLv3 License - see the [LICENSE](LICENSE) file for details.
|
||||||
|
|
||||||
## Acknowledgments
|
|
||||||
|
|
||||||
* [ReVanced Team](https://github.com/revanced/) for making such a great project
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user