picgo-plugin-gitea
Version:
picgo uploader for gitea
30 lines (21 loc) • 1.92 kB
Markdown
# picgo-plugin-gitea
[](https://www.npmjs.com/package/picgo-plugin-gitea)
[](https://github.com/tuot/picgo-plugin-gitea/blob/master/License)
A [PicGo](https://github.com/Molunerfinn/PicGo) plugin for uploading images to a [Gitea](https://gitea.io) repository.
## Installation
1. Open PicGo's main window.
2. Go to the `Plugin` section.
3. Search for `gitea` and install this plugin.
4. Restart PicGo.
## Configuration
Configure the plugin in the `Uploader` section of PicGo.
| Name | Description | Required |
| ------------------- | ---------------------------------------------------------------------------------------------------------- | -------- |
| **URL** | The URL of your Gitea instance. Example: `https://try.gitea.io` | Yes |
| **Username** | The owner of the repository (your Gitea username or an organization). | Yes |
| **Repository** | The name of the repository to store the images. | Yes |
| **Token** | A Gitea [Personal Access Token](https://docs.gitea.io/en-us/development/api-guide/#authentication) with `write` access to the repository. | Yes |
| **Path** | The path within the repository to save the images. Supports date variables like `{YYYY}/{M}/{D}`. Example: `images/` | No |
| **Ignore Cert Error** | Set to `true` to ignore self-signed certificate errors, for example if your Gitea instance uses a self-signed SSL certificate. | Yes |
## License
[MIT](https://github.com/tuot/picgo-plugin-gitea/blob/master/License)