Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
casse-boubou committed Oct 10, 2022
1 parent 8cbbb06 commit 2ca01db
Show file tree
Hide file tree
Showing 11 changed files with 75 additions and 155 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ on:

jobs:
workflows:
uses: mdegat01/addon-workflows/.github/workflows/addon-ci.yaml@main
uses: erdnaxela02/ha-addon-workflows/.github/workflows/addon-ci.yaml@main
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ on:

jobs:
workflows:
uses: mdegat01/addon-workflows/.github/workflows/addon-deploy.yaml@main
uses: erdnaxela02/ha-addon-workflows/.github/workflows/addon-deploy.yaml@main
secrets:
CAS_API_KEY: ${{ secrets.CAS_API_KEY }}
DISPATCH_TOKEN: ${{ secrets.DISPATCH_TOKEN }}
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ on:

jobs:
workflows:
uses: mdegat01/addon-workflows/.github/workflows/labels.yaml@main
uses: erdnaxela02/ha-addon-workflows/.github/workflows/labels.yaml@main
2 changes: 1 addition & 1 deletion .github/workflows/lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ on:

jobs:
workflows:
uses: mdegat01/addon-workflows/.github/workflows/lock.yaml@main
uses: erdnaxela02/ha-addon-workflows/.github/workflows/lock.yaml@main
2 changes: 1 addition & 1 deletion .github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ on:

jobs:
workflows:
uses: mdegat01/addon-workflows/.github/workflows/pr-labels.yaml@main
uses: erdnaxela02/ha-addon-workflows/.github/workflows/pr-labels.yaml@main
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ on:

jobs:
workflows:
uses: mdegat01/addon-workflows/.github/workflows/release-drafter.yaml@main
uses: erdnaxela02/ha-addon-workflows/.github/workflows/release-drafter.yaml@main
2 changes: 1 addition & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ on:

jobs:
workflows:
uses: mdegat01/addon-workflows/.github/workflows/stale.yaml@main
uses: erdnaxela02/ha-addon-workflows/.github/workflows/stale.yaml@main
90 changes: 36 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,56 @@
# Home Assistant Add-on: Sharry

[![GitHub Release][releases-shield]][releases]
![Project Stage][project-stage-shield]
[![License][license-shield]](LICENSE)

![Supports aarch64 Architecture][aarch64-shield]
![Supports amd64 Architecture][amd64-shield]
![Supports armhf Architecture][armhf-shield]
![Supports armv7 Architecture][armv7-shield]
![Supports i386 Architecture][i386-shield]

[![Github Actions][github-actions-shield]][github-actions]
![Project Maintenance][maintenance-shield]
[![GitHub Activity][commits-shield]][commits]
[![Community Forum][forum-shield]][forum]

[Sharry][sharry] allows to share files with others in a simple way. It is a self-hosted
web application. The basic concept is: upload files and get a url back that can
then be shared.
[Sharry][sharry] permet de partager des fichiers avec d'autres de manière
simple. C'est une application web auto-hébergé. Le concept de base est le
suivant : téléchargez des fichiers et récupérez une URL qui peut ensuite
être partagé.

[![Open your Home Assistant instance and show the add add-on repository dialog
with a specific repository URL pre-filled.][add-repo-shield]][add-repo]
[![Open your Home Assistant instance and show the dashboard of a Supervisor add-on.][add-addon-shield]][add-addon]

## About

This addon allows for quick and easy file sharing. You drag and drop files in
and get a link you can share with anyone. And you can create & share spaces others
can use to share files you. Anyone with a share link can get to it but only authenticated
users can make new share links. And URLs are hard to guess so users can control
who has access. It also has some nice features like resumable file uploads and
gallery display for photos and videos.
Cet add-on permet un partage de fichiers rapidement et facilement.
Vous glisser et déposez des fichiers et obtenez un lien que vous pouvez partager
avec n'importe qui.
Vous pouvez également créer et partager des liens avec d'autres personnes
qu'elles utiliseront pour partager des fichiers avec vous.
Toute personne disposant d'un lien de partage peut y accéder, mais seulement les
utilisateurs authentifiée peuvent créer de nouveaux liens de partage.
Les URL sont difficiles à deviner afin que les utilisateurs puissent en contrôler
qui y a accès.
Il a également quelques fonctionnalités intéressantes comme les téléchargements
de fichiers avec reprise et l'affichage de la galerie pour les photos et les
vidéos.

## Support

Got questions?

You have several ways to get them answered:
Je ne suis pas dévellopeur, n'ai aucune formation de code, je suis simplement
autodidact.
Si vous avez une question concernant HA et ses add-ons vous pouvez consulter:

- The Home Assistant [Community Forum][forum]. I am
[CentralCommand][forum-centralcommand] there.
- The Home Assistant [Discord Chat Server][discord-ha]. Use the #add-ons channel,
I am CentralCommand#0913 there.

