mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 04:17:23 +00:00
5ef2816f98657a28096228220c5334ce3780d812
Nysoure
A file sharing service that allows you to upload files and share them with others.
Features
- Resource Creation: Create resources with a title, description, tags, and images.
- File Uploads: Attach files to resources for easy sharing.
- Comments: Comment on resources to foster discussions or provide feedback.
- File Downloads: Download shared files with ease.
- Search Functionality: Quickly find resources by title, description, or tags.
- Admin Management: Full server control via an intuitive management panel.
- Abuse Prevention: Integrated with Cloudflare Turnstile and IP-based download limits to prevent misuse.
Deployment
Docker
- Clone the repository
- Install Docker and Docker Compose
- Run
docker-compose up -d
to start the application
Python script
- Clone the repository
- Install Python, golang, nodejs, and npm
- Run
python3 build.py
to build the application - Set up the database and environment variables
- Execute the binary file in the
build
folder
Environment variables:
- DB_HOST
- DB_PORT
- DB_USER
- DB_PASSWORD
- DB_NAME
Languages
TypeScript
56.8%
Go
40%
CSS
2.5%
HTML
0.3%
JavaScript
0.2%
Other
0.1%