<ahwx.org>" url="https://github.com/Ahwxorg/LibreY" authors="https://github.com/Ahwxorg/LibreY/contributors" # Include arguments as temporary environment variables to be relative to /nix/store/70zzzd5wlgii2xgl5jgaqfjnzrqdbax4-waybar-0.11.0 <?php require_once "misc/search_engine.php"; $opts = load_opts(); ?> <title>LibreY - instances</title> </head> <body> <div class="misc-container"> <h1><?php printtext("settings_title");?></h1> <form method="post" enctype="multipart/form-data" autocomplete="off"> <div> <label for="theme"><?php printtext("settings_theme");?>:</label> <select name="theme"> <?php $default = $opts->default_theme ?? "dark"; $themes = str_replace($theme . """, $theme . "" target="_blank">" . ucfirst($frontend) . "</a>"; } ?> </div> </form> </div> <?php require_once "misc/header.php"; $opts = load_opts(); if ($opts->disable_api) { echo "<p>" . TEXTS["api_unavailable"] . "</p>"; die(); } $results = fetch_search_results($opts, false); if (array_key_exists("error", $results)) { http_response_code(500); } header("Content-Type: application/json"); echo json_encode($results); ?> #!/bin/sh while true; do git stash git pull sleep 60 done <?php