{"id":19413437,"url":"https://github.com/wisehackermonkey/doc-history","last_synced_at":"2025-10-17T15:46:58.782Z","repository":{"id":57213861,"uuid":"337330120","full_name":"wisehackermonkey/doc-history","owner":"wisehackermonkey","description":"copies a cleaned-up version of your previous commands to the clipboard to use in making documentation easier","archived":false,"fork":false,"pushed_at":"2021-05-18T03:33:36.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T17:23:56.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wisehackermonkey.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}},"created_at":"2021-02-09T07:50:24.000Z","updated_at":"2021-12-04T06:57:23.000Z","dependencies_parsed_at":"2022-08-29T02:10:34.621Z","dependency_job_id":null,"html_url":"https://github.com/wisehackermonkey/doc-history","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fdoc-history","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fdoc-history/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fdoc-history/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fdoc-history/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wisehackermonkey","download_url":"https://codeload.github.com/wisehackermonkey/doc-history/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593151,"owners_count":19825930,"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-11-10T12:33:01.720Z","updated_at":"2025-10-17T15:46:53.761Z","avatar_url":"https://github.com/wisehackermonkey.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# doc-history\n### copies a cleaned up version of your previous commands to the clipboard to use in making documentation easier\n\n\n-----\n[![Node](https://img.shields.io/badge/Javascript-Enabled-lightgreen.svg)](https://shields.io/) [![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/).\n\n\u003cimg src=\"2021-02-09-13-12-27.png\" height=\"700\"\u003e\n\n## Install \u0026 run\n#### Npm\n```bash\nnpm install --global doc-history\n```\n\u003c!-- \u003cimg src=\"screenshots/2021-02-08-22-54-08.png\" height=\"300\"\u003e --\u003e\n\n## Usage:\n```bash\ndoc-history -n 10\n```\n\n# How it works\n### what i would do before doc-history\n```bash\n\u003ehistory\n1794  code docker-compse.yml \n1795  mv docker-compse.yml docker-compose.yml \n1796  docker-compose up -d\n1797  code docker-compose.yml \n1798  docker-compose up -d\n1799  docker ps\n1800  docker ps -f\n1801  docker ps -t\n1802  docker ps \n1803  docker ps -t\n1804  docker ps \n1805  docker-compose logs\n1806  code .env\n1807  docker-compose up\n1808  docker-compose up -d\n1809  docker-compose logs -f\n1810  docker-compose up -d\n ```\n### remove duplicates\n```bash\n\u003ehistory\n1797  code docker-compose.yml\n1806  code .env\n1807  docker-compose up\n1808  docker-compose up -d\n1809  docker-compose logs -f\n ```\n### delete line numbers\n\n```bash\n\u003ehistory\ncode docker-compose.yml\ncode .env\ndocker-compose up\ndocker-compose up -d\ndocker-compose logs -f\n```\n### copy paste into my github markdown page and add markdown styling\n```bash\n```bash\ncode docker-compose.yml\ncode .env\ndocker-compose up\ndocker-compose up -d\ndocker-compose logs -f```\n ```\n\n\n## doc-history Improves this workflow\n```bash\ndoc-history -n 10\n```\n### This is copied to your clipboard! \n### now Paste this into markdown doc!\n```\n# \n```bash\ncode docker-compose.yml\ncode .env\ndocker-compose up\ndocker-compose up -d\ndocker-compose logs -f```\n ```\n\n\n# Development\n### how to publish docker image to docker hub\n```bash\ngit clone https://github.com/wisehackermonkey/doc-history.git\n\ncd doc-history\n```\n\n## how to build\n```bash\nnpm install --global .\n```\n## remove locally\n```bash\nnpm uninstall --global doc-history \nlist install global deps\nnpm ls -g --depth=0\n```\n## how to publish package\n\n```bash\nnpm login\n\nnpm version minor\nOR\nnpm version patch\n\nnpm publish --access=public\nnpm uninstall --global doc-history\nnpm install --global doc-history\n```\n\n\n------\n\n# Future Additions\n- Fuzzy matching  EX:\n##### these get remove \n```\npowershell.exe /version\npowershell.exe \\version\n```\n- wizard that asks about to pick which ones you want to keep\n# Contributors\n\u003ca href=\"https://github.com/wisehackermonkey/doc-history/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=wisehackermonkey/doc-history\" /\u003e\n\u003c/a\u003e\n\nMade with [contributors-img](https://contrib.rocks).\n\n\n\n## License\n\n#### This project is licensed under the [![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisehackermonkey%2Fdoc-history","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisehackermonkey%2Fdoc-history","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisehackermonkey%2Fdoc-history/lists"}