{"id":19956232,"url":"https://github.com/nondanee/ngx-plainindex","last_synced_at":"2026-04-22T10:01:46.732Z","repository":{"id":100678965,"uuid":"155055351","full_name":"nondanee/ngx-plainindex","owner":"nondanee","description":"Plain indexes attachment for the Nginx web server","archived":false,"fork":false,"pushed_at":"2018-10-28T17:45:23.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T15:43:56.933Z","etag":null,"topics":["nginx"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/nondanee.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":"2018-10-28T09:41:48.000Z","updated_at":"2020-08-30T03:23:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff7114e5-5372-44c8-a820-bbd99c474fc3","html_url":"https://github.com/nondanee/ngx-plainindex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nondanee/ngx-plainindex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nondanee%2Fngx-plainindex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nondanee%2Fngx-plainindex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nondanee%2Fngx-plainindex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nondanee%2Fngx-plainindex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nondanee","download_url":"https://codeload.github.com/nondanee/ngx-plainindex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nondanee%2Fngx-plainindex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32130776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nginx"],"created_at":"2024-11-13T01:31:18.435Z","updated_at":"2026-04-22T10:01:46.716Z","avatar_url":"https://github.com/nondanee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nginx Plain Index (not module)\n\nVanilla JS + plain CSS + Node.js (0 Dependences)\n\n不想自编译，又想定制目录页，应该怎么办呢 😶\n\n## 预览\n![view](https://user-images.githubusercontent.com/26399680/47614562-c35b4900-dadc-11e8-938d-b04092e9f495.png)\n\n## 特性\n\n- 目录页美化\n- 拖拽上传\n- 自实现 multipart/form-data 处理\n\n## 原理\n\n- 使用 nginx 自带 `auth_basic` 认证身份（base64太危险了，建议上 https）\n- 借助 `autoindex_format json` 实现，SPA 前端交互，hash router 保留状态\n- 上传文件由反代后端处理，查 authorization header 确定身份\n\n## 相关\n\n- UI偷师自 [barrowclift/directory-theme](https://github.com/barrowclift/directory-theme)\n- 自己的毕设 [nondanee/dropbox](https://github.com/nondanee/dropbox)\n\n## 许可\n\nThe MIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnondanee%2Fngx-plainindex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnondanee%2Fngx-plainindex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnondanee%2Fngx-plainindex/lists"}