bump tailwind, lint/correct readme, add dnsnet v1.0.17
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 11s

This commit is contained in:
Aidan 2025-02-17 20:02:48 -05:00
parent c5379f6245
commit c2000f4952
3 changed files with 41 additions and 17 deletions

View File

@ -1,5 +1,6 @@
# modules # 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/) [![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) [![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. 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! 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. 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. 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: 1. First, clone the repository:
```bash ```bash
git clone https://github.com/ihatenodejs/modules.git 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/). 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)** **Windows (PowerShell)**
```
```powershell
powershell -c "irm bun.sh/install.ps1 | iex" powershell -c "irm bun.sh/install.ps1 | iex"
``` ```
**Linux/macOS:** **Linux/macOS:**
```bash ```bash
curl -fsSL https://bun.sh/install | bash curl -fsSL https://bun.sh/install | bash
``` ```
3. Now, let's install everything with: 3. Now, let's install everything with:
```
```bash
bun install bun install
``` ```
4. After that, we'll build the Tailwind CSS: 4. After that, we'll build the Tailwind CSS:
```
```bash
bun run build:css bun run build:css
``` ```
5. Finally, we start the server on port `3000`: 5. Finally, we start the server on port `3000`:
```
```bash
bun app.js 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. 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 ## 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. ### 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. - `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. - `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. - `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. - `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. - `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. - `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. 1. Always use a trusted source when possible.
2. All pull requests will be manually reviewed to ensure the quality/safety of the database. 2. All pull requests will be manually reviewed to ensure the quality/safety of the database.
3. Please be patient with the review process. 3. Please be patient with the review process.
4. If you have any questions, please ask in the Telegram channel (see top of README). 4. If you have any questions, please ask in the Telegram channel (see top of README).
# To-Do ## To-Do
- [ ] Add Docker documentation - [ ] Add Docker documentation
- [ ] Add category support - [ ] Add category support
- [ ] Support filtering by category - [ ] Support filtering by category
- [X] Add submissions (done via Telegram) - [X] Add submissions (done via Telegram)
- [ ] Add button/prompting for submissions - [ ] Add button/prompting for submissions
- [ ] (Apps only) Add to Obtinium button - [ ] (Apps only) Add to Obtainium button
- [ ] Add search functionality - [ ] Add search functionality
- [ ] Migrate frontend to Next - [ ] Migrate frontend to Next
- [ ] Fix Issue #1 (See Issue <https://github.com/ihatenodejs/modules/issues/1>) - [ ] Fix Issue #1 (See Issue <https://github.com/ihatenodejs/modules/issues/1>)

View File

@ -494,6 +494,9 @@
"root": false, "root": false,
"selfHosted": false, "selfHosted": false,
"downloadLinks": { "downloadLinks": {
"v1.0.17": {
"all": "https://github.com/t895/DNSNet/releases/download/1.0.17/app-release.apk"
},
"v1.0.16": { "v1.0.16": {
"all": "https://github.com/t895/DNSNet/releases/download/1.0.16/app-release.apk" "all": "https://github.com/t895/DNSNet/releases/download/1.0.16/app-release.apk"
}, },

View File

@ -24,7 +24,7 @@
"figlet": "^1.8.0", "figlet": "^1.8.0",
"helmet": "^8.0.0", "helmet": "^8.0.0",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"tailwindcss": "^4.0.0", "tailwindcss": "^4.0.6",
"validator": "^13.12.0" "validator": "^13.12.0"
} }
} }