{"id":26336339,"url":"https://github.com/notrustverify/pastenym-cli","last_synced_at":"2025-03-16T01:17:58.064Z","repository":{"id":151107244,"uuid":"582690400","full_name":"notrustverify/pastenym-cli","owner":"notrustverify","description":"CLI - Anon pastebin ","archived":false,"fork":false,"pushed_at":"2023-12-19T00:09:28.000Z","size":3741,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-01-27T06:39:47.745Z","etag":null,"topics":["cli","nym","nymtech","privacy","sharing"],"latest_commit_sha":null,"homepage":"https://pastenym.ch","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notrustverify.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-12-27T15:37:37.000Z","updated_at":"2023-10-14T12:14:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b6d6c99-069b-4b27-8896-60794eb91f81","html_url":"https://github.com/notrustverify/pastenym-cli","commit_stats":{"total_commits":64,"total_committers":3,"mean_commits":"21.333333333333332","dds":0.234375,"last_synced_commit":"9762a6d9502610cbb2b762c1887327ddd1ed34ac"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notrustverify%2Fpastenym-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notrustverify%2Fpastenym-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notrustverify%2Fpastenym-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notrustverify%2Fpastenym-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notrustverify","download_url":"https://codeload.github.com/notrustverify/pastenym-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809858,"owners_count":20351407,"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":["cli","nym","nymtech","privacy","sharing"],"created_at":"2025-03-16T01:17:57.539Z","updated_at":"2025-03-16T01:17:58.054Z","avatar_url":"https://github.com/notrustverify.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI for pastenym\n\n[![asciicast](https://asciinema.org/a/548628.svg)](https://asciinema.org/a/548628)\n\n## Prerequisites\n\n* A running [Nym-client](https://nymtech.net/docs/stable/integrations/websocket-client)\n\n## Installation\n\nGrab the latest release: https://github.com/notrustverify/pastenym-cli/releases/latest\n\nor compile it yourself\n\n1. Install [Go](https://go.dev/doc/install)\n2. Get the repo and compile\n```bash\ngit clone https://github.com/notrustverify/pastenym-cli/\ncd pastenym-cli\nmake\n```\n\n\n## Quick start\n\n### Share a paste\n```bash\n./pastenym -text \"my text\"\n```\n\n#### With file\n```bash\n./pastenym -text \"my text\" -file mixnethowto.pdf\n```\n\n### Pipe a paste\n\n```bash\necho \"my text\" | ./pastenym\n```\n\n### Get a paste\n\n#### From key and id\n\n```bash\n./pastenym -id x4jO7s4W -key b5hstfjtd6ojkuwsj9a46di964qreocf\n```\n#### From URL\n\n```bash\n./pastenym -id https://pastenym.ch/#/x4jO7s4W\u0026key=b5hstfjtd6ojkuwsj9a46di964qreocf\n```\n#### Create a paste with time expiration\n\nYou could set with by using relative time when a paste will expire\n\n```bash\n./pastenym -text \"my text\" -time 10minute\n```\n\nThe current relative time definition are supported\n| Long | Short |\n|--|--|\n| minute | m |\n| hour | h |\n| day | d |\n| week | w |\n| month | - |\n| year | y|\n\n## Usage\n\n\n```\nUsage of pastenym:\n  -burn\n    \tSpecify if the text have to be deleted when read. Default is false\n  -debug\n    \tSpecify if the text have to be deleted when read. Default is false\n  -file string\n    \tSpecify the path for a file to share. Default is empty\n  -height int\n    \tSpecify a Bitcoin block height when the paste have to be deleted (default -1)\n  -id string\n    \tSpecify paste url id to retrieve. Default is empty\n  -instance string\n    \tInstance where to get the paste from GUI (default \"pastenym.ch\")\n  -ipfs\n    \tSpecify if the text to share is stored on IPFS. Default is false\n  -key string\n    \tKey for getting the plaintext\n  -nymclient string\n    \tNym client to connect (default \"127.0.0.1:1977\")\n  -ping\n    \tPing the backend to see if it's alive. Return the version\n  -provider string\n    \tSpecify the provider. (default \"HWm3757chNdBq9FzKEY9j9VJ5siRxH8ukrNqYwFp9Unp.D34iYLRd5vzpCU4nZRcFVmoZpTQQMa6mws4Q65LdRosi@Fo4f4SQLdoyoGkFae5TpVhRVoXCF8UiypLVGtGjujVPf\")\n  -public\n    \tSet the paste to public, i.e without encryption. Default is private\n  -silent\n    \tRemove every output, just print data. Default is false\n  -text string\n    \tSpecify the text to share. Mandatory\n  -time string\n    \tSpecify a relative time interval when the paste have to be deleted. For example 1d, 1m, 10h\n  -url\n    \tOnly print the URL. Default is false\n  -view int\n    \tSpecify if the text have to be deleted when read.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotrustverify%2Fpastenym-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotrustverify%2Fpastenym-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotrustverify%2Fpastenym-cli/lists"}