{"id":23401875,"url":"https://github.com/codef0x/pasty","last_synced_at":"2025-06-13T20:06:51.918Z","repository":{"id":37023452,"uuid":"472514148","full_name":"CodeF0x/pasty","owner":"CodeF0x","description":"📋 another pastebin.com cli","archived":false,"fork":false,"pushed_at":"2023-12-18T00:43:03.000Z","size":349,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T16:38:57.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/pasty","language":"JavaScript","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/CodeF0x.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":"2022-03-21T21:11:52.000Z","updated_at":"2024-10-23T20:48:51.000Z","dependencies_parsed_at":"2024-10-23T00:50:13.777Z","dependency_job_id":"0504b581-d36f-4965-98ce-bd7efc7d29c9","html_url":"https://github.com/CodeF0x/pasty","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"18b54fe39d8fcea7890929c0893956df19b2652e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeF0x/pasty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeF0x%2Fpasty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeF0x%2Fpasty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeF0x%2Fpasty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeF0x%2Fpasty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeF0x","download_url":"https://codeload.github.com/CodeF0x/pasty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeF0x%2Fpasty/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259712410,"owners_count":22900038,"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":[],"created_at":"2024-12-22T11:19:55.677Z","updated_at":"2025-06-13T20:06:51.896Z","avatar_url":"https://github.com/CodeF0x.png","language":"JavaScript","readme":"# pasty\n\npasty is a cli for pastebin.com. With it you can:\n\n- upload files\n- upload strings\n- list all your pastes\n- delete a paste\n- get paste content\n- get user information (signed in user)\n\n# usage\n\nfirst, login:\n\n- visit [pastebin.com](https://pastebin.com/) and login\n- visit [https://pastebin.com/doc_api#1](https://pastebin.com/api_doc)\n- save your api key in a file called `pasty.api` in your home directory (`~/.pasty.api`)\n  - the contents of your `.pasty.api` should just be the key, nothing else\n\nthen run\n\n```\n$ pasty login \u003cusername\u003e\n```\n\nthen, create a paste:\n\n```\n$ pasty create -s 'hello world!'\n```\n\nalternatively, you can upload a file:\n\n```\n$ pasty create -f hello_world.txt\n```\n\n## other commands\n\nlist all your pastes:\n\n```\n$ pasty list\n```\n\ndelete a paste:\n\n```\n$ pasty delete \u003cunique id\u003e\n```\n\nget a paste's content:\n\n```\n$ pasty get \u003cunique id\u003e\n```\n\nget info about signed in user:\n\n```\n$ pasty user\n```\n\nlogout:\n\n```\n$ pasty logout\n```\n\n# more options\n\nyou can customize your newly created paste:\n\n- syntax highlighting (default: text)\n  - [supported hightlighting formats](https://pastebin.com/faq#10)\n- expiry date (default: never)\n  - never (N)\n  - 10 minutes (10M)\n  - 1 hour (1H)\n  - 1 day (1D)\n  - 1 week (1W)\n  - 1 month (1M)\n  - 6 months (6M)\n  - 1 year (1Y)\n- paste visibilty (default: public)\n  - public\n  - unlisted\n  - private\n\n\u003e folders are not supported! This is due to the pastebin API not processing the folder option when making the request. It can't be fixed within this repository\n\n# installation\n\n`npm install -g pasty`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodef0x%2Fpasty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodef0x%2Fpasty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodef0x%2Fpasty/lists"}