{"id":20982375,"url":"https://github.com/privapps/notebook-docker-nginx-fpm-alpine-privatebin","last_synced_at":"2025-03-13T10:26:19.955Z","repository":{"id":180815673,"uuid":"342763132","full_name":"privapps/notebook-docker-nginx-fpm-alpine-privatebin","owner":"privapps","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-19T07:26:42.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-19T08:26:09.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nim","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/privapps.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":"2021-02-27T03:40:19.000Z","updated_at":"2025-02-19T07:22:10.000Z","dependencies_parsed_at":"2024-11-19T05:48:27.257Z","dependency_job_id":"595a4b15-167b-4a6a-9a5f-31cfba8cc7c7","html_url":"https://github.com/privapps/notebook-docker-nginx-fpm-alpine-privatebin","commit_stats":null,"previous_names":["privapps/notebook-docker-nginx-fpm-alpine-privatebin"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2Fnotebook-docker-nginx-fpm-alpine-privatebin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2Fnotebook-docker-nginx-fpm-alpine-privatebin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2Fnotebook-docker-nginx-fpm-alpine-privatebin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/privapps%2Fnotebook-docker-nginx-fpm-alpine-privatebin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/privapps","download_url":"https://codeload.github.com/privapps/notebook-docker-nginx-fpm-alpine-privatebin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243384911,"owners_count":20282456,"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-11-19T05:45:25.303Z","updated_at":"2025-03-13T10:26:19.934Z","avatar_url":"https://github.com/privapps.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Private notebook back end and docker images\n\nThere are three kind of backend\n* Go backend, which can edit existing noted\n* PHP backend, which can edit existing noted\n* PHP backend, privatebin which is unmodifiable. (only client side configuration is sufficient)\n\nCurrently we have Go backend and PHP privatebin backend dockers.\n\n# End user note\n\n## Custom Backend Support Edit Exiting Note\n```\n#mkdir notes; chmod a+w notes\ndocker run --memory=6m --rm -p 18080:8080 -v $PWD/notes:/notes ghcr.io/privapps/notebook:v0.0.3\n```\n\nAfter you finish your note for the first version, go to `Settings =\u003e Hosted:Editable` then register and generate a `Symmetric Key`.\n\nSave the new generated link and you can update the exiting node later.\n\nTo see detail information about go executable command, see [go](./go/)\n\nBinaries can be found at tags area. And you might use different configuration. See [php/config.json](php/config.json) and [config.json](config.json)\n\n\n## Docker Images for Privatebin\n\nIt contains privapps notebook, privatebin, nginx, php-fpm \u0026 alpine \n\n*This image is based on the docker image of [privatebin](https://github.com/PrivateBin/docker-nginx-fpm-alpine)*\n\nIt adds the front end UI, and use privatebin as the back end storage. Note this images is at docker hub and only have amd64.\n\nTo run it \n```\n#mkdir privatebin-data; chmod a+w privatebin-data\ndocker run -d --restart=\"always\" --read-only -p 8080:8080 -v $PWD/privatebin-data:/srv/data docker.io/privapps/notebook\n```\nMore details please take a look at https://github.com/PrivateBin/docker-nginx-fpm-alpine\n\n# Developers Note\nThere is a custom build backend server that you can modified existing saved notes, other than use privatebin, you can get the go binaries at release.\n\n#### Directly Run\nYour folder structure should look at\n```bash\n./\u003cexecutable\u003e\n./static/index.html # and more\n./notes/data        #folder for actual data. back it up if you need to\n```\n\nThen run at the root folder\n` env PORT=18080 NOTE_DATA_PATH=./notes/ \u003cexecutable\u003e `\n\nOr Run inside docker\n`docker run --rm -w /var/www --entrypoint /var/www/\u003cexecutable\u003e -v ${PWD}:/var/www  -p 18080:8080 -e NOTE_DATA_PATH=./notes/ alpine:3.13`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivapps%2Fnotebook-docker-nginx-fpm-alpine-privatebin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprivapps%2Fnotebook-docker-nginx-fpm-alpine-privatebin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivapps%2Fnotebook-docker-nginx-fpm-alpine-privatebin/lists"}