{"id":13688757,"url":"https://github.com/girish946/local-paste","last_synced_at":"2025-05-01T20:30:48.810Z","repository":{"id":52694056,"uuid":"150897469","full_name":"girish946/local-paste","owner":"girish946","description":"Lightweight pastebin for home network which may or may not be connected to the internet.","archived":false,"fork":false,"pushed_at":"2023-07-25T21:24:19.000Z","size":1675,"stargazers_count":27,"open_issues_count":4,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-12T12:48:42.454Z","etag":null,"topics":["docker","docker-image","lightweight","pastebin","python","python3","raspberrypi"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/girish946.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":"2018-09-29T19:43:46.000Z","updated_at":"2024-10-15T03:56:43.000Z","dependencies_parsed_at":"2024-01-14T16:07:34.210Z","dependency_job_id":"589e312d-6920-41a8-b259-ef3b7d9e9c2e","html_url":"https://github.com/girish946/local-paste","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/girish946%2Flocal-paste","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/girish946%2Flocal-paste/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/girish946%2Flocal-paste/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/girish946%2Flocal-paste/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/girish946","download_url":"https://codeload.github.com/girish946/local-paste/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251940482,"owners_count":21668543,"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-image","lightweight","pastebin","python","python3","raspberrypi"],"created_at":"2024-08-02T15:01:21.822Z","updated_at":"2025-05-01T20:30:48.797Z","avatar_url":"https://github.com/girish946.png","language":"JavaScript","funding_links":[],"categories":["docker"],"sub_categories":[],"readme":"# LocalPaste\n\nLocalPaste is a lightweight pastebin which can be hosted on a RaspberryPi.\n\n## Installation\n\n```bash\n$ git clone https://github.com/girish946/local-paste\n$ cd local-paste\n$ python3 -m venv env\n$ source env/bin/activate\n$ pip install -r requirements.txt\n```\n\nIf you are using `pipenv`, the instructions are as follows.\n```bash\n$ git clone https://github.com/girish946/local-paste\n$ cd local-paste\n$ pipenv install\n$ pipenv shell\n```\n\n## Usage\n\n\n```bash\n$ python startLp.py --port 8000\n```\nUsing gunicorn\n\n```bash\n$ gunicorn wsgi:app -b 0.0.0.0:8000 --workers=2\n```\n\nusing Docker\n\nYou can build the docker image.\n\n```bash\n# build the image\n$ sudo docker-compose -f docker-compose.yml build\n# run the docker container\n$ sudo docker-compose -f docker-compose.yml up\n```\n\nOr you can pull the docker image from [docker hub](https://hub.docker.com/r/girish946/local-paste)\nusing\n\n```bash\n$ docker pull girish946/local-paste\n```\n\n## Settingup the tables and testing\n\nFor initial setup (ie. creating tables), once localpaste is running.\n\n```bash\n$ cd tests\n$ python testLP.py\n```\n\nor go to `http://0.0.0.0:8000/api/CreateDb` from your browser.\n\n## Features\n\n* Create, Update, Search and Delete the pastes.\n* Syntax heighlighting while viewing a paste.\n* Copy the paste to clipboard from the gui.\n* REST API.\n* Can be hosted on a low power machine like (RaspberryPi/OrangePi).\n\n## TODO\n\nPlease take a look at [Issues](https://github.com/girish946/local-paste/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement).\nFor the TODO list.\n\n## Contributing.\n\nBugs and feature requests can be made via [GitHub\nissues](https://github.com/girish946/local-paste/issues).\n\nPull requests are also welcome via git.\n\nLocalPaste uses [the Black python code formatter](https://github.com/python/black)\nto keep coding style consistent; you may wish to have it installed to make pull\nrequests easier.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgirish946%2Flocal-paste","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgirish946%2Flocal-paste","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgirish946%2Flocal-paste/lists"}