{"id":23524285,"url":"https://github.com/yankeexe/toc-md","last_synced_at":"2025-04-19T22:53:24.877Z","repository":{"id":46616520,"uuid":"303057060","full_name":"yankeexe/toc-md","owner":"yankeexe","description":"Generate/inject \"Table of Contents\" for markdown files.","archived":false,"fork":false,"pushed_at":"2021-10-03T20:02:28.000Z","size":6,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T13:51:14.204Z","etag":null,"topics":["cli","cli-app","go","go-cli","golang","hacktoberfest","toc","toc-generator"],"latest_commit_sha":null,"homepage":"","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/yankeexe.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}},"created_at":"2020-10-11T06:28:21.000Z","updated_at":"2023-03-04T08:59:09.000Z","dependencies_parsed_at":"2022-09-13T15:40:33.947Z","dependency_job_id":null,"html_url":"https://github.com/yankeexe/toc-md","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeexe%2Ftoc-md","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeexe%2Ftoc-md/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeexe%2Ftoc-md/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeexe%2Ftoc-md/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yankeexe","download_url":"https://codeload.github.com/yankeexe/toc-md/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249824537,"owners_count":21330334,"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","cli-app","go","go-cli","golang","hacktoberfest","toc","toc-generator"],"created_at":"2024-12-25T18:15:27.549Z","updated_at":"2025-04-19T22:53:24.855Z","avatar_url":"https://github.com/yankeexe.png","language":"Go","readme":"# toc-md\n\nGenerate or inject \"Table of Contents\" for markdown file.\n\n\u003cimg src=\"https://i.imgur.com/eLQzctc.gif\" width=\"600\" /\u003e\n\n## Contents\n\n- [toc-md](#toc-md)\n  - [Installation](#installation)\n    - [Install toc-md](#install-toc-md)\n    - [Verify installation](#verify-installation)\n  - [Usage](#usage)\n\n## Installation\n\n### Install toc-md\n\n1. Download the zip from [releases](https://github.com/yankeexe/toc-md/releases)\n\n2. unzip the tar file\n\n   ```bash\n   $ tar -xzf toc\n   ```\n\n3. Copy the binary to `bin` directory.\n\n   ```bash\n   $ sudo cp toc /usr/local/bin\n   ```\n\n### Verify installation\n\nRun `toc` to see the help message.\n\n```bash\n$ toc\n```\n\n## Usage\n\nGenerate table of contents\n\n```bash\n$ toc gen \"README.md\"\n```\n\nInject table of contents to the file.\n\n```bash\n$ toc gen \"README.md\" -i\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeexe%2Ftoc-md","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyankeexe%2Ftoc-md","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeexe%2Ftoc-md/lists"}