{"id":15173969,"url":"https://github.com/ewhal/pastebin","last_synced_at":"2025-10-26T06:31:02.294Z","repository":{"id":71694978,"uuid":"60854140","full_name":"ewhal/Pastebin","owner":"ewhal","description":"Modern pastebin written in golang","archived":false,"fork":false,"pushed_at":"2017-04-18T04:55:10.000Z","size":5149,"stargazers_count":117,"open_issues_count":4,"forks_count":20,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-31T16:12:34.611Z","etag":null,"topics":["database","go","golang","mariadb","modern","mysql","pastebin","pastebin-service","postgresql","web-app","web-application"],"latest_commit_sha":null,"homepage":"https://p.pantsu.cat","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/ewhal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-06-10T14:31:56.000Z","updated_at":"2024-09-27T17:20:57.000Z","dependencies_parsed_at":"2023-05-11T05:00:43.308Z","dependency_job_id":null,"html_url":"https://github.com/ewhal/Pastebin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewhal%2FPastebin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewhal%2FPastebin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewhal%2FPastebin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewhal%2FPastebin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ewhal","download_url":"https://codeload.github.com/ewhal/Pastebin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238276073,"owners_count":19445344,"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":["database","go","golang","mariadb","modern","mysql","pastebin","pastebin-service","postgresql","web-app","web-application"],"created_at":"2024-09-27T11:21:28.907Z","updated_at":"2025-10-26T06:31:01.169Z","avatar_url":"https://github.com/ewhal.png","language":"Go","readme":"# Golang Pastebin\n[![Build Status](https://travis-ci.org/ewhal/Pastebin.svg?branch=master)](https://travis-ci.org/ewhal/Pastebin) [![GoDoc](https://godoc.org/github.com/ewhal/Pastebin?status.svg)](https://godoc.org/github.com/ewhal/Pastebin) [![Go Report Card](https://goreportcard.com/badge/github.com/ewhal/Pastebin)](https://goreportcard.com/report/github.com/ewhal/Pastebin) [![MIT\nlicensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/ewhal/Pastebin/master/LICENSE.md)\n\nModern self-hosted pastebin service with a restful API.\n\n## Motivation\nMany Pastebin services exist but all are more complicated than they need to be.\nThat is why I decided to write a pastebin service in golang.\n\n![paste](http://i.imgur.com/7BeCKa3.png)\n\n## Getting started\n### Prerequisities\n* pygmentize\n* go\n* mariadb\n\n```\npip install pygmentize\nsudo yum install -y go mariadb-server mariadb\n```\n\n### Installing\n* Please note this assumes you have Mariadb and Go already setup.\n* go get github.com/ewhal/Pastebin\n* make\n* mysql -u root -p\n* CREATE USER 'paste'@'localhost' IDENTIFIED BY 'password';\n* CREATE database paste;\n* GRANT ALL PRIVILEGES ON paste . * TO 'paste'@'localhost';\n* FLUSH PRIVILEGES;\n* quit;\n* mysql -u paste -p paste \u003c database.sql\n* cp config.example.json config.json\n* nano config.json\n* Configure port and database details\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fewhal%2Fpastebin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fewhal%2Fpastebin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fewhal%2Fpastebin/lists"}