{"id":18756938,"url":"https://github.com/aiursoftweb/aiurdrive","last_synced_at":"2025-04-13T02:05:10.613Z","repository":{"id":37080192,"uuid":"307970696","full_name":"AiursoftWeb/AiurDrive","owner":"AiursoftWeb","description":"AiurDrive is a free file sharing service. You can upload your files here and share them with others. Mirror of https://gitlab.aiursoft.cn/aiursoft/aiurdrive","archived":false,"fork":false,"pushed_at":"2024-08-18T07:01:24.000Z","size":892,"stargazers_count":12,"open_issues_count":2,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-18T08:22:00.036Z","etag":null,"topics":["cloud-drive","docker","file-sharing","online-store"],"latest_commit_sha":null,"homepage":"https://drive.aiursoft.cn","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AiursoftWeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-28T09:46:32.000Z","updated_at":"2024-08-18T07:01:27.000Z","dependencies_parsed_at":"2023-01-17T13:31:58.869Z","dependency_job_id":"8983fd6e-ddec-4504-b14b-be2598601c8b","html_url":"https://github.com/AiursoftWeb/AiurDrive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FAiurDrive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FAiurDrive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FAiurDrive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FAiurDrive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AiursoftWeb","download_url":"https://codeload.github.com/AiursoftWeb/AiurDrive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223560672,"owners_count":17165505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-drive","docker","file-sharing","online-store"],"created_at":"2024-11-07T17:38:47.377Z","updated_at":"2025-04-13T02:05:10.595Z","avatar_url":"https://github.com/AiursoftWeb.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AiurDrive\n\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitlab.aiursoft.cn/aiursoft/aiurdrive/-/blob/master/LICENSE)\n[![Pipeline stat](https://gitlab.aiursoft.cn/aiursoft/aiurdrive/badges/master/pipeline.svg)](https://gitlab.aiursoft.cn/aiursoft/aiurdrive/-/pipelines)\n[![Test Coverage](https://gitlab.aiursoft.cn/aiursoft/aiurdrive/badges/master/coverage.svg)](https://gitlab.aiursoft.cn/aiursoft/aiurdrive/-/pipelines)\n[![ManHours](https://manhours.aiursoft.cn/r/gitlab.aiursoft.cn/aiursoft/aiurdrive.svg)](https://gitlab.aiursoft.cn/aiursoft/aiurdrive/-/commits/master?ref_type=heads)\n[![Website](https://img.shields.io/website?url=https%3A%2F%2Fdrive.aiursoft.cn%2F)](https://drive.aiursoft.cn)\n[![Docker](https://img.shields.io/docker/pulls/aiursoft/aiurdrive.svg)](https://hub.docker.com/r/aiursoft/aiurdrive)\n\nAiurDrive is a free file sharing service. You can upload your files here and share them with others.\n\n![overview](./screenshot.png)\n\n## Try\n\nTry a running AiurDrive [here](https://drive.aiursoft.cn).\n\n## Run in Ubuntu\n\nThe following script will install\\update this app on your Ubuntu server. Supports Ubuntu 22.04.\n\nOn your Ubuntu server, run the following command:\n\n```bash\ncurl -sL https://gitlab.aiursoft.cn/aiursoft/aiurdrive/-/raw/master/install.sh | sudo bash\n```\n\nOf course it is suggested that append a custom port number to the command:\n\n```bash\ncurl -sL https://gitlab.aiursoft.cn/aiursoft/aiurdrive/-/raw/master/install.sh | sudo bash -s 8080\n```\n\nIt will install the app as a systemd service, and start it automatically. Binary files will be located at `/opt/apps`. Service files will be located at `/etc/systemd/system`.\n\n## Run manually\n\nRequirements about how to run\n\n1. Install [Docker](https://www.docker.com/)\n2. Run `sudo docker build -t debug .` in the project path to build the image from source.\n3. Run `sudo docker run -it -p 5000:5000 -v /tmp:/tmp -v /var/run/docker.sock:/var/run/docker.sock debug` in the project path.\n4. Open `http://localhost:5000` in your browser to test the app.\n\n## Run in Docker\n\nFirst, install Docker [here](https://docs.docker.com/get-docker/).\n\nThen run the following commands in a Linux shell:\n\n```bash\nimage=aiursoft/aiurdrive\nappName=aiurdrive\nsudo docker pull $image\nsudo docker run -d --name $appName --restart unless-stopped -p 5000:5000 -v /var/www/$appName:/data $image\n```\n\nThat will start a web server at `http://localhost:5000` and you can test the app.\n\nThe docker image has the following context:\n\n| Properties  | Value                              |\n|-------------|------------------------------------|\n| Image       | aiursoft/aiurdrive                 |\n| Ports       | 5000                               |\n| Binary path | /app                                           |\n| Data path   | /data                                          |\n| Config path | /data/appsettings.json                         |\n| Passthrough | /var/run/docker.sock (For Docker)              |\n| Passthrough | /tmp (For saving the unprocessed images)       |\n\n## How to contribute\n\nThere are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.\n\nEven if you with push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your workflow cruft out of sight.\n\nWe're also interested in your feedback on the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiursoftweb%2Faiurdrive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiursoftweb%2Faiurdrive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiursoftweb%2Faiurdrive/lists"}