@omer-x/buttler 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/README.md +173 -0
  2. package/package.json +24 -21
  3. package/ui/.next/BUILD_ID +1 -1
  4. package/ui/.next/app-build-manifest.json +85 -64
  5. package/ui/.next/app-path-routes-manifest.json +1 -1
  6. package/ui/.next/build-manifest.json +15 -14
  7. package/ui/.next/prerender-manifest.json +1 -1
  8. package/ui/.next/react-loadable-manifest.json +192 -192
  9. package/ui/.next/required-server-files.json +1 -1
  10. package/ui/.next/routes-manifest.json +1 -1
  11. package/ui/.next/server/app/_not-found/page.js +1 -1
  12. package/ui/.next/server/app/_not-found/page.js.nft.json +1 -1
  13. package/ui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  14. package/ui/.next/server/app/_not-found.html +1 -1
  15. package/ui/.next/server/app/_not-found.meta +2 -0
  16. package/ui/.next/server/app/_not-found.rsc +19 -15
  17. package/ui/.next/server/app/api/db/backup/route.js +1 -1
  18. package/ui/.next/server/app/api/db/backup/route.js.nft.json +1 -1
  19. package/ui/.next/server/app/api/db/backup/route_client-reference-manifest.js +1 -0
  20. package/ui/.next/server/app/api/logs/route.js +1 -1
  21. package/ui/.next/server/app/api/logs/route.js.nft.json +1 -1
  22. package/ui/.next/server/app/api/logs/route_client-reference-manifest.js +1 -0
  23. package/ui/.next/server/app/index.html +1 -1
  24. package/ui/.next/server/app/index.meta +2 -0
  25. package/ui/.next/server/app/index.rsc +19 -11
  26. package/ui/.next/server/app/page.js +1 -1
  27. package/ui/.next/server/app/page.js.nft.json +1 -1
  28. package/ui/.next/server/app/page_client-reference-manifest.js +1 -1
  29. package/ui/.next/server/app/services/[id]/databases/page.js +1 -1
  30. package/ui/.next/server/app/services/[id]/databases/page.js.nft.json +1 -1
  31. package/ui/.next/server/app/services/[id]/databases/page_client-reference-manifest.js +1 -1
  32. package/ui/.next/server/app/services/[id]/edit/page.js +1 -1
  33. package/ui/.next/server/app/services/[id]/edit/page.js.nft.json +1 -1
  34. package/ui/.next/server/app/services/[id]/edit/page_client-reference-manifest.js +1 -1
  35. package/ui/.next/server/app/services/[id]/page.js +1 -1
  36. package/ui/.next/server/app/services/[id]/page.js.nft.json +1 -1
  37. package/ui/.next/server/app/services/[id]/page_client-reference-manifest.js +1 -1
  38. package/ui/.next/server/app/services/page.js +1 -1
  39. package/ui/.next/server/app/services/page.js.nft.json +1 -1
  40. package/ui/.next/server/app/services/page_client-reference-manifest.js +1 -1
  41. package/ui/.next/server/app/settings/page.js +1 -1
  42. package/ui/.next/server/app/settings/page.js.nft.json +1 -1
  43. package/ui/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  44. package/ui/.next/server/app/settings.html +1 -1
  45. package/ui/.next/server/app/settings.meta +2 -0
  46. package/ui/.next/server/app/settings.rsc +28 -20
  47. package/ui/.next/server/app/webhook/route.js +1 -1
  48. package/ui/.next/server/app/webhook/route.js.nft.json +1 -1
  49. package/ui/.next/server/app/webhook/route_client-reference-manifest.js +1 -0
  50. package/ui/.next/server/app-paths-manifest.json +3 -3
  51. package/ui/.next/server/chunks/124.js +1 -0
  52. package/ui/.next/server/chunks/284.js +13 -0
  53. package/ui/.next/server/chunks/363.js +1 -0
  54. package/ui/.next/server/chunks/471.js +1 -0
  55. package/ui/.next/server/chunks/557.js +1 -0
  56. package/ui/.next/server/chunks/571.js +2 -0
  57. package/ui/.next/server/chunks/606.js +1 -0
  58. package/ui/.next/server/chunks/627.js +6 -0
  59. package/ui/.next/server/chunks/640.js +1 -0
  60. package/ui/.next/server/chunks/806.js +13 -0
  61. package/ui/.next/server/chunks/82.js +3 -0
  62. package/ui/.next/server/chunks/994.js +13 -0
  63. package/ui/.next/server/instrumentation.js +1 -1
  64. package/ui/.next/server/middleware-build-manifest.js +1 -1
  65. package/ui/.next/server/middleware-react-loadable-manifest.js +1 -1
  66. package/ui/.next/server/pages/404.html +1 -1
  67. package/ui/.next/server/pages/500.html +1 -1
  68. package/ui/.next/server/pages/_app.js +1 -1
  69. package/ui/.next/server/pages/_app.js.nft.json +1 -1
  70. package/ui/.next/server/pages/_document.js +1 -1
  71. package/ui/.next/server/pages/_document.js.nft.json +1 -1
  72. package/ui/.next/server/pages/_error.js +1 -1
  73. package/ui/.next/server/pages/_error.js.nft.json +1 -1
  74. package/ui/.next/server/server-reference-manifest.js +1 -1
  75. package/ui/.next/server/server-reference-manifest.json +1 -1
  76. package/ui/.next/server/webpack-runtime.js +1 -1
  77. package/ui/.next/static/-IyDb-UkfsY66Fnk2jTmF/_buildManifest.js +1 -0
  78. package/ui/.next/static/chunks/121-696b40648ac380c3.js +1 -0
  79. package/ui/.next/static/chunks/175-9a7735c1b176836a.js +1 -0
  80. package/ui/.next/static/chunks/179-61b51145e45a5a8a.js +1 -0
  81. package/ui/.next/static/chunks/181-3c7f47d298a6c5ba.js +1 -0
  82. package/ui/.next/static/chunks/275-b00b1f9d8d43921a.js +1 -0
  83. package/ui/.next/static/chunks/33-6a8a5d476c194d98.js +1 -0
  84. package/ui/.next/static/chunks/4bd1b696-ac5c9b695fa3e66d.js +1 -0
  85. package/ui/.next/static/chunks/517-294eec10d95890a5.js +2 -0
  86. package/ui/.next/static/chunks/537-0bc07043ff4dbf97.js +1 -0
  87. package/ui/.next/static/chunks/950-5e7233cf9e267e4f.js +1 -0
  88. package/ui/.next/static/chunks/app/_not-found/page-3105c243860143b1.js +1 -0
  89. package/ui/.next/static/chunks/app/api/db/backup/route-8452d22eaacd89f2.js +1 -0
  90. package/ui/.next/static/chunks/app/api/logs/route-b98b5626905b8864.js +1 -0
  91. package/ui/.next/static/chunks/app/layout-62ccc36441c6532b.js +1 -0
  92. package/ui/.next/static/chunks/app/page-5df13438f3e9dc6d.js +1 -0
  93. package/ui/.next/static/chunks/app/services/[id]/databases/page-af1ed1fbc977bcfc.js +1 -0
  94. package/ui/.next/static/chunks/app/services/[id]/edit/page-bcc8c30557196530.js +1 -0
  95. package/ui/.next/static/chunks/app/services/[id]/page-d0f3970faffda3af.js +1 -0
  96. package/ui/.next/static/chunks/app/services/page-d2dbcb1bfbf99d9c.js +1 -0
  97. package/ui/.next/static/chunks/app/settings/page-f07d3a5fd6660bc2.js +1 -0
  98. package/ui/.next/static/chunks/app/webhook/route-e28a1c8e342a8432.js +1 -0
  99. package/ui/.next/static/chunks/framework-895c1583be5f925a.js +1 -0
  100. package/ui/.next/static/chunks/main-045a680c8b23286d.js +1 -0
  101. package/ui/.next/static/chunks/main-app-d3ad9b54ff2f4460.js +1 -0
  102. package/ui/.next/static/chunks/pages/_app-abffdcde9d309a0c.js +1 -0
  103. package/ui/.next/static/chunks/pages/_error-94b8133dd8229633.js +1 -0
  104. package/ui/.next/static/chunks/webpack-a19e0d5a5b664ed9.js +1 -0
  105. package/ui/package.json +23 -20
  106. package/ui/server.js +1 -1
  107. package/ui/.next/server/chunks/116.js +0 -13
  108. package/ui/.next/server/chunks/269.js +0 -2
  109. package/ui/.next/server/chunks/361.js +0 -1
  110. package/ui/.next/server/chunks/397.js +0 -1
  111. package/ui/.next/server/chunks/549.js +0 -1
  112. package/ui/.next/server/chunks/659.js +0 -1
  113. package/ui/.next/server/chunks/681.js +0 -1
  114. package/ui/.next/server/chunks/682.js +0 -6
  115. package/ui/.next/server/chunks/719.js +0 -1
  116. package/ui/.next/server/chunks/863.js +0 -1
  117. package/ui/.next/server/chunks/871.js +0 -2
  118. package/ui/.next/server/chunks/902.js +0 -13
  119. package/ui/.next/server/chunks/948.js +0 -2
  120. package/ui/.next/server/edge-instrumentation.js +0 -2
  121. package/ui/.next/server/font-manifest.json +0 -1
  122. package/ui/.next/static/chunks/117-3b8d34fa94485032.js +0 -2
  123. package/ui/.next/static/chunks/146-5b9462531053a4c5.js +0 -1
  124. package/ui/.next/static/chunks/303-c65efd1cc09d56fd.js +0 -1
  125. package/ui/.next/static/chunks/355-1e51ac955ff8955f.js +0 -1
  126. package/ui/.next/static/chunks/391-496467ca6f95afde.js +0 -1
  127. package/ui/.next/static/chunks/392-27b37c7f04898266.js +0 -1
  128. package/ui/.next/static/chunks/581-2e3e69ca13e0474f.js +0 -1
  129. package/ui/.next/static/chunks/734-02b6331f3bd9c318.js +0 -1
  130. package/ui/.next/static/chunks/857-f888440b100832b8.js +0 -1
  131. package/ui/.next/static/chunks/app/_not-found/page-31d3ea3db635cbc2.js +0 -1
  132. package/ui/.next/static/chunks/app/layout-dd91aec6218093d2.js +0 -1
  133. package/ui/.next/static/chunks/app/page-6b7dd63af3dd45de.js +0 -1
  134. package/ui/.next/static/chunks/app/services/[id]/databases/page-0ab83677f41e4872.js +0 -1
  135. package/ui/.next/static/chunks/app/services/[id]/edit/page-4e855fc95079d3b0.js +0 -1
  136. package/ui/.next/static/chunks/app/services/[id]/page-91c945af4fe4b38f.js +0 -1
  137. package/ui/.next/static/chunks/app/services/page-e1eb6d0670544d2c.js +0 -1
  138. package/ui/.next/static/chunks/app/settings/page-972e8f623bc80dde.js +0 -1
  139. package/ui/.next/static/chunks/fd9d1056-2fd070b6bf76421a.js +0 -1
  140. package/ui/.next/static/chunks/framework-00a8ba1a63cfdc9e.js +0 -1
  141. package/ui/.next/static/chunks/main-003047948bd01e37.js +0 -1
  142. package/ui/.next/static/chunks/main-app-65b07a3d5b8df539.js +0 -1
  143. package/ui/.next/static/chunks/pages/_app-15e2daefa259f0b5.js +0 -1
  144. package/ui/.next/static/chunks/pages/_error-28b803cb2479b966.js +0 -1
  145. package/ui/.next/static/chunks/webpack-87d7cc477c47986b.js +0 -1
  146. package/ui/.next/static/iPuJc_dz0G66oW0IF7CF9/_buildManifest.js +0 -1
  147. /package/ui/.next/static/{iPuJc_dz0G66oW0IF7CF9 → -IyDb-UkfsY66Fnk2jTmF}/_ssgManifest.js +0 -0
