Commit Graph

7131 Commits

Author SHA1 Message Date
Håvard Gjøby Thom
e4d83dfc6a
Add CODEOWNERS (#116) 2024-11-07 14:54:02 +01:00
Bram Suurd
d739d89caa
manually set basePath in next.config.mjs (#109)
Some checks are pending
Deploy Next.js site to Pages / build (push) Waiting to run
Deploy Next.js site to Pages / deploy (push) Blocked by required conditions
2024-11-06 23:57:50 +01:00
Bram Suurd
93fd495f65
Switch from Pocketbase data retrieval to JSON (#100)
* Add new animation for switching themes.

* Remove unused metadata files from testing

* increase duration on theme switch

* Reduce animation duration for view transition effect to improve responsiveness

* Fetch categories and scripts from external sources, updating `GET` endpoint to aggregate data. Adjust type definitions for Script and Category

* Refactor all components to use data from new API

* Refactor `InterFaces` component to use updated `Script` type and streamline interface/port handling for better clarity

* Refactor `CommandMenu` component to utilize updated `Category` and `Script` types, simplifying the sorting logic and enhancing clarity

* Fix animation duration in `globals.css` to ensure proper view transition functionality across the application

* Remove unnecessary console log for file name in `fetchAllMetaDataFiles` to clean up code

* Refactor category fetching in `ScriptContent` and `CommandMenu` to utilize centralized `fetchCategories` for improved maintainability

* Use `formattedBadge` in `ScriptAccordion` and `CommandMenu` for consistent badge rendering across script types

* Refactor source URL generation in `Buttons` component to enhance clarity and streamline the installation script logic

* Check default settings availability in `DefaultSettings` component and handle undefined values more gracefully in rendering

* Fix install command generation to handle optional script parameter and update copy button logic for improved functionality

* Add most popular scripts feature and update script rendering logic in `ScriptInfoBlocks` component

* Enhance `ScriptItem` component to display correct type naming alongside script name for better clarity in the UI

* Add conversion utility to display RAM in GB for better readability in `DefaultSettings` component

* Refactor Next.js config to use dynamic basePath and update sitemap URLs for improved adaptability and host configuration

* Refactor site configuration to utilize centralized settings for analytics and base path; replace PocketBase imports with new data module

* Refactor sitemap generation to use centralized basePath from config, enhancing adaptability for URL management

* Refactor to replace PocketBase with a new data module across components

* Refactor layout to use centralized analytics configuration

* Update deployment workflow to include JSON files for GitHub Pages publishing

* Remove caching step from GitHub Pages deploy workflow to avoid caching

* Remove basePath from Next.js config to simplify configuration and avoid potential issues with path resolution

* Add category sorting and fetching logic in data.ts

* Add analytics configuration and basePath to siteConfig

* Remove obsolete environment files for analytics and PocketBase

* Update sitemap to use a fixed domain for the generated sitemap instead of deriving from headers

* Refactor layout to utilize basePath for metadata base URL and image links for better configurability

* use cleaner `basePath` variable around codebase for easier management

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/components/CommandMenu.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/components/ui/theme-toggle.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/components/CommandMenu.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/scripts/_components/ScriptItems/DefaultPassword.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/scripts/_components/ScriptItems/DefaultSettings.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update src/lib/data.ts with necessary changes.

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update src/app/api/categories/route.ts with necessary modifications

* Update frontend/src/app/scripts/_components/ScriptItems/InstallCommand.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update src/components/CommandMenu.tsx with necessary improvements

* Add renamed themetoggle

* Update frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/scripts/_components/ScriptItems/DefaultSettings.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/scripts/_components/ScriptItems/DefaultSettings.tsx with new settings configuration

* Update src/app/scripts/_components/ScriptInfoBlocks.tsx with enhancements and fixes

* Update src/app/scripts/_components/ScriptItems/InstallCommand.tsx

* Update src/app/scripts/_components/ScriptItem.tsx

* Update src/app/scripts/_components/ScriptAccordion.tsx with necessary adjustments and improvements

* Update Interfaces to use strict check

* updated interfaces to use normal string label instead of jsx

* Update configuration to use environment variable for BASE_PATH and reflect changes in siteConfig

* force static base path

* Update CommandMenu.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update DefaultSettings.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update DefaultSettings.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Ensure fetchScripts returns a typed Script array by specifying return type in map function

* Remove commented-out import for unused Category type in CommandMenu component

* Fix fetch URLs by removing unnecessary slashes and ensure proper return type in fetchScripts map function

* Refactor MostViewedScripts to ensure proper type annotations and improve array concatenation method for better readability

* Update BASE_PATH handling in next.config and fix fetch URLs to ensure correct path structure in API routes

---------

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 23:47:04 +01:00
Amaury Libert
97008d0273
Update photoprism-install.sh (#105)
Wrong password entered in script ("Helper-Scripts.com") compared to website ("changeme").
2024-11-06 23:43:06 +01:00
Håvard Gjøby Thom
83975f1ba4
Add testing requirement to PR template (#104) 2024-11-06 22:39:56 +01:00
Paul
322991244b
Add Alpine Install Types to JSON (#102)
* Include Alpine

* Fixed nextcloud edgecase

* Update json/docker.json

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update json/grafana.json

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update json/nextcloudpi.json

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update json/vaultwarden.json

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update json/zigbee2mqtt.json

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

---------

Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:46:30 +01:00
Rémi Bédard-Couture
53fd2b6cc8
Remove custom update script. This is handled by the update script and the /usr/bin/update is created automatically by the customize function in install.func (#95) 2024-11-06 20:02:34 +01:00
Rémi Bédard-Couture
cb8b8b51a7
Fix links (#96)
* Update links to images to community-scripts repo

* Update links to community-scripts repo
2024-11-06 19:05:00 +01:00
CanbiZ
c8806867d8
Tweak vikunja.sh
(spelling mistake)
2024-11-06 08:30:47 +01:00
Paul
4d68c2e1ef
Add JSON for each Script and a metadata.json file (#86)
* Generated JSON from database with changes suggested by maintainers. Includes a categories.json file that contains all the possible categories

* Renamed categories.json to metadata.json
2024-11-06 08:14:59 +01:00
CanbiZ
0cd5ff3f3d
Add new LXC: Vikunja (#80)
* Add new LXC: Vikunja

* Apply suggestions from code review

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update vikunja.sh

Signed-off-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>

* Update vikunja.sh

Signed-off-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>

* Update vikunja-install.sh

Signed-off-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>

* Spelling

Signed-off-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>

---------

Signed-off-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-05 23:57:28 +01:00
CanbiZ
9c4bb59965
spelling 2024-11-05 23:40:57 +01:00
CanbiZ
99fb54659e
Spelling 2024-11-05 23:40:40 +01:00
CanbiZ
7302b7d4ce
Update bookstack.sh 2024-11-05 23:39:57 +01:00
CanbiZ
b1d09ad6f4
Merge pull request #81 from havardthom/main
Only deploy pages on changes in frontend
2024-11-05 22:37:45 +01:00
Håvard Thom
9a4e239a9a Only deploy pages on changes in frontend 2024-11-05 22:35:32 +01:00
CanbiZ
c419cc36e8
Merge pull request #79 from MickLesk/main
[Bugfix] Add Whiptail Information to set ressources (Tandoor, ActualBudget, CalibreWeb)
2024-11-05 21:28:57 +01:00
CanbiZ
4783837273
Tandoor: Add Whiptail
Signed-off-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2024-11-05 19:40:01 +01:00
CanbiZ
0ed4af4d14
ActualBudget: Add Whiptail
Signed-off-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2024-11-05 19:39:04 +01:00
CanbiZ
d5c55a5cec
Calibre-Web: Add Whiptail
Signed-off-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2024-11-05 19:37:21 +01:00
Mellowlynx
4604e7269e
Merge pull request #76 from MickLesk/main
Some checks failed
Deploy Next.js site to Pages / build (push) Has been cancelled
Deploy Next.js site to Pages / deploy (push) Has been cancelled
Add new LXC: Bookstack
2024-11-05 17:25:54 +01:00
CanbiZ
9e759d9c1a Add new LXC: Bookstack 2024-11-05 17:04:33 +01:00
CanbiZ
f53f907696
Merge pull request #65 from remz1337/fix-url
Fix some more links to point to the new community-scripts repo
2024-11-05 15:38:09 +01:00
CanbiZ
f37a95db4f
Merge pull request #66 from newzealandpaul/newzealandpaul-update-repo2
Some checks are pending
Deploy Next.js site to Pages / build (push) Waiting to run
Deploy Next.js site to Pages / deploy (push) Blocked by required conditions
Inverted the check for tteck repo, so it exits on the correct condition
2024-11-05 06:52:45 +01:00
Paul William
93fdd2e9d4 Inverted the check for tteck repo, so it exits on the correct condition 2024-11-05 16:16:03 +13:00
Rémi Bédard-Couture
12bd2e82a3 Fix more links to point to community-scripts (commit history has been preserved, so we can reference the same commit IDs) 2024-11-04 20:47:27 -05:00
Rémi Bédard-Couture
6c98a6443f Fix more links to point to community-scripts 2024-11-04 20:45:14 -05:00
Rémi Bédard-Couture
090691fc1e Fix logo URL to point to community-scripts repo and remove dead links 2024-11-04 20:38:59 -05:00
Rémi Bédard-Couture
3c5f80f4a6 Fix discussions URL that were inadvertently changed to point to community-scripts (discussions are on tteck's repo) 2024-11-04 20:29:41 -05:00
tteckster
0f493c1d19
Merge pull request #63 from BramSuurdje/main
Some checks are pending
Deploy Next.js site to Pages / build (push) Waiting to run
Deploy Next.js site to Pages / deploy (push) Blocked by required conditions
Add frontend to Scripts repostitory
2024-11-04 20:11:39 -05:00
Bram Suurd
2f9f51ec7c Fix API path in category fetch calls by removing leading slash 2024-11-05 00:20:10 +01:00
Bram Suurd
1a412bce38 Update NEXT_PUBLIC_BUILD_TIME type to string 2024-11-05 00:17:17 +01:00
Bram Suurd
1795dd1a80 Remove revalidate from categories route to maintain static fetching behavior without forced updates on each build 2024-11-05 00:15:19 +01:00
Bram Suurd
63aa8e2aa8 Add NEXT_PUBLIC_BUILD_TIME to config and append timestamp to API requests for fresh category data retrieval 2024-11-05 00:14:19 +01:00
Bram Suurd
4ca45042cc Update basePath in next.config.mjs for ProxmoxVE deployment configuration 2024-11-05 00:08:58 +01:00
Bram Suurd
a4a373e890 Set revalidate to 0 in categories route to ensure fresh data fetch on each build 2024-11-05 00:06:35 +01:00
Bram Suurd
84675838de Refactor import paths for TextCopyBlock component in Alerts and Description files 2024-11-04 23:57:43 +01:00
Bram Suurd
56837d7dcd merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
CanbiZ
103e2bea08
Merge pull request #61 from newzealandpaul/newzealandpaul-readme
Added Discord Invite to README.md
2024-11-04 22:56:30 +01:00
Paul
98c7c2d12f
Added Discord Invite to README.md
Signed-off-by: Paul <newzealandspaul@gmail.com>
2024-11-05 10:47:37 +13:00
CanbiZ
fe8f3fa0a3
Merge pull request #60 from ianalexis/main
New YunoHost 12 Release
2024-11-04 22:29:58 +01:00
Ian Bassi
0ed268cecd YunoHost 12 Release
Updated based on: https://yunohost.org/es/install/hardware:vps_debian#pre-requisites *
More RAM and storage to avoid reaching the limit quickly.
2024-11-04 17:41:17 -03:00
tteckster
55061d4281
Update README.md
tweak

Signed-off-by: tteckster <tteckster@gmail.com>
2024-11-04 14:54:48 -05:00
tteckster
504fccdb21
Add files via upload
Signed-off-by: tteckster <tteckster@gmail.com>
2024-11-04 14:34:43 -05:00
CanbiZ
10a7b17e83
Merge pull request #56 from havardthom/remove-action
Remove unnecessary code
2024-11-04 17:54:10 +01:00
Håvard Thom
af9f103e52 Remove unnecessary code 2024-11-04 17:48:41 +01:00
CanbiZ
a5462367a3
Update CHANGELOG.md
Signed-off-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2024-11-04 17:24:42 +01:00
CanbiZ
c6fddcd752
Merge pull request #55 from MickLesk/main
Add Script for "Update" Command in Repo
2024-11-04 17:21:26 +01:00
CanbiZ
e0dbe419da Update update-repo.sh 2024-11-04 17:11:00 +01:00
CanbiZ
c290c10083 Update update-repo.sh 2024-11-04 17:09:45 +01:00