{"id":13555821,"url":"https://github.com/Tygs/0bin","last_synced_at":"2025-04-03T08:32:14.109Z","repository":{"id":3097881,"uuid":"4123077","full_name":"Tygs/0bin","owner":"Tygs","description":"Client side encrypted pastebin","archived":false,"fork":false,"pushed_at":"2021-03-28T20:00:55.000Z","size":3728,"stargazers_count":1360,"open_issues_count":35,"forks_count":198,"subscribers_count":62,"default_branch":"master","last_synced_at":"2024-06-12T08:26:15.125Z","etag":null,"topics":["encryption","pastebin","pastebin-service","python"],"latest_commit_sha":null,"homepage":"https://0bin.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tygs.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2012-04-24T09:34:08.000Z","updated_at":"2024-06-08T18:16:27.000Z","dependencies_parsed_at":"2022-09-04T22:01:33.646Z","dependency_job_id":null,"html_url":"https://github.com/Tygs/0bin","commit_stats":null,"previous_names":["sametmax/0bin"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tygs%2F0bin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tygs%2F0bin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tygs%2F0bin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tygs%2F0bin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tygs","download_url":"https://codeload.github.com/Tygs/0bin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246966113,"owners_count":20861996,"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":["encryption","pastebin","pastebin-service","python"],"created_at":"2024-08-01T12:03:26.214Z","updated_at":"2025-04-03T08:32:09.087Z","avatar_url":"https://github.com/Tygs.png","language":"JavaScript","readme":"0bin: a client side encrypted pastebin\n===========================================\n\n0bin is a pastebin that encrypts the user content in the browser and can run without a database.\n\n* Try it: `0bin.net \u003chttp://0bin.net\u003e`_\n* `Report a bug \u003chttps://github.com/sametmax/0bin/issues\u003e`_\n\n0bin allows anybody to host a pastebin while welcoming any type of content to\nbe pasted in it. The idea is that one can (probably...) not be legally entitled\nto `moderate the pastebin content`_ as they have no way to decrypt it.\n\nIt's an Python implementation of the `zerobin project`_, created by sebsauvage, under the `WTFPL licence`_.\n\nTo run zerobin, download zerobin.pyz from the latest release_ then:\n\n::\n\n    python zerobin.pyz\n\n0bin requires Python 3.7 or higher.\n\nYou may need to type :code:`py -3.7 zerobin.pyz` on Windows, or :code:`python3.7 zerobin.pyz` on Mac/Linux, depending on your configuration.\n\nIf you are familiar with the Python ecosystem, you can also :code:`python -m pip install zerobin --user` and run :code:`python -m zerobin` for the same effect.\n\n\nHow it works\n=============\n\nWhen creating the paste:\n\n- the browser generates a random key;\n- the pasted content is encrypted with this key using AES256;\n- the encrypted pasted content is sent to the server;\n- the browser receives the paste URL and adds the key in the URL hash (#).\n\nWhen reading the paste:\n\n- the browser makes the GET request to the paste URL;\n- because the key is in the hash, the key is not part of the request;\n- browser gets the encrypted content end decrypts it using the key;\n- the pasted decrypted content is displayed and sourcecode is highlighted.\n\nKey points:\n\n- because the key is in the hash, the key is never sent to the server;\n- therefore it won't appear in the server logs;\n- all operations, including code coloration, happen on the client-side;\n- the server is no more than a fancy recipient for the encrypted data.\n\nOther features\n======================\n\n- automatic code coloration (no need to specify the language);\n- pastebin expiration: 1 day, 1 month or never;\n- burn after reading: the paste is destroyed after the first reading;\n- clone paste: you can't edit a paste, but you can duplicate any of them;\n- code upload: if a file is too big, you can upload it instead of using copy/paste;\n- copy paste to clipboard in a click;\n- own previous pastes history;\n- reader mode;\n\nKnown issues\n============\n\n- 0bin uses several HTML5/CSS3 features that are not widely supported. In that case we handle the degradation as gracefully as we can.\n- The pasted content size limit check is not accurate. It's just a safety net, so we think it's ok.\n\n\n.. _moderate the pastebin content: http://www.zdnet.com/blog/security/pastebin-to-hunt-for-hacker-pastes-anonymous-cries-censorship/11336\n.. _zerobin project: https://github.com/sebsauvage/ZeroBin/\n.. _node.js: http://nodejs.org/\n.. _is not worth it: http://stackoverflow.com/questions/201705/how-many-random-elements-before-md5-produces-collisions\n.. _WTFPL licence: http://en.wikipedia.org/wiki/WTFPL\n.. _release: https://github.com/Tygs/0bin/releases\n\nContributing\n=============\n\nWe cannot accept contributions for the moment, and will ignore PR.\n","funding_links":[],"categories":["JavaScript","Software","Apps","python","Paste Service"],"sub_categories":["Pastebins","Crypting","Video"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTygs%2F0bin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTygs%2F0bin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTygs%2F0bin/lists"}