{"id":20128573,"url":"https://github.com/masterevarior/cocopasty","last_synced_at":"2025-07-14T12:42:18.499Z","repository":{"id":36996246,"uuid":"477082640","full_name":"MasterEvarior/cocopasty","owner":"MasterEvarior","description":"✍️A small copy-and-paste app for selfhosting","archived":false,"fork":false,"pushed_at":"2025-03-25T15:54:23.000Z","size":3989,"stargazers_count":39,"open_issues_count":17,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T12:37:18.166Z","etag":null,"topics":["docker","docker-compose","golang","mit-license","redis","selfhosted","vuejs","vuejs3"],"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/MasterEvarior.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-04-02T14:45:02.000Z","updated_at":"2025-04-04T01:35:29.000Z","dependencies_parsed_at":"2024-06-19T09:58:24.867Z","dependency_job_id":"8f9292fa-c1e3-4af7-b176-828ea3e25791","html_url":"https://github.com/MasterEvarior/cocopasty","commit_stats":{"total_commits":209,"total_committers":5,"mean_commits":41.8,"dds":0.631578947368421,"last_synced_commit":"f8388100c4e42d8757519c970624e2c506e930c2"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterEvarior%2Fcocopasty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterEvarior%2Fcocopasty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterEvarior%2Fcocopasty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasterEvarior%2Fcocopasty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MasterEvarior","download_url":"https://codeload.github.com/MasterEvarior/cocopasty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248063857,"owners_count":21041854,"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":["docker","docker-compose","golang","mit-license","redis","selfhosted","vuejs","vuejs3"],"created_at":"2024-11-13T20:28:05.829Z","updated_at":"2025-04-09T15:50:43.790Z","avatar_url":"https://github.com/MasterEvarior.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\n  \u003cimg src=\"assets/icon-512x512.png\" alt=\"logo\" width=\"200\" height=\"auto\" /\u003e\n  \u003ch1\u003eCocopasty\u003c/h1\u003e\n  \n  \u003cp\u003e\n    A simple copy-and-paste app to selfhost\n  \u003c/p\u003e\n  \n  \n\u003c!-- Badges --\u003e\n\u003cp\u003e\n  \u003ca href=\"https://github.com/MasterEvarior/cocopasty/graphs/contributors\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/contributors/MasterEvarior/cocopasty\" alt=\"contributors\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/MasterEvarior/cocopasty\" alt=\"last update\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/MasterEvarior/cocopasty/network/members\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/MasterEvarior/cocopasty\" alt=\"forks\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/MasterEvarior/cocopasty/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/MasterEvarior/cocopasty\" alt=\"stars\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/MasterEvarior/cocopasty/issues/\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/MasterEvarior/cocopasty\" alt=\"open issues\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/MasterEvarior/cocopasty/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/MasterEvarior/cocopasty\" alt=\"license\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n   \n\u003ch4\u003e\n    \u003ca href=\"https://github.com/MasterEvarior/cocopasty/issues/new?assignees=MasterEvarior\u0026labels=bug\u0026template=bug_report.md\u0026title=\"\u003eReport Bug\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://github.com/MasterEvarior/cocopasty/issues/new?assignees=MasterEvarior\u0026labels=enhancement\u0026template=feature_request.md\u0026title=\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/h4\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003c!-- Table of Contents --\u003e\n# Table of Contents\n\n- [About the Project](#about-the-project)\n  * [Screenshots](#screenshots)\n  * [Tech Stack](#tech-stack)\n  * [Features](#features)\n- [Getting Started](#getting-started)\n  * [Configuration](#configuration)\n  * [Prerequisites](#prerequisites)\n  * [Run Locally](#run-locally)\n  * [Deployment](#deployment)\n- [Roadmap](#roadmap)\n- [Contributing](#contributing)\n- [FAQ](#faq)\n- [License](#license)\n- [Contact](#contact)\n- [Acknowledgements](#acknowledgements)\n  \n\n\u003c!-- About the Project --\u003e\n## About the Project\nCocopasty is a small and simply copy-and-paste solution for your code. Paste your code in your browser and copy it on another device!\n\n\u003c!-- Screenshots --\u003e\n### Screenshots\n\n\u003cdiv align=\"center\"\u003e \n  \u003cimg src=\"assets/screenshot.png\" alt=\"screenshot\" /\u003e\n\u003c/div\u003e\n\n\n\u003c!-- TechStack --\u003e\n### Tech Stack\n\n\u003cdetails\u003e\n  \u003csummary\u003eClient\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.vuejs.org/\"\u003eVue.js\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eServer\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://go.dev/\"\u003eGolang\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDatabase\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://redis.io/\"\u003eRedis\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDevOps\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.docker.com/\"\u003eDocker\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003c!-- Features --\u003e\n### Features\n\n- So simple, your pet rock could use it\n- 150+ available languages\n- Autodetect languages with [highlight.js](https://highlightjs.org)\n- Completely dockerized\n\u003c!-- Getting Started --\u003e\n## Getting Started\n\n\u003c!-- Prerequisites --\u003e\n### Prerequisites\nYou need to have Go, Docker, Docker Compose and NPM installed to run/develop this project.\n\n### Configuration\nExplanations for the different environment variables. Examples can be found in the docker-compose.yml files.\n\n#### Frontend\n- `VUE_APP_BACKEND_PORT` is the port your cocopasty-backend container runs.\n- `VUE_APP_BACKEND_HOST` is the host of your cocopasty-backend container.\n\n#### Backend\n- `LOG_LEVEL` the log level you wish to use. Default is \"info\". All log levels can be found [here](https://github.com/Sirupsen/logrus#level-logging).\n- `REDIS_HOST` is the host + port of your Redis DB.\n- `REDIS_PASSWORD` if your Redis instance uses password authentication, set here your password. If left empty, authentication without password will be tried.\n\n\u003c!-- Run Locally --\u003e\n### Run Locally\n\nClone the project\n\n```bash\n  git clone https://https://github.com/MasterEvarior/cocopasty.git\n```\n\nGo to the project directory\n\n```bash\n  cd cocopasty\n```\n\nRun with Docker Compose\n\n```bash\n  docker-compose up\n```\n\n\u003c!-- Deployment --\u003e\n### Deployment\n\n#### Docker Compose\nTo deploy this project copy the contents of the [docker-compose-deploy.yml](https://github.com/MasterEvarior/cocopasty/blob/main/docker-compose-deploy.yml) file and paste it into a new file.\n\n```bash\n  wget https://raw.githubusercontent.com/MasterEvarior/cocopasty/main/docker-compose-deploy.yml\n```\nChange the ports, volumes, etc. to your liking.\n```bash\n  vi docker-compose-deploy.yml\n```\n\nRename the file and run it with Docker Compose.\n```bash\n  mv docker-compose-deploy.yml docker-compose.yml\n  docker-compose up\n```\n\u003c!-- Roadmap --\u003e\n## Roadmap\nFeel free to suggest features through a GitHub issue, in addition to the ones listed below:\n- [ ] Backend tests\n- [ ] Frontend tests\n- [ ] Installation instructions for Unraid\n- [ ] CI/CD with GitHub-Actions\n  - [X] Automatically update Changelog for dependency updates\n  - [ ] Automatic releases\n  - [ ] Run tests\n\n\u003c!-- Contributing --\u003e\n## Contributing\nContributions are always welcome!\n\n\u003c!-- FAQ --\u003e\n## FAQ\n\n- Is there an official method to install WITHOUT Docker?\n\n  + No\n\n- Is there any sort of build in authentication?\n\n  + No, though you could use something like [Authelia](https://www.authelia.com/docs/)\n\n- Can I use this to copy my API-Keys etc. from one device to another?\n\n  + You can but I'd strongly advise against it\n\n- Which languages are available for auto-highligting?\n\n  + A complete list can be found [here](https://highlightjs.readthedocs.io/en/latest/supported-languages.html)\n\n- Can I use this with my already existing Redis instance?\n\n  + Sure, you just have to adjust the compose file to your liking\n\n- Does the default compose file configure Redis to be persistent?\n\n  + No\n\n\u003c!-- License --\u003e\n## License\n\nDistributed under the MIT License. See the LICENSE file for more information.\n\n\u003c!-- Contact --\u003e\n## Contact\n\nEmail: contact@giannin.dev\n\nProject Link: [https://github.com/MasterEvarior/cocopasty](https://github.com/MasterEvarior/cocopasty)\n\n\n\u003c!-- Acknowledgments --\u003e\n## Acknowledgements\n\nCool projects which make Cocopasty possible\n\n - [Shields.io](https://shields.io/)\n - [Awesome Readme Template](https://github.com/Louis3797/awesome-readme-template)\n - [highlight.js](https://highlightjs.org)\n - [Vue Prism Editor](https://github.com/koca/vue-prism-editor)\n - [Guide to Vue.js + Docker env variables](https://medium.com/js-dojo/vue-js-runtime-environment-variables-807fa8f68665)\n - [CSS Button Generator](https://www.bestcssbuttongenerator.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterevarior%2Fcocopasty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasterevarior%2Fcocopasty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterevarior%2Fcocopasty/lists"}