{"id":16875815,"url":"https://github.com/atompi/gallery","last_synced_at":"2026-05-10T05:42:04.209Z","repository":{"id":170883334,"uuid":"118628704","full_name":"atompi/gallery","owner":"atompi","description":"Base on zing-gallery","archived":false,"fork":false,"pushed_at":"2018-01-29T07:07:24.000Z","size":195,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T01:34:34.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atompi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-23T15:24:20.000Z","updated_at":"2018-01-23T15:24:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c515779-82ef-4b44-b47c-147b7f61381b","html_url":"https://github.com/atompi/gallery","commit_stats":null,"previous_names":["atompi/gallery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atompi%2Fgallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atompi%2Fgallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atompi%2Fgallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atompi%2Fgallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atompi","download_url":"https://codeload.github.com/atompi/gallery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244327171,"owners_count":20435358,"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":[],"created_at":"2024-10-13T15:37:07.105Z","updated_at":"2026-05-10T05:42:04.179Z","avatar_url":"https://github.com/atompi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# a gallery\n\n基于 node.js 的 web 画廊\n\n## Installation\n\n0. 上传图片至 `resources/photos`\n1. 安装依赖\n\n```\n# Ubuntu 16.04\ncurl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -\nsudo apt-get install -y nodejs\nsudo npm install -g cnpm --registry=https://registry.npm.taobao.org\nsudo apt-get install gcc-multilib\ncnpm install\n\n# CentOS 7\nsudo yum install glibc.i686\ncnpm install\n```\n\n2. 启动 `npm run start`\n\n## 配置\n\n`config.js`\n\n```\nmodule.exports = {\n    title: 'A Gallery',                    // 相册名\n    wording: {\n        noAccess: '私密相册，拒绝查看'        // 提示信息\n    },\n    albums: {                                // 相册信息\n        \"xxx1\": {                            // 相册 xxx1\n            thumbnail : \"xxx1.JPG\",          // 封面\n            sort: 1\n        }, \n        \"xxx2\": {\n            description : \"介绍一下\",         //相册简介\n            thumbnail : \"xxx2.jpg\",\n            name: \"相册名称\"                  // 相册名称\n        },\n        \"xxx3\": {\n            description : \"私密相册\",\n            name: \"私密相册\",\n            password: \"123456\",               // 私密相册密码\n            passwordTips: \"123\"               // 私密相册密码提示\n        }\n    }\n}\n```\n\n## Develop\n\n编译运行：\n\n```\nnpm run dev 或 npm run dist\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatompi%2Fgallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatompi%2Fgallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatompi%2Fgallery/lists"}