{"id":15417286,"url":"https://github.com/ampatspell/portfolio","last_synced_at":"2026-01-20T20:12:03.898Z","repository":{"id":95246124,"uuid":"71109552","full_name":"ampatspell/portfolio","owner":"ampatspell","description":"Photography portfolio webapp","archived":false,"fork":false,"pushed_at":"2017-08-03T22:22:22.000Z","size":3261,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T10:47:46.576Z","etag":null,"topics":["ember","gallery","photography","portfolio"],"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/ampatspell.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":"2016-10-17T07:05:26.000Z","updated_at":"2022-03-27T14:12:10.000Z","dependencies_parsed_at":"2023-03-20T21:15:05.984Z","dependency_job_id":null,"html_url":"https://github.com/ampatspell/portfolio","commit_stats":{"total_commits":451,"total_committers":1,"mean_commits":451.0,"dds":0.0,"last_synced_commit":"ab55ff6f3fb7e3b4457408a880f598d5916e8902"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/ampatspell/portfolio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampatspell%2Fportfolio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampatspell%2Fportfolio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampatspell%2Fportfolio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampatspell%2Fportfolio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ampatspell","download_url":"https://codeload.github.com/ampatspell/portfolio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ampatspell%2Fportfolio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28612165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ember","gallery","photography","portfolio"],"created_at":"2024-10-01T17:15:10.045Z","updated_at":"2026-01-20T20:12:03.874Z","avatar_url":"https://github.com/ampatspell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Photography portfolio\n\n* Ember.js\n* ember-cli-sofa\n* CouchDB 1.6 or 2.0\n\nDeployed as a couchapp.\n\n**WARNING: Do not run in production. Database lacks `validate_doc_updates` for now, coming soon**\n\n## Screenshots\n\n[![Video](/doc/changes-listener-video-preview.png)](https://vimeo.com/221892468)\n\n![Gallery](/doc/1.png)\n\n![Gallery](/doc/2.png)\n\n![Gallery](/doc/3.png)\n\n## Install\n\n``` plain\n$ git clone https://github.com/ampatspell/portfolio.git\n$ cd portfolio\n$ npm install; bower install\n$ cp sites/base-example.js sites/base.js\n```\n\n``` javascript\n// sites/base.js\nmodule.exports = {\n  url: 'http://remote:couchdb@server.url:5984'\n};\n```\n\n## Run locally\n\nThis will run default site configuration.\n\n```\n$ ember s\n$ open http://127.0.0.1:5984\n```\n\n## Setup database\n\nOpen http://127.0.0.1:5984/_setup, login as a CouchDB admin. This will create database if missing and insert all necessary design documents.\n\n## Customize site\n\n```\n$ cp sites/default.js sites/yoursite.js\n```\n\n``` javascript\n// sites/yoursite.js\nmodule.exports = Object.assign({\n  title:    'Yoursite',\n  theme:    'yoursite',\n  admin:    'portfolio-yoursite-admin',\n  database: 'portfolio-yoursite'\n}, require('./base'));\n```\n\n```\n$ cp -r app/styles/default app/styles/yoursite\n```\n\n## Deploy\n\n``` plain\n$ SITE=yoursite ember deploy production\n```\n\nAdd CouchDB vhost:\n\n``` plain\nvhosts -\u003e www.yoursite.com -\u003e /\u003cdatabase_name\u003e/_design/portfolio/_rewrite\n```\n\nAdd nginx host configuration:\n\n``` plain\nserver {\n  server_name www.site.com;\n  client_max_body_size 30M;\n\n  location / {\n    proxy_pass http://localhost:5984;\n    proxy_redirect off;\n    proxy_set_header Host $host;\n    proxy_set_header X-Real-IP $remote_addr;\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\n    # for _changes EventStream proxying\n    # https://stackoverflow.com/questions/13672743/eventsource-server-sent-events-through-nginx\n    proxy_set_header Connection '';\n    proxy_http_version 1.1;\n    chunked_transfer_encoding off;\n    proxy_buffering off;\n    proxy_cache off;\n  }\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fampatspell%2Fportfolio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fampatspell%2Fportfolio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fampatspell%2Fportfolio/lists"}