{"id":41706132,"url":"https://github.com/izaurio/pavo","last_synced_at":"2026-01-24T21:31:58.578Z","repository":{"id":20118749,"uuid":"23388593","full_name":"izaurio/pavo","owner":"izaurio","description":"Server-side upload service for jQuery-File-Upload written in Golang","archived":false,"fork":false,"pushed_at":"2017-11-23T13:03:01.000Z","size":349,"stargazers_count":79,"open_issues_count":1,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-13T20:43:47.284Z","etag":null,"topics":["file-upload","go","golang","jquery","jquery-file-upload","pavo"],"latest_commit_sha":null,"homepage":"","language":"Go","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/izaurio.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":"2014-08-27T12:21:50.000Z","updated_at":"2024-07-09T09:48:46.000Z","dependencies_parsed_at":"2022-08-30T10:50:48.800Z","dependency_job_id":null,"html_url":"https://github.com/izaurio/pavo","commit_stats":null,"previous_names":["kavkaz/pavo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/izaurio/pavo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaurio%2Fpavo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaurio%2Fpavo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaurio%2Fpavo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaurio%2Fpavo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/izaurio","download_url":"https://codeload.github.com/izaurio/pavo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izaurio%2Fpavo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28737306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T21:19:41.845Z","status":"ssl_error","status_checked_at":"2026-01-24T21:13:38.675Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["file-upload","go","golang","jquery","jquery-file-upload","pavo"],"created_at":"2026-01-24T21:31:58.500Z","updated_at":"2026-01-24T21:31:58.565Z","avatar_url":"https://github.com/izaurio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pavo\n\nServer-side upload service for [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload) written in Golang.\n\n## Usage\n\nRunning from the console by using the command:\n```sh\n$ bin/pavo --host=localhost:9078 --storage=/path/to/root/storage\n```\n\n## Example\n\nAfter build run application:\n```sh\n$ bin/pavo --storage=dummy/root_storage\n```\n\nOpen example page in your browser:\n```sh\nopen http://localhost:9073/example/jfu-basic.html\n```\n\n## Install\n\n#### Install golang\n\n[Install](https://golang.org/doc/install) Golang. Set the [GOPATH](http://golang.org/doc/code.html#GOPATH) environment variable. For example for MacOS:\n```sh\nbrew install go\nmkdir $HOME/go\n# Add this line in your .zshrc or .bash_profile\nexport GOPATH=$HOME/go\nexport PATH=$PATH:$GOPATH/bin\n```\n#### Install a project based build tool\n\nInstalling, or upgrading [gb](http://getgb.io) is super simple (assuming you’ve already got Go installed)\n```sh\ngo get github.com/constabulary/gb/...\n```\n\n#### Install application:\n\nClone a repository and build the project:\n```sh\ngit clone git@github.com:kavkaz/pavo.git\ncd pavo\ngb build\n```\n\n#### Setup nginx\n\nWhen used in a production environment it is recommended to use a web server nginx. Configure the web server is reduced to specifying a directory for distribution static, location for the files, and optional authentication.\n\n```\nserver {\n    listen 80;\n    server_name pavo.local;\n    \n    access_log /usr/local/var/log/nginx/pavo/access.log;\n    error_log /usr/local/var/log/nginx/pavo/error.log notice;\n    \n    location /auth {\n        internal;\n        proxy_method GET;\n        proxy_set_header Content-Length \"\";\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_pass_request_body off;\n        proxy_pass http://localhost:3000/auth/url/in/your/app;\n        proxy_set_header X-Original-URI $request_uri;\n        client_max_body_size 0;\n    }\n\n    location /files {\n        auth_request /auth;\n    \n        client_body_temp_path     /tmp;\n        client_body_in_file_only  on;\n        client_body_buffer_size   521K;\n        client_max_body_size      10G;\n    \n        proxy_pass_request_headers on;\n        proxy_set_header X-FILE $request_body_file;\n        proxy_pass_request_body off;\n        proxy_set_header Content-Length 0;\n        proxy_pass http://127.0.0.1:9073;\n    }\n    \n    location / {\n        root /Path/To/Root/Of/Storage;\n    }\n}\n```\n\nThese settings allow you to save the request body into a temporary file and pass on our application link to the file in the header `X-File`.\n\n## License\n\n[MIT license](http://www.opensource.org/licenses/MIT). Copyright (c) 2014 Zaur Abasmirzoev.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizaurio%2Fpavo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizaurio%2Fpavo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizaurio%2Fpavo/lists"}