Skip to content

The definitive list of the best of (consumer facing) open source.

Updated README to point to website

Lucasb44f9a45a831
diff --git a/README.md b/README.md
index 12e423c..c1a42f2 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@
> This list is EXCLUSIVELY for apps that you use directly such as desktop apps, selfhosted apps, and command line utilities. Developer facing tools like languages, frameworks, and libraries are excluded.
> [!NOTE]
-> Please visit the [portal](resources/PORTAL.md) for quick access to the foundations of this project. Please read contributing documents before submitting a PR as this list is edited from a JSON file, not the README!
+> Due to the increasing size of this list, the README
##
@@ -1958,4 +1958,3 @@ This project is released under the `MIT license`, hereby granting anyone to use,
</tbody>
</table>
</p>
-
diff --git a/apps/web/script.js b/apps/web/script.js
index c140db1..9a9e00d 100644
--- a/apps/web/script.js
+++ b/apps/web/script.js
@@ -23,8 +23,6 @@ const subcategoryFilter = document.getElementById("subcategoryFilter");
const platformFilter = document.getElementById("platformFilter");
const tagFilter = document.getElementById("tagFilter");
-// UTILS
-// 1. Sanitize HTML to prevent XSS
const escapeHTML = (str) => {
if (!str) return "";
return String(str).replace(
@@ -40,7 +38,6 @@ const escapeHTML = (str) => {
);
};
-// 2. Debounce function to limit rapid-fire function calls
const debounce = (func, delay) => {
let timeoutId;
return (...args) => {
@@ -81,7 +78,6 @@ async function init() {
}
function populateFilters() {
- // Use map and join to avoid DOM thrashing (innerHTML += in a loop)
const catHTML = db.categories
.map(
(cat) =>
@@ -117,7 +113,6 @@ function updateSubcategoryDropdown() {
? db.subcategories
: db.subcategories.filter((sub) => sub.parent === selectedCategory);
- // Rebuild options efficiently
const subHTML =
'<option value="">All Subcategories</option>' +
filteredSubcategories
@@ -131,7 +126,6 @@ function updateSubcategoryDropdown() {
}
function setupEventListeners() {
- // Add a 300ms debounce to the search input so it doesn't fire on every single keystroke
searchInput.addEventListener("input", debounce(renderApps, 300));
categoryFilter.addEventListener("change", () => {
@@ -151,7 +145,6 @@ function renderApps() {
const selectedPlatform = platformFilter.value;
const selectedTag = tagFilter.value;
- // PERFORMANCE: Pre-calculate valid subcategories OUTSIDE the loop
let validSubcategoryIds = null;
if (selectedCategory !== "") {
validSubcategoryIds = db.subcategories
@@ -190,7 +183,6 @@ function renderApps() {
return;
}
- // Use map and join instead of appending elements in a loop to improve render time
appContainer.innerHTML = filteredApps
.map(
(app) => `