You could also [open an issue here][issue] on GitHub.
- [Le Forum communautaire francophone][hacf] de HomeAssistant
- [Le Forum communautaire anglophone][forum] de HomeAssistant.
- [Le serveur Discord][discord-ha] de HomeAssistant.

## Authors & contributors

The original setup of this repository is by [Mike Degatano][mdegat01].
Ce projet est un fork du projet original de [Mike Degatano][mike-degatano].

For a full list of all authors and contributors,
check [the contributor's page][contributors].
Pour une liste complète des auteurs et contributeurs merci de consulter
la [page des contributeurs][contributors].

## License

MIT License

Copyright (c) 2021-2022 Mike Degatano
Copyright (c) 2021-2022 [Mike Degatano][mike-degatano]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -76,29 +70,17 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[add-addon]: https://my.home-assistant.io/redirect/supervisor_addon/?addon=c751e21a_sharry
[add-addon-shield]: https://my.home-assistant.io/badges/supervisor_addon.svg
[add-addon]: https://my.home-assistant.io/redirect/supervisor_addon/?addon=39bd2704_sharry
[add-repo]: https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A//github.com/erdnaxela02/hassio-addons
[add-repo-shield]: https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg
[add-repo]: https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fmdegat01%2Fhassio-addons
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg
[armv7-shield]: https://img.shields.io/badge/armv7-no-red.svg
[commits-shield]: https://img.shields.io/github/commit-activity/y/mdegat01/addon-sharry.svg
[commits]: https://github.com/mdegat01/addon-sharry/commits/main
[releases]: https://github.com/erdnaxela02/addon-sharry/releases
[releases-shield]: https://img.shields.io/github/v/release/erdnaxela02/addon-sharry
[license-shield]: https://img.shields.io/github/license/erdnaxela02/addon-sharry
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[mike-degatano]: https://github.com/mdegat01/addon-sharry
[contributors]: https://github.com/mdegat01/addon-sharry/graphs/contributors
[discord-ha]: https://discord.gg/c5DvZ4e
[forum-centralcommand]: https://community.home-assistant.io/u/CentralCommand/?u=CentralCommand
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
[forum]: https://community.home-assistant.io/t/home-assistant-add-on-sharry/300860?u=CentralCommand
[mdegat01]: https://github.com/mdegat01
[github-actions-shield]: https://github.com/mdegat01/addon-sharry/workflows/CI/badge.svg
[github-actions]: https://github.com/mdegat01/addon-sharry/actions
[i386-shield]: https://img.shields.io/badge/i386-no-red.svg
[issue]: https://github.com/mdegat01/addon-sharry/issues
[license-shield]: https://img.shields.io/github/license/mdegat01/addon-sharry.svg
[maintenance-shield]: https://img.shields.io/maintenance/yes/2022.svg
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
[releases-shield]: https://img.shields.io/github/release/mdegat01/addon-sharry.svg
[releases]: https://github.com/mdegat01/addon-sharry/releases
[sharry]: https://eikek.github.io/sharry/
[discord-ha]: https://discord.gg/c5DvZ4e
[forum]: https://community.home-assistant.io
[hacf]: https://forum.hacf.fr/
114 changes: 26 additions & 88 deletions sharry/.README.j2
Original file line number Diff line number Diff line change
@@ -1,94 +1,40 @@
# Home Assistant Add-on: Sharry

[![GitHub Release][releases-shield]][releases]
![Project Stage][project-stage-shield]
[![License][license-shield]][license]

![Project Maintenance][maintenance-shield]
[![Community Forum][forum-shield]][forum]
[Sharry][sharry] permet de partager des fichiers avec d'autres de manière simple. C'est une application web auto-hébergé. Le concept de base est le suivant : téléchargez des fichiers et récupérez une URL qui peut ensuite être partagé.

[Sharry][sharry] allows to share files with others in a simple way. It is a self-hosted
web application. The basic concept is: upload files and get a url back that can
then be shared.

{% set repository = namespace(url='https%3A//github.com/mdegat01/hassio-addons', slug='39bd2704') %}
{% if channel == "edge" %}
{% set repository.url = repository.url + '-edge' %}
{% set repository.slug = '7eb274d5' %}
## WARNING! THIS IS AN EDGE REPOSITORY

This Add-ons repository contains edge builds of add-ons. Edge
builds of add-ons are based upon the latest development version.

- They may not work at all.
- They might stop working at any time.
- They could have a negative impact on your system.

This repository was created for:

- Anybody willing to test.
- Anybody interested in trying out upcoming add-ons or add-on features.
- Developers.

If you are more interested in stable releases of these add-ons:

<https://github.com/mdegat01/hassio-addons>

{% elif channel == "beta" %}
{% set repository.url = repository.url + '-beta' %}
{% set repository.slug = 'e9a81774' %}
## WARNING! THIS IS A BETA REPOSITORY

This Add-ons repository contains beta builds of add-ons. Beta
builds of add-ons are based upon the latest release including pre-releases.

- They might stop working at any time.
- They could have a negative impact on your system.

This repository was created for:

- Anybody willing to test.
- Anybody interested in trying out upcoming add-ons or add-on features.

If you are more interested in stable releases of these add-ons:

<https://github.com/mdegat01/hassio-addons>

{% endif %}
{% set repository = namespace(url='https%3A//github.com/erdnaxela02/hassio-addons', slug='c751e21a') %}
## About

This addon allows for quick and easy file sharing. You drag and drop files in
and get a link you can share with anyone. And you can create & share spaces others
can use to share files you. Anyone with a share link can get to it but only authenticated
users can make new share links. And URLs are hard to guess so users can control
who has access. It also has some nice features like resumable file uploads and
gallery display for photos and videos.
Cet add-on permet un partage de fichiers rapidement et facilement.
Vous glisser et déposez des fichiers et obtenez un lien que vous pouvez partager avec n'importe qui.
Vous pouvez également créer et partager des liens avec d'autres personnes qu'elles utiliseront pour partager des fichiers avec vous.
Toute personne disposant d'un lien de partage peut y accéder, mais seulement les utilisateurs authentifiée peuvent créer de nouveaux liens de partage.
Les URL sont difficiles à deviner afin que les utilisateurs puissent en contrôler qui y a accès.
Il a également quelques fonctionnalités intéressantes comme les téléchargements de fichiers avec reprise et l'affichage de la galerie pour les photos et les vidéos.

## Support

Got questions?

You have several ways to get them answered:

- The Home Assistant [Community Forum][forum]. I am
[CentralCommand][forum-centralcommand] there.
- The Home Assistant [Discord Chat Server][discord-ha]. Use the #add-ons channel,
I am CentralCommand#0913 there.
Je ne suis pas dévellopeur, n'ai aucune formation de code, je suis simplement autodidact.
Si vous avez une question concernant HA et ses add-ons vous pouvez consulter:

You could also [open an issue here][issue] on GitHub.
- [Le Forum communautaire francophone][HACF] de HomeAssistant
- [Le Forum communautaire anglophone][forum] de HomeAssistant.
- [Le serveur Discord][discord-ha] de HomeAssistant..

## Authors & contributors

The original setup of this repository is by [Mike Degatano][mdegat01].
Ce projet est un fork du projet original de [Mike Degatano][mdegat01].

For a full list of all authors and contributors,
check [the contributor's page][contributors].
Pour une liste complète des auteurs et contributeurs merci de consulter la [page des contributeurs][contributors].

## License

MIT License

Copyright (c) 2021-2022 Mike Degatano
Copyright (c) 2021-2022 [Mike Degatano][Mike-Degatano]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -108,24 +54,16 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

{% if channel == "edge" %}
[project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg
{% elif channel == "beta" %}
[project-stage-shield]: https://img.shields.io/badge/project%20stage-beta-orange.svg
{% else %}
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
{% endif %}
[contributors]: https://github.com/mdegat01/addon-promtail/graphs/contributors
[Mike-Degatano]: https://github.com/mdegat01
[contributors]: https://github.com/mdegat01/addon-sharry/graphs/contributors

[sharry]: https://eikek.github.io/sharry/
[discord-ha]: https://discord.gg/c5DvZ4e
[forum-centralcommand]: https://community.home-assistant.io/u/CentralCommand/?u=CentralCommand
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg
[forum]: https://community.home-assistant.io/t/home-assistant-add-on-sharry/300860?u=CentralCommand
[mdegat01]: https://github.com/mdegat01
[issue]: https://github.com/mdegat01/addon-sharry/issues
[forum]: https://community.home-assistant.io
[HACF]: https://forum.hacf.fr/

[license]: https://github.com/mdegat01/addon-sharry/blob/main/LICENSE
[license-shield]: https://img.shields.io/github/license/mdegat01/addon-sharry.svg
[maintenance-shield]: https://img.shields.io/maintenance/yes/2022.svg
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
[releases-shield]: https://img.shields.io/github/release/mdegat01/addon-sharry.svg
[releases]: https://github.com/mdegat01/addon-sharry/releases
[sharry]: https://eikek.github.io/sharry/

[releases]: https://github.com/erdnaxela02/addon-sharry/releases
[releases-shield]: https://img.shields.io/github/v/release/erdnaxela02/addon-sharry
3 changes: 1 addition & 2 deletions sharry/build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
build_from:
amd64: ghcr.io/hassio-addons/base:12.2.3
aarch64: ghcr.io/hassio-addons/base:12.2.3
codenotary:
base_image: [email protected]
signer: [email protected]
signer: [email protected]
8 changes: 5 additions & 3 deletions sharry/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ version: edge
slug: sharry
arch:
- aarch64
- amd64
description: Sharry for Home Assistant
codenotary: [email protected]
description: Sharry pour Home Assistant
codenotary: [email protected]
init: false
image: ghcr.io/erdnaxela02/sharry/{arch}
map:
- share:rw
services:
- mysql:want
auth_api: true
Expand Down

0 comments on commit 2ca01db

Please sign in to comment.