{"id":30141862,"url":"https://github.com/himanshuteotia/notes-automation","last_synced_at":"2026-07-02T14:04:22.814Z","repository":{"id":291472283,"uuid":"977721727","full_name":"himanshuteotia/notes-automation","owner":"himanshuteotia","description":"Node.js app that creates a .md file in a GitHub repo from markdown content sent via API.","archived":false,"fork":false,"pushed_at":"2025-05-04T20:59:39.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T21:32:00.243Z","etag":null,"topics":["github","github-automation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/himanshuteotia.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-04T20:34:28.000Z","updated_at":"2025-05-04T21:01:51.000Z","dependencies_parsed_at":"2025-05-04T21:42:11.948Z","dependency_job_id":null,"html_url":"https://github.com/himanshuteotia/notes-automation","commit_stats":null,"previous_names":["himanshuteotia/notes-automation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/himanshuteotia/notes-automation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshuteotia%2Fnotes-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshuteotia%2Fnotes-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshuteotia%2Fnotes-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshuteotia%2Fnotes-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himanshuteotia","download_url":"https://codeload.github.com/himanshuteotia/notes-automation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshuteotia%2Fnotes-automation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269833310,"owners_count":24482423,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["github","github-automation"],"created_at":"2025-08-11T05:19:45.615Z","updated_at":"2026-07-02T14:04:22.774Z","avatar_url":"https://github.com/himanshuteotia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notes Automation\n\nThis is a simple Node.js app that creates a `.md` file in a GitHub repo from markdown content sent via API.\n\n## Features\n- Send markdown content via API and it will create a file in your GitHub repo\n- Custom folder path and file name support\n- Secure authentication via GitHub token\n\n## Setup\n\n1. **Clone the repo and install dependencies:**\n   ```bash\n   git clone \u003crepo-url\u003e\n   cd notes-automation\n   npm install\n   ```\n\n2. **Create a .env file:**\n   ```env\n   GITHUB_TOKEN=your_github_personal_access_token\n   GITHUB_USERNAME=your_github_username\n   GITHUB_REPO=notes\n   ```\n\n3. **Start the server:**\n   ```bash\n   node index.js\n   ```\n\n## API Usage\n\n**POST** `/create-md`\n\n**Body:**\n```json\n{\n  \"content\": \"# Hello World\\nThis is a test markdown file.\",\n  \"folderPath\": \"notes/2024\",\n  \"fileName\": \"my-note\"\n}\n```\n\n**Curl Example:**\n```bash\ncurl -X POST http://localhost:3000/create-md \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"content\": \"# Hello World\\nThis is a test markdown file.\",\n    \"folderPath\": \"notes/2024\",\n    \"fileName\": \"my-note\"\n  }'\n```\n\n## Ignore Files\n- `.env`\n- `node_modules/`\n- `logs/`\n- `*.log`\n\n## License\nMIT ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshuteotia%2Fnotes-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimanshuteotia%2Fnotes-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshuteotia%2Fnotes-automation/lists"}