This is Garuda's new startpage. It is a simple page with a search bar and a few links to other pages. The page is built with Angular.
To change the links, edit config.ts in the root directory.
amountForumPostsHome
is the number of forum posts to show on the startpage.amountForumPostsSettings
is the number of forum posts to show on the settings page.contactLinks
is a list of links to contact pages.defaultSettings
is the default settings for the page.logos
andlogoList
control the logos shown above the search input.serviceLinks
is a list of links to our web services.SearchEngine
andsearchEngineMappings
to add or remove search engines from the list.wallpapers
is a list of wallpapers to show on the settings page.name
will be shown in the settings,url
maybe a local file relative to thepublic
folder or a link to an image.
Additionally, jokes.ts contains the list of excuses/jokes that will be shown on the main page.
The settings are stored in the local storage of the browser. To change the settings, click on the settings icon in the top right corner of the page. The following can be adjusted:
- Welcome message
- The search engine (with custom search engines)
- Paste the search url in the search engine input field, e.g.
https://search.garudalinux.org/search?q=
- Omit any appended
%s
- Omit any appended
- Paste the search url in the search engine input field, e.g.
- The wallpaper
- Whether to fit or fill the wallpaper
- Blur the wallpaper
- Enable or disables developer excuses
- Show or hide default links
- Page title shown in the browser tab
- Theming (all Catppuccin flavours)
- Add custom links above the wallpaper
- This can be any link, the only requirement is providing a valid JSON in the custom service links section
- Valid is something following the format:
[ { "link": "https://discouse.nixos.org", "title": "NixOS Forum", "icon": "https://discourse.nixos.org/uploads/default/original/2X/c/cb4fe584627b37e7c1d5424e9cec0bb30fdb6c4d.png", "subtitle": "NixOS Forum" } ]
To get started with this workspace, you need to install the following tools:
Install the deps with:
pnpm install
To run the dev server for your app, use:
pnpm serve
Visit http://localhost:4200 to see the app with live reload.
Make sure to set isProd
to false in the config.ts
file to make the forum posts load.
Don't commit this change! :)
To create a production bundle:
pnpm build
To see all available targets to run for a project, run:
nx show project startpage-v2