{"id":22437273,"url":"https://github.com/ustclug/lugftp","last_synced_at":"2025-08-01T15:32:08.250Z","repository":{"id":53024342,"uuid":"70091341","full_name":"ustclug/lugftp","owner":"ustclug","description":"FTP site of USTC Linux User Group","archived":false,"fork":false,"pushed_at":"2023-03-22T09:13:17.000Z","size":43,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":11,"default_branch":"master","last_synced_at":"2023-08-31T09:06:54.872Z","etag":null,"topics":["afp","ftp","ftp-site"],"latest_commit_sha":null,"homepage":"https://ftp.ustclug.org","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ustclug.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}},"created_at":"2016-10-05T19:19:05.000Z","updated_at":"2023-08-31T09:06:54.873Z","dependencies_parsed_at":"2023-01-29T14:01:14.875Z","dependency_job_id":null,"html_url":"https://github.com/ustclug/lugftp","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ustclug%2Flugftp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ustclug%2Flugftp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ustclug%2Flugftp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ustclug%2Flugftp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ustclug","download_url":"https://codeload.github.com/ustclug/lugftp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228389156,"owners_count":17912189,"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":["afp","ftp","ftp-site"],"created_at":"2024-12-06T00:12:21.389Z","updated_at":"2024-12-06T00:12:22.035Z","avatar_url":"https://github.com/ustclug.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FTP site of USTC LUG\n\n## Feature\n\n* Public Sharing\n* Private uploading\n* User's home (auth via LDAP)\n\n## Supported Protocol\n\n* HTTP/HTTPS (read only)\n* FTP\n* FTPS\n* SFTP\n* ~~AFP~~ AFP support has been removed.\n\n## Deployment\n\n```shell\ndocker run -itd --restart=always \\\n    -p 20-22:20-22 \\\n    -p 80:80 \\\n    -p 40000-40050:40000-40050 \\\n    -v $LOCAL_DIR/data:/srv/ftp \\\n    -v $LOCAL_DIR/log:/var/log \\\n    -v $LOCAL_DIR/home:/home \\\n    -e PRIVATE_PASSWD=secret \\\n    -e PASV_ADDRESS=$PUBLIC_IP_ADDRESS \\\n    ustclug/ftp\n```\n\nSecurity note: Please bind mount `/etc/ssh` (`-v $LOCAL_DIR/ssh:/etc/ssh`) in production, as the container image has its own host SSH keypair public and may gets middle-man attack.\n\n### Available Environment Variables\n\n| Name             | Implication                              | Default Value |\n| ---------------- | ---------------------------------------- | ------------- |\n| PUBLIC_PASSWD    | Password of public account \"ftp\" (read only) | ftp           |\n| PRIVATE_USERNAME | Private account name (write access)      | lug           |\n| PRIVATE_PASSWD   | Password of private account              | password      |\n| PASV_ADDRESS     | FTP PASV Mode Address                    | 127.0.0.1     |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fustclug%2Flugftp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fustclug%2Flugftp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fustclug%2Flugftp/lists"}