package/README.md CHANGED
@@ -0,0 +1,173 @@
1
+ <img src="https://raw.githubusercontent.com/omermecitoglu/buttler/main/src/assets/logo.png" alt="Jukebox Logo" width="150" height="150">
2
+
3
+ # Buttler
4
+
5
+ [![npm version](https://img.shields.io/npm/v/@omer-x/buttler?logo=npm&logoColor=CB3837&color=CB3837)](https://www.npmjs.com/package/@omer-x/buttler)
6
+ [![npm downloads](https://img.shields.io/npm/dm/@omer-x/buttler?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNi4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjQgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTI4OCAzMmMwLTE3LjctMTQuMy0zMi0zMi0zMnMtMzIgMTQuMy0zMiAzMmwwIDI0Mi43LTczLjQtNzMuNGMtMTIuNS0xMi41LTMyLjgtMTIuNS00NS4zIDBzLTEyLjUgMzIuOCAwIDQ1LjNsMTI4IDEyOGMxMi41IDEyLjUgMzIuOCAxMi41IDQ1LjMgMGwxMjgtMTI4YzEyLjUtMTIuNSAxMi41LTMyLjggMC00NS4zcy0zMi44LTEyLjUtNDUuMyAwTDI4OCAyNzQuNyAyODggMzJ6TTY0IDM1MmMtMzUuMyAwLTY0IDI4LjctNjQgNjRsMCAzMmMwIDM1LjMgMjguNyA2NCA2NCA2NGwzODQgMGMzNS4zIDAgNjQtMjguNyA2NC02NGwwLTMyYzAtMzUuMy0yOC43LTY0LTY0LTY0bC0xMDEuNSAwLTQ1LjMgNDUuM2MtMjUgMjUtNjUuNSAyNS05MC41IDBMMTY1LjUgMzUyIDY0IDM1MnptMzY4IDU2YTI0IDI0IDAgMSAxIDAgNDggMjQgMjQgMCAxIDEgMC00OHoiIGZpbGw9IiMwMDc4MjAiIC8+PC9zdmc+&color=007820)](https://www.npmjs.com/package/@omer-x/buttler)
7
+ [![codecov](https://codecov.io/gh/omermecitoglu/buttler/branch/main/graph/badge.svg)](https://codecov.io/gh/omermecitoglu/buttler)
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNi4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjQgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTM4NCAzMmwxMjggMGMxNy43IDAgMzIgMTQuMyAzMiAzMnMtMTQuMyAzMi0zMiAzMkwzOTguNCA5NmMtNS4yIDI1LjgtMjIuOSA0Ny4xLTQ2LjQgNTcuM0wzNTIgNDQ4bDE2MCAwYzE3LjcgMCAzMiAxNC4zIDMyIDMycy0xNC4zIDMyLTMyIDMybC0xOTIgMC0xOTIgMGMtMTcuNyAwLTMyLTE0LjMtMzItMzJzMTQuMy0zMiAzMi0zMmwxNjAgMCAwLTI5NC43Yy0yMy41LTEwLjMtNDEuMi0zMS42LTQ2LjQtNTcuM0wxMjggOTZjLTE3LjcgMC0zMi0xNC4zLTMyLTMyczE0LjMtMzIgMzItMzJsMTI4IDBjMTQuNi0xOS40IDM3LjgtMzIgNjQtMzJzNDkuNCAxMi42IDY0IDMyem01NS42IDI4OGwxNDQuOSAwTDUxMiAxOTUuOCA0MzkuNiAzMjB6TTUxMiA0MTZjLTYyLjkgMC0xMTUuMi0zNC0xMjYtNzguOWMtMi42LTExIDEtMjIuMyA2LjctMzIuMWw5NS4yLTE2My4yYzUtOC42IDE0LjItMTMuOCAyNC4xLTEzLjhzMTkuMSA1LjMgMjQuMSAxMy44bDk1LjIgMTYzLjJjNS43IDkuOCA5LjMgMjEuMSA2LjcgMzIuMUM2MjcuMiAzODIgNTc0LjkgNDE2IDUxMiA0MTZ6TTEyNi44IDE5NS44TDU0LjQgMzIwbDE0NC45IDBMMTI2LjggMTk1Ljh6TS45IDMzNy4xYy0yLjYtMTEgMS0yMi4zIDYuNy0zMi4xbDk1LjItMTYzLjJjNS04LjYgMTQuMi0xMy44IDI0LjEtMTMuOHMxOS4xIDUuMyAyNC4xIDEzLjhsOTUuMiAxNjMuMmM1LjcgOS44IDkuMyAyMS4xIDYuNyAzMi4xQzI0MiAzODIgMTg5LjcgNDE2IDEyNi44IDQxNlMxMS43IDM4MiAuOSAzMzcuMXoiIGZpbGw9IiNEMEE4MUMiIC8+PC9zdmc+)](https://opensource.org/licenses/MIT)
9
+ [![GitHub last commit](https://img.shields.io/github/last-commit/omermecitoglu/buttler?color=c977be&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNi4wIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjQgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTMyMCAzMzZhODAgODAgMCAxIDAgMC0xNjAgODAgODAgMCAxIDAgMCAxNjB6bTE1Ni44LTQ4QzQ2MiAzNjEgMzk3LjQgNDE2IDMyMCA0MTZzLTE0Mi01NS0xNTYuOC0xMjhMMzIgMjg4Yy0xNy43IDAtMzItMTQuMy0zMi0zMnMxNC4zLTMyIDMyLTMybDEzMS4yIDBDMTc4IDE1MSAyNDIuNiA5NiAzMjAgOTZzMTQyIDU1IDE1Ni44IDEyOEw2MDggMjI0YzE3LjcgMCAzMiAxNC4zIDMyIDMycy0xNC4zIDMyLTMyIDMybC0xMzEuMiAweiIgZmlsbD0iI0M5NzdCRSIgLz48L3N2Zz4=)](https://github.com/omermecitoglu/buttler/commits/main/)
10
+ [![GitHub issues](https://img.shields.io/github/issues/omermecitoglu/buttler?color=a38eed&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij4KICA8cGF0aCBkPSJNOCA5LjVhMS41IDEuNSAwIDEgMCAwLTMgMS41IDEuNSAwIDAgMCAwIDNaIiBmaWxsPSIjQTM4RUVEIj48L3BhdGg+CiAgPHBhdGggZD0iTTggMGE4IDggMCAxIDEgMCAxNkE4IDggMCAwIDEgOCAwWk0xLjUgOGE2LjUgNi41IDAgMSAwIDEzIDAgNi41IDYuNSAwIDAgMC0xMyAwWiIgZmlsbD0iI0EzOEVFRCI+PC9wYXRoPgo8L3N2Zz4=)](https://github.com/omermecitoglu/buttler/issues)
11
+ [![GitHub stars](https://img.shields.io/github/stars/omermecitoglu/buttler?style=social)](https://github.com/omermecitoglu/buttler)
12
+
13
+ ## Table of Contents
14
+ - [Overview](#overview)
15
+ - [Features](#features)
16
+ - [Planned features](#planned-features)
17
+ - [Known bugs](#known-bugs)
18
+ - [Requirements](#requirements)
19
+ - [Installation](#installation)
20
+ - [Usage](#usage)
21
+ - [Screenshots](#screenshots)
22
+ - [Contributing](#contributing)
23
+ - [License](#license)
24
+
25
+ ## Overview
26
+
27
+ Buttler automates CI/CD workflows using Docker and GitHub webhooks
28
+
29
+ ### Features
30
+
31
+ - Dark Mode ([see screenshots](#dark-mode))
32
+ - Mega.io integration to save database backups ([see screenshots](#settings))
33
+ - Hosting applications from a GitHub repository ([see screenshots](#custom-service))
34
+ - must have a `Dockerfile` in its root directory
35
+ - can be a private repo, but [ssh key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) of the hosting machine must be added to [Deploy keys](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/managing-deploy-keys)
36
+ - Creates a new build image automatically via [GitHub webhooks](https://docs.github.com/en/webhooks/about-webhooks) and deploys it
37
+ - Database services ([see screenshots](#database-service))
38
+ - Engines:
39
+ - [PostgreSQL](https://www.postgresql.org)
40
+ - [MySQL](https://www.mysql.com) *(not implemented yet)*
41
+ - [MongoDB](https://www.mongodb.com) *(not implemented yet)*
42
+ - [Redis](https://redis.io) *(not implemented yet)*
43
+ - can be linked to other services ([see screenshots](#linking-services))
44
+ - Services dashboard ([see screenshots](#list-of-services))
45
+ - Edit service page ([see screenshots](#edit-service-page))
46
+ - Manage service ports
47
+ - Manage environment variables
48
+ - Copy-paste env variables easily
49
+ - Service details page ([see screenshots](#service-details))
50
+ - Container logs ([see screenshots](#container-logs))
51
+ - List of build images ([see screenshots](#list-of-build-images))
52
+ - Button fir triggering a manual build for custom services ([see screenshots](#manual-build))
53
+ - Button for triggering a manual backup for database services ([see screenshots](#manual-backup))
54
+ - Linking services ([see screenshots](#linking-services))
55
+ - Creates private network between service containers
56
+ - Custom service inherits necessary env variables automatically for the database ([see screenshots](#Auto-env-inheritance))
57
+
58
+ ### Planned features
59
+
60
+ You can find the planned features [here](https://github.com/omermecitoglu/buttler/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement)
61
+
62
+ ### Known bugs
63
+
64
+ You can see the known bugs [here](https://github.com/omermecitoglu/buttler/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
65
+
66
+ ## Requirements
67
+
68
+ To use `Buttler`, you'll need the following dependencies installed in your machine:
69
+
70
+ - [Node.js](https://nodejs.org) >= v19
71
+ - [NPM](https://www.npmjs.com)
72
+ - [Docker](https://www.docker.com)
73
+ - [SQLite](https://www.sqlite.org)
74
+
75
+ ## Installation
76
+
77
+ Install `Buttler` globally using npm:
78
+
79
+ ```bash
80
+ npm i -g @omer-x/buttler
81
+ ```
82
+
83
+ ## Usage
84
+
85
+ To launch the application
86
+
87
+ ```bash
88
+ buttler start
89
+ ```
90
+
91
+ Then open your browser and navigate to:
92
+
93
+ ```arduino
94
+ http://localhost:2083
95
+ ```
96
+
97
+ To terminate the application
98
+
99
+ ```bash
100
+ buttler stop
101
+ ```
102
+
103
+ To relaunch the application
104
+
105
+ ```bash
106
+ buttler restart
107
+ ```
108
+
109
+ ## Screenshots
110
+
111
+ ### Dark Mode
112
+
113
+ ![Screenshot 01](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/01.png)
114
+
115
+ ### Settings
116
+
117
+ ![Screenshot 02](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/02.png)
118
+
119
+ ### Custom service
120
+
121
+ ![Screenshot 03](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/03.png)
122
+
123
+ ### Database service
124
+
125
+ ![Screenshot 04](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/04.png)
126
+
127
+ ### List of services
128
+
129
+ ![Screenshot 05](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/05.png)
130
+
131
+ ### Edit service page
132
+
133
+ ![Screenshot 06](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/06.png)
134
+
135
+ ![Screenshot 07](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/07.png)
136
+
137
+ ### Service details
138
+
139
+ ![Screenshot 10](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/10.png)
140
+
141
+ ### Manual Build
142
+
143
+ ![Screenshot 08](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/08.png)
144
+
145
+ ### List of build images
146
+
147
+ ![Screenshot 09](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/09.png)
148
+
149
+ ### Manual backup
150
+
151
+ ![Screenshot 11](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/11.png)
152
+
153
+ ### Container logs
154
+
155
+ ![Screenshot 12](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/12.png)
156
+
157
+ ### Linking services
158
+
159
+ ![Screenshot 13](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/13.png)
160
+
161
+ ![Screenshot 14](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/14.png)
162
+
163
+ ### Auto env inheritance
164
+
165
+ ![Screenshot 15](https://raw.githubusercontent.com/omermecitoglu/buttler/main/screenshots/15.png)
166
+
167
+ ## Contributing
168
+
169
+ Contributions are welcome! Please open an issue or submit a pull request for any feature requests or bug fixes.
170
+
171
+ ## License
172
+
173
+ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omer-x/buttler",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "automates CI/CD workflows using Docker and GitHub webhooks",
5
5
  "keywords": [
6
6
  "automation",
@@ -57,44 +57,47 @@
57
57
  "build": "npm run build:cli && npm run build:ui"
58
58
  },
59
59
  "dependencies": {
60
- "@fortawesome/fontawesome-svg-core": "^6.7.1",
61
- "@fortawesome/free-brands-svg-icons": "^6.7.1",
62
- "@fortawesome/free-solid-svg-icons": "^6.7.1",
60
+ "@fortawesome/fontawesome-svg-core": "^6.7.2",
61
+ "@fortawesome/free-brands-svg-icons": "^6.7.2",
62
+ "@fortawesome/free-solid-svg-icons": "^6.7.2",
63
63
  "@fortawesome/react-fontawesome": "^0.2.2",
64
- "@omer-x/bs-ui-kit": "^1.7.1",
65
- "better-sqlite3": "^11.6.0",
64
+ "@omer-x/bs-ui-kit": "^1.9.3",
65
+ "better-sqlite3": "^11.7.0",
66
66
  "bootstrap": "^5.3.3",
67
67
  "change-case": "^5.4.4",
68
- "commander": "^12.1.0",
68
+ "commander": "^13.0.0",
69
69
  "dockerode": "^4.0.2",
70
- "drizzle-orm": "^0.36.4",
70
+ "drizzle-orm": "^0.37.0",
71
71
  "drizzle-zod": "^0.5.1",
72
- "megajs": "^1.3.4",
73
- "next": "^14.2.18",
74
- "react": "^18.3.1",
75
- "react-bootstrap": "^2.10.6",
76
- "react-dom": "^18.3.1",
72
+ "megajs": "^1.3.5",
73
+ "next": "^15.1.3",
74
+ "react": "^19.0.0",
75
+ "react-bootstrap": "^2.10.7",
76
+ "react-dom": "^19.0.0",
77
77
  "react-syntax-highlighter": "^15.6.1",
78
78
  "sharp": "^0.33.5",
79
79
  "simple-git": "^3.27.0",
80
80
  "tar-fs": "^3.0.6",
81
81
  "uuid": "^11.0.3",
82
- "zod": "^3.23.8"
82
+ "zod": "^3.24.1"
83
83
  },
84
84
  "devDependencies": {
85
- "@next/eslint-plugin-next": "^14.2.18",
86
- "@omer-x/eslint-config": "^1.0.7",
85
+ "@next/eslint-plugin-next": "^15.1.3",
86
+ "@omer-x/eslint-config": "^2.1.2",
87
87
  "@omer-x/next-openapi-scaffold-generator": "^0.3.0",
88
88
  "@types/better-sqlite3": "^7.6.12",
89
89
  "@types/dockerode": "^3.3.32",
90
- "@types/node": "^22.10.0",
91
- "@types/react": "^18.3.12",
90
+ "@types/node": "^22.10.2",
91
+ "@types/react": "^19.0.2",
92
92
  "@types/react-syntax-highlighter": "^15.5.13",
93
93
  "@types/tar-fs": "^2.0.4",
94
94
  "copyfiles": "^2.4.1",
95
- "drizzle-kit": "^0.28.1",
96
- "eslint": "^8.57.1",
97
- "sass": "^1.81.0",
95
+ "drizzle-kit": "^0.29.1",
96
+ "eslint": "^9.17.0",
97
+ "eslint-plugin-jsx-a11y": "^6.10.2",
98
+ "eslint-plugin-react": "^7.37.3",
99
+ "rimraf": "^6.0.1",
100
+ "sass": "^1.83.0",
98
101
  "semantic-release": "^24.2.0",
99
102
  "ts-unused-exports": "^11.0.1",
100
103
  "tsup": "^8.3.5",
package/ui/.next/BUILD_ID CHANGED
@@ -1 +1 @@
1
- iPuJc_dz0G66oW0IF7CF9
1
+ -IyDb-UkfsY66Fnk2jTmF
@@ -1,87 +1,108 @@
1
1
  {
2
2
  "pages": {
3
3
  "/_not-found/page": [
4
- "static/chunks/webpack-87d7cc477c47986b.js",
5
- "static/chunks/fd9d1056-2fd070b6bf76421a.js",
6
- "static/chunks/117-3b8d34fa94485032.js",
7
- "static/chunks/main-app-65b07a3d5b8df539.js",
8
- "static/chunks/app/_not-found/page-31d3ea3db635cbc2.js"
4
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
5
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
6
+ "static/chunks/517-294eec10d95890a5.js",
7
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
8
+ "static/chunks/app/_not-found/page-3105c243860143b1.js"
9
9
  ],
10
10
  "/layout": [
11
- "static/chunks/webpack-87d7cc477c47986b.js",
12
- "static/chunks/fd9d1056-2fd070b6bf76421a.js",
13
- "static/chunks/117-3b8d34fa94485032.js",
14
- "static/chunks/main-app-65b07a3d5b8df539.js",
15
- "static/css/ec6ebd6699fb7dbb.css",
11
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
12
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
13
+ "static/chunks/517-294eec10d95890a5.js",
14
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
16
15
  "static/css/59996bdb2e04e5fb.css",
17
- "static/chunks/581-2e3e69ca13e0474f.js",
18
- "static/chunks/392-27b37c7f04898266.js",
19
- "static/chunks/857-f888440b100832b8.js",
20
- "static/chunks/app/layout-dd91aec6218093d2.js"
16
+ "static/css/ec6ebd6699fb7dbb.css",
17
+ "static/chunks/275-b00b1f9d8d43921a.js",
18
+ "static/chunks/181-3c7f47d298a6c5ba.js",
19
+ "static/chunks/179-61b51145e45a5a8a.js",
20
+ "static/chunks/app/layout-62ccc36441c6532b.js"
21
21
  ],
22
- "/page": [
23
- "static/chunks/webpack-87d7cc477c47986b.js",
24
- "static/chunks/fd9d1056-2fd070b6bf76421a.js",
25
- "static/chunks/117-3b8d34fa94485032.js",
26
- "static/chunks/main-app-65b07a3d5b8df539.js",
27
- "static/chunks/app/page-6b7dd63af3dd45de.js"
22
+ "/api/db/backup/route": [
23
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
24
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
25
+ "static/chunks/517-294eec10d95890a5.js",
26
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
27
+ "static/chunks/app/api/db/backup/route-8452d22eaacd89f2.js"
28
+ ],
29
+ "/api/logs/route": [
30
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
31
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
32
+ "static/chunks/517-294eec10d95890a5.js",
33
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
34
+ "static/chunks/app/api/logs/route-b98b5626905b8864.js"
35
+ ],
36
+ "/webhook/route": [
37
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
38
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
39
+ "static/chunks/517-294eec10d95890a5.js",
40
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
41
+ "static/chunks/app/webhook/route-e28a1c8e342a8432.js"
28
42
  ],
29
43
  "/services/[id]/databases/page": [
30
- "static/chunks/webpack-87d7cc477c47986b.js",
31
- "static/chunks/fd9d1056-2fd070b6bf76421a.js",
32
- "static/chunks/117-3b8d34fa94485032.js",
33
- "static/chunks/main-app-65b07a3d5b8df539.js",
44
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
45
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
46
+ "static/chunks/517-294eec10d95890a5.js",
47
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
34
48
  "static/css/001936a28cd34ad6.css",
35
- "static/chunks/581-2e3e69ca13e0474f.js",
36
- "static/chunks/146-5b9462531053a4c5.js",
37
- "static/chunks/355-1e51ac955ff8955f.js",
38
- "static/chunks/391-496467ca6f95afde.js",
39
- "static/chunks/app/services/[id]/databases/page-0ab83677f41e4872.js"
49
+ "static/chunks/275-b00b1f9d8d43921a.js",
50
+ "static/chunks/121-696b40648ac380c3.js",
51
+ "static/chunks/175-9a7735c1b176836a.js",
52
+ "static/chunks/537-0bc07043ff4dbf97.js",
53
+ "static/chunks/app/services/[id]/databases/page-af1ed1fbc977bcfc.js"
54
+ ],
55
+ "/page": [
56
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
57
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
58
+ "static/chunks/517-294eec10d95890a5.js",
59
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
60
+ "static/chunks/app/page-5df13438f3e9dc6d.js"
40
61
  ],
41
62
  "/services/[id]/edit/page": [
42
- "static/chunks/webpack-87d7cc477c47986b.js",
43
- "static/chunks/fd9d1056-2fd070b6bf76421a.js",
44
- "static/chunks/117-3b8d34fa94485032.js",
45
- "static/chunks/main-app-65b07a3d5b8df539.js",
46
- "static/chunks/581-2e3e69ca13e0474f.js",
47
- "static/chunks/146-5b9462531053a4c5.js",
48
- "static/chunks/355-1e51ac955ff8955f.js",
49
- "static/chunks/392-27b37c7f04898266.js",
50
- "static/chunks/734-02b6331f3bd9c318.js",
51
- "static/chunks/app/services/[id]/edit/page-4e855fc95079d3b0.js"
63
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
64
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
65
+ "static/chunks/517-294eec10d95890a5.js",
66
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
67
+ "static/chunks/275-b00b1f9d8d43921a.js",
68
+ "static/chunks/121-696b40648ac380c3.js",
69
+ "static/chunks/175-9a7735c1b176836a.js",
70
+ "static/chunks/181-3c7f47d298a6c5ba.js",
71
+ "static/chunks/33-6a8a5d476c194d98.js",
72
+ "static/chunks/app/services/[id]/edit/page-bcc8c30557196530.js"
52
73
  ],
53
74
  "/services/[id]/page": [
54
- "static/chunks/webpack-87d7cc477c47986b.js",
55
- "static/chunks/fd9d1056-2fd070b6bf76421a.js",
56
- "static/chunks/117-3b8d34fa94485032.js",
57
- "static/chunks/main-app-65b07a3d5b8df539.js",
75
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
76
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
77
+ "static/chunks/517-294eec10d95890a5.js",
78
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
58
79
  "static/css/001936a28cd34ad6.css",
59
- "static/chunks/581-2e3e69ca13e0474f.js",
60
- "static/chunks/146-5b9462531053a4c5.js",
61
- "static/chunks/355-1e51ac955ff8955f.js",
62
- "static/chunks/391-496467ca6f95afde.js",
63
- "static/chunks/303-c65efd1cc09d56fd.js",
64
- "static/chunks/app/services/[id]/page-91c945af4fe4b38f.js"
80
+ "static/chunks/275-b00b1f9d8d43921a.js",
81
+ "static/chunks/121-696b40648ac380c3.js",
82
+ "static/chunks/175-9a7735c1b176836a.js",
83
+ "static/chunks/537-0bc07043ff4dbf97.js",
84
+ "static/chunks/950-5e7233cf9e267e4f.js",
85
+ "static/chunks/app/services/[id]/page-d0f3970faffda3af.js"
65
86
  ],
66
87
  "/settings/page": [
67
- "static/chunks/webpack-87d7cc477c47986b.js",
68
- "static/chunks/fd9d1056-2fd070b6bf76421a.js",
69
- "static/chunks/117-3b8d34fa94485032.js",
70
- "static/chunks/main-app-65b07a3d5b8df539.js",
71
- "static/chunks/146-5b9462531053a4c5.js",
72
- "static/chunks/app/settings/page-972e8f623bc80dde.js"
88
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
89
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
90
+ "static/chunks/517-294eec10d95890a5.js",
91
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
92
+ "static/chunks/121-696b40648ac380c3.js",
93
+ "static/chunks/app/settings/page-f07d3a5fd6660bc2.js"
73
94
  ],
74
95
  "/services/page": [
75
- "static/chunks/webpack-87d7cc477c47986b.js",
76
- "static/chunks/fd9d1056-2fd070b6bf76421a.js",
77
- "static/chunks/117-3b8d34fa94485032.js",
78
- "static/chunks/main-app-65b07a3d5b8df539.js",
96
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
97
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
98
+ "static/chunks/517-294eec10d95890a5.js",
99
+ "static/chunks/main-app-d3ad9b54ff2f4460.js",
79
100
  "static/css/001936a28cd34ad6.css",
80
- "static/chunks/581-2e3e69ca13e0474f.js",
81
- "static/chunks/146-5b9462531053a4c5.js",
82
- "static/chunks/355-1e51ac955ff8955f.js",
83
- "static/chunks/391-496467ca6f95afde.js",
84
- "static/chunks/app/services/page-e1eb6d0670544d2c.js"
101
+ "static/chunks/275-b00b1f9d8d43921a.js",
102
+ "static/chunks/121-696b40648ac380c3.js",
103
+ "static/chunks/175-9a7735c1b176836a.js",
104
+ "static/chunks/537-0bc07043ff4dbf97.js",
105
+ "static/chunks/app/services/page-d2dbcb1bfbf99d9c.js"
85
106
  ]
86
107
  }
87
108
  }
@@ -1 +1 @@
1
- {"/_not-found/page":"/_not-found","/api/logs/route":"/api/logs","/api/db/backup/route":"/api/db/backup","/page":"/","/services/[id]/databases/page":"/services/[id]/databases","/services/[id]/edit/page":"/services/[id]/edit","/services/[id]/page":"/services/[id]","/settings/page":"/settings","/webhook/route":"/webhook","/services/page":"/services"}
1
+ {"/_not-found/page":"/_not-found","/api/db/backup/route":"/api/db/backup","/api/logs/route":"/api/logs","/webhook/route":"/webhook","/services/[id]/databases/page":"/services/[id]/databases","/page":"/","/services/[id]/edit/page":"/services/[id]/edit","/services/[id]/page":"/services/[id]","/settings/page":"/settings","/services/page":"/services"}
@@ -5,27 +5,28 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/iPuJc_dz0G66oW0IF7CF9/_buildManifest.js",
9
- "static/iPuJc_dz0G66oW0IF7CF9/_ssgManifest.js"
8
+ "static/-IyDb-UkfsY66Fnk2jTmF/_buildManifest.js",
9
+ "static/-IyDb-UkfsY66Fnk2jTmF/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
- "static/chunks/webpack-87d7cc477c47986b.js",
13
- "static/chunks/fd9d1056-2fd070b6bf76421a.js",
14
- "static/chunks/117-3b8d34fa94485032.js",
15
- "static/chunks/main-app-65b07a3d5b8df539.js"
12
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
13
+ "static/chunks/4bd1b696-ac5c9b695fa3e66d.js",
14
+ "static/chunks/517-294eec10d95890a5.js",
15
+ "static/chunks/main-app-d3ad9b54ff2f4460.js"
16
16
  ],
17
+ "rootMainFilesTree": {},
17
18
  "pages": {
18
19
  "/_app": [
19
- "static/chunks/webpack-87d7cc477c47986b.js",
20
- "static/chunks/framework-00a8ba1a63cfdc9e.js",
21
- "static/chunks/main-003047948bd01e37.js",
22
- "static/chunks/pages/_app-15e2daefa259f0b5.js"
20
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
21
+ "static/chunks/framework-895c1583be5f925a.js",
22
+ "static/chunks/main-045a680c8b23286d.js",
23
+ "static/chunks/pages/_app-abffdcde9d309a0c.js"
23
24
  ],
24
25
  "/_error": [
25
- "static/chunks/webpack-87d7cc477c47986b.js",
26
- "static/chunks/framework-00a8ba1a63cfdc9e.js",
27
- "static/chunks/main-003047948bd01e37.js",
28
- "static/chunks/pages/_error-28b803cb2479b966.js"
26
+ "static/chunks/webpack-a19e0d5a5b664ed9.js",
27
+ "static/chunks/framework-895c1583be5f925a.js",
28
+ "static/chunks/main-045a680c8b23286d.js",
29
+ "static/chunks/pages/_error-94b8133dd8229633.js"
29
30
  ]
30
31
  },
31
32
  "ampFirstPages": []
@@ -1 +1 @@
1
- {"version":4,"routes":{"/":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/","dataRoute":"/index.rsc"},"/settings":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/settings","dataRoute":"/settings.rsc"}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"cc8c04271a405ae179fd151da9fd2a22","previewModeSigningKey":"0d1f3f247a5cb5e332bfd10c1728402d98ef47886df45ab47d7c7cf55be6a611","previewModeEncryptionKey":"c0b3f5f1e8fe2aa4cbb896228bf8fc8aa940834e9f435bf35df5f55a477f40ab"}}
1
+ {"version":4,"routes":{"/":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/","dataRoute":"/index.rsc","allowHeader":["host","x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/settings":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/settings","dataRoute":"/settings.rsc","allowHeader":["host","x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"11d76eb655dc2894c77a87464201fa4d","previewModeSigningKey":"4b53ede7adc361f7a527ea70cdd2beb049abe97a4e36d56b4213614423b9cc87","previewModeEncryptionKey":"22fbb1f01ce81f458c70c83ff6f10539ea9d39337b1282e7ab777ba4c81bf876"}}