manifest.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "Wifi Hotspot",
  3. "id": "hotspot",
  4. "packaging_format": 1,
  5. "description": {
  6. "en": "Wifi Hotspot",
  7. "fr": "Hotspot Wifi"
  8. },
  9. "url": "https://github.com/labriqueinternet/hotspot_ynh",
  10. "version": "1.2.0",
  11. "license": "AGPL-3.0",
  12. "maintainer": {
  13. "name": "Julien Vaubourg",
  14. "email": "julien@vaubourg.com",
  15. "url": "http://julien.vaubourg.com"
  16. },
  17. "requirements": {
  18. "yunohost": ">= 3.2.0"
  19. },
  20. "multi_instance": false,
  21. "services": [
  22. "php5-fpm"
  23. ],
  24. "arguments": {
  25. "install" : [
  26. {
  27. "name": "domain",
  28. "type": "domain",
  29. "ask": {
  30. "en": "Choose a domain for the web administration",
  31. "fr": "Choisissez un domaine pour l'administration web"
  32. },
  33. "example": "domain.org"
  34. },
  35. {
  36. "name": "path",
  37. "type": "path",
  38. "ask": {
  39. "en": "Choose a path for the web administration",
  40. "fr": "Choisissez un chemin pour l'administration web"
  41. },
  42. "example": "/wifiadmin",
  43. "default": "/wifiadmin"
  44. },
  45. {
  46. "name": "wifi_ssid",
  47. "type": "string",
  48. "ask": {
  49. "en": "Choose a wifi name (SSID)",
  50. "fr": "Choisissez un nom pour le wifi (SSID)"
  51. },
  52. "example": "myNeutralNetwork",
  53. "default": "myNeutralNetwork"
  54. },
  55. {
  56. "name": "wifi_passphrase",
  57. "type": "password",
  58. "ask": {
  59. "en": "Choose a wifi password (at least 8 characters for WPA2)",
  60. "fr": "Choisissez un mot de passe wifi (au minimum 8 caractères pour le WPA2)"
  61. },
  62. "example": "VhegT8oev0jZI"
  63. },
  64. {
  65. "name": "firmware_nonfree",
  66. "type": "string",
  67. "choice": ["yes", "no"],
  68. "ask": {
  69. "en": "Install non-free firmwares - in addition to the free ones - for the wifi dongle (yes/no)",
  70. "fr": "Installer des firmwares non-libres (en plus des libres) pour la clé USB wifi (yes/no)"
  71. },
  72. "example": "yes",
  73. "default": "yes"
  74. }
  75. ]
  76. }
  77. }