{"id":17319977,"url":"https://github.com/aatxe/meep","last_synced_at":"2025-04-14T16:13:02.713Z","repository":{"id":57637716,"uuid":"123486446","full_name":"aatxe/meep","owner":"aatxe","description":"A simple pasting service with syntax highlighting support.","archived":false,"fork":false,"pushed_at":"2019-11-06T20:50:40.000Z","size":178,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T16:12:47.482Z","etag":null,"topics":["command-line","curl","pastebin-service","rocket-rs","rust"],"latest_commit_sha":null,"homepage":"https://commie.club/m/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aatxe.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}},"created_at":"2018-03-01T20:06:18.000Z","updated_at":"2025-03-04T22:19:51.000Z","dependencies_parsed_at":"2022-09-02T03:12:44.556Z","dependency_job_id":null,"html_url":"https://github.com/aatxe/meep","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/aatxe%2Fmeep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatxe%2Fmeep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatxe%2Fmeep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatxe%2Fmeep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aatxe","download_url":"https://codeload.github.com/aatxe/meep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248914116,"owners_count":21182359,"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":["command-line","curl","pastebin-service","rocket-rs","rust"],"created_at":"2024-10-15T13:28:23.723Z","updated_at":"2025-04-14T16:13:02.673Z","avatar_url":"https://github.com/aatxe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meep [![Build Status][ci-badge]][ci] [![Crates-io][cr-badge]][cr] [![Built with Spacemacs][bws]][sm]\n\n[ci-badge]: https://travis-ci.org/aatxe/meep.svg\n[ci]: https://travis-ci.org/aatxe/meep\n[cr-badge]: https://img.shields.io/crates/v/meep.svg\n[cr]: https://crates.io/crates/meep\n[bws]: https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg\n[sm]: http://spacemacs.org\n\nA simple pasting service powered by [Rocket][rocket].\n\n[rocket]: https://rocket.rs/\n\n## Installation\n\nSetting up a new instance is easy, but it requires using Rust nightly.\n\n1. Install `meep` with `cargo` via `cargo +nightly install --force meep`.\n    - If you're not using `rustup` but still have nightly, use `cargo install --force meep` instead.\n    - The `--force` flag ensures that you'll update any current installations to the latest version.\n2. Run `meep` in a directory where you want it to create `meep.toml` and `meep.db`.\n    - You can also create a `Rocket.toml` which can be useful, e.g. for setting production templates.\n    - You can set a specific path for the configuration with the `MEEP_CONFIG` environment variable.\n3. Install a set of templates to use in `templates/` within your working directory.\n    - You can configure this path in `Rocket.toml` (including per-environment).\n    - You can use the default templates in the repository as a starting point.\n4. Edit the configuration in `meep.toml` and then re-run `meep`.\n    - You should always run production instances with `ROCKET_ENV` set to `production`.\n    - You should also make sure to deploy `meep` behind a proxy through `nginx` or `apache`.\n\n## Example Configurations\n\n### meep.toml\n\n```toml\nmaintainer = \"Aaron Weiss\"\nmaintainer-email = \"awe@pdgn.co\"\nmeep-root = \"https://commie.club/m\"\ndatabase-url = \"meep.db\"\ndefault-theme = \"InspiredGitHub\"\nextra-syntaxes-path = \"syntaxes\"\n```\n\n### Rocket.toml\n\n```toml\n[development]\nport = 8080\ntemplate_dir = \"templates/\"\n\n[production]\nport = 8080\ntemplate_dir = \"prod_templates/\"\n```\n\n## Manpage\n\n```\nmeep(1)                              MEEP                              meep(1)\n\n                       dMMMMMMMMb dMMMMMP dMMMMMP dMMMMb\n                      dMP\"dMP\"dMPdMP     dMP     dMP.dMP\n                     dMP dMP dMPdMMMP   dMMMP   dMMMMP\"\n                    dMP dMP dMPdMP     dMP     dMP\n                   dMP dMP dMPdMMMMMP dMMMMMP dMP\n\nSYNOPSIS\n    \u003ccommand\u003e | curl --data-binary \"@-\" $MEEP_ROOT\n\nDESCRIPTION\n    Simply POST data to $MEEP_ROOT to paste\n\nOPTIONS\n    add /\u003cext\u003e to resulting url for syntax highlighting\n    add /\u003cext\u003e/\u003ctheme\u003e for syntax highlighting with a specific theme\n\nTHEMES\n    default    $DEFAULT_THEME\n    gh         InspiredGitHub\n    light      Solarized (light)\n    dark       Solarized (dark)\n\nEXAMPLES\n    (meep) cat src/main.rs | curl --data-binary \"@-\" $MEEP_ROOT\n           $MEEP_ROOT/iVse\n    (meep) firefox $MEEP_ROOT/iVse/rs\n\nMAINTAINER\n    Instance maintained by $MAINTAINER \u003c$MAINTAINER_EMAIL\u003e\n\nSEE ALSO\n    https://github.com/aatxe/meep\n\nmeep 0.0.0                                                             meep(1)\n```\n\n## Versioning\n\n`meep` uses [semantic versioning](https://semver.org) tied to its Web API. Thus, major number\nchanges correspond to changes to the validity of existing routes, while minor number changes\ncorrespond to the addition of new routes. Patch number changes will correspond to any changes that\ndo not affect the Web API.\n\n## License\n\n```\nmeep - a simple pasting service\nCopyright (C) 2018 Aaron Weiss \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatxe%2Fmeep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faatxe%2Fmeep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatxe%2Fmeep/lists"}