From c2000f49527890db51868b204376708a06358c04 Mon Sep 17 00:00:00 2001 From: Aidan Date: Mon, 17 Feb 2025 20:02:48 -0500 Subject: [PATCH] bump tailwind, lint/correct readme, add dnsnet v1.0.17 --- README.md | 53 +++++++++++++++++++++++++++++++++++--------------- data/apps.json | 3 +++ package.json | 2 +- 3 files changed, 41 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index af683bf..41477be 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # modules -![Last Update](https://img.shields.io/badge/last_update-15_Feb_2024-blue) + +![Last Update](https://img.shields.io/badge/last_update-17_Feb_2024-blue) [![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/) [![Join Telegram Channel](https://img.shields.io/badge/join_channel-telegram-blue)](https://t.me/pontushub) @@ -11,7 +12,8 @@ Modules does **NOT** host the modules themselves, and only provides downloads to Unless a module is labeled `SelfHost`, I am not hosting the file in question. -# Contributing +## Contributing + If you would like to contribute, please know I appreciate it very much! The backend works on Node.js with Express, EJS, and Tailwind CSS. Each time the code is updated, make sure you run `bun run build:css` to use the latest needed styles. @@ -20,60 +22,79 @@ You can either contribute code (start with `app.js`) or your time to the `apps.j Please create pull requests and issues, and be generally respectful and patient. -# Setting up and self-hosting +## Setting up and self-hosting + 1. First, clone the repository: + ```bash git clone https://github.com/ihatenodejs/modules.git ``` + 2. Next, let's install Bun (if you don't already have it). You can see more about Bun [here](https://bun.sh/). - + **Windows (PowerShell)** - ``` + + ```powershell powershell -c "irm bun.sh/install.ps1 | iex" ``` + **Linux/macOS:** + ```bash curl -fsSL https://bun.sh/install | bash ``` + 3. Now, let's install everything with: - ``` + + ```bash bun install ``` + 4. After that, we'll build the Tailwind CSS: - ``` + + ```bash bun run build:css ``` + 5. Finally, we start the server on port `3000`: - ``` + + ```bash bun app.js ``` Your server can now be accessed at http://localhost:3000, and can be used in conjunction with a reverse proxy to get a functional site up. -# Contributing/Tagging Guidelines -## Apps -- `SelfHost`: If you are hosting the file yourself (or it is on my server), please add the `SelfHost` tag to the module. This will allow users to know that the file is hosted apart from the original source location or one is not avaliable and must be self-hosted. Always use a trusted source (e.g. GitHub) when possible. +## Contributing/Tagging Guidelines + +### Apps + +- `SelfHost`: If you are hosting the file yourself (or it is on my server), please add the `SelfHost` tag to the module. This will allow users to know that the file is hosted apart from the original source location or one is not available and must be self-hosted. Always use a trusted source (e.g. GitHub) when possible. - `Root`: If the module requires root access, please add the `Root` tag to the module. - `FOSS`: If the module is open-source, please add the `FOSS` tag to the module. -## Modules -- `SelfHost`: If you are hosting the file yourself (or it is on my server), please add the `SelfHost` tag to the module. This will allow users to know that the file is hosted apart from the original source location or one is not avaliable and must be self-hosted. Always use a trusted source (e.g. GitHub) when possible. + +### Modules + +- `SelfHost`: If you are hosting the file yourself (or it is on my server), please add the `SelfHost` tag to the module. This will allow users to know that the file is hosted apart from the original source location or one is not available and must be self-hosted. Always use a trusted source (e.g. GitHub) when possible. - `FOSS`: If the module is open-source, please add the `FOSS` tag to the module. - `Zygisk`: If the module requires Zygisk, please add the `Zygisk` tag to the module. - `LSPosed`: If the module requires/includes LSPosed (support), please add the `LSPosed` tag to the module. - `Riru`: If the module requires/includes Riru (support), please add the `Riru` tag to the module. -## Guidelines + +### Guidelines + 1. Always use a trusted source when possible. 2. All pull requests will be manually reviewed to ensure the quality/safety of the database. 3. Please be patient with the review process. 4. If you have any questions, please ask in the Telegram channel (see top of README). -# To-Do +## To-Do + - [ ] Add Docker documentation - [ ] Add category support - [ ] Support filtering by category - [X] Add submissions (done via Telegram) - [ ] Add button/prompting for submissions -- [ ] (Apps only) Add to Obtinium button +- [ ] (Apps only) Add to Obtainium button - [ ] Add search functionality - [ ] Migrate frontend to Next - [ ] Fix Issue #1 (See Issue ) diff --git a/data/apps.json b/data/apps.json index 64667d5..61c8381 100644 --- a/data/apps.json +++ b/data/apps.json @@ -494,6 +494,9 @@ "root": false, "selfHosted": false, "downloadLinks": { + "v1.0.17": { + "all": "https://github.com/t895/DNSNet/releases/download/1.0.17/app-release.apk" + }, "v1.0.16": { "all": "https://github.com/t895/DNSNet/releases/download/1.0.16/app-release.apk" }, diff --git a/package.json b/package.json index 5c29498..da11d17 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "figlet": "^1.8.0", "helmet": "^8.0.0", "morgan": "^1.10.0", - "tailwindcss": "^4.0.0", + "tailwindcss": "^4.0.6", "validator": "^13.12.0" } }