{"id":25528834,"url":"https://github.com/0xydev/mdium","last_synced_at":"2026-04-30T13:32:11.822Z","repository":{"id":278416674,"uuid":"935318151","full_name":"0xydev/mdium","owner":"0xydev","description":"mdium is a Go package for downloading Medium articles as markdown files.","archived":false,"fork":false,"pushed_at":"2025-02-19T17:16:05.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T04:39:25.042Z","etag":null,"topics":["go","golang","md","medium","parsing"],"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/0xydev.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":"2025-02-19T08:53:22.000Z","updated_at":"2025-02-19T17:16:08.000Z","dependencies_parsed_at":"2025-02-19T17:30:53.936Z","dependency_job_id":"dabd1f5a-7d1c-4b26-b9b3-234c67c42e76","html_url":"https://github.com/0xydev/mdium","commit_stats":null,"previous_names":["0xydev/mdium"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/0xydev/mdium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xydev%2Fmdium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xydev%2Fmdium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xydev%2Fmdium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xydev%2Fmdium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xydev","download_url":"https://codeload.github.com/0xydev/mdium/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xydev%2Fmdium/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32466333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","golang","md","medium","parsing"],"created_at":"2025-02-19T23:23:28.700Z","updated_at":"2026-04-30T13:32:11.804Z","avatar_url":"https://github.com/0xydev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mdium\n\nmdium is a Go package for downloading Medium articles as markdown files.\n\n[![EN](https://img.shields.io/badge/lang-EN-blue.svg)](README.md)\n[![TR](https://img.shields.io/badge/lang-TR-red.svg)](README_TR.md)\n\n## Tech Stack\n\n[![Go](https://img.shields.io/badge/go-1.23-00ADD8.svg?style=flat\u0026logo=go)](https://go.dev/)\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/0xydev/mdium)](https://pkg.go.dev/github.com/0xydev/mdium)\n[![Go Report Card](https://goreportcard.com/badge/github.com/0xydev/mdium)](https://goreportcard.com/report/github.com/0xydev/mdium)\n[![RSS](https://img.shields.io/badge/RSS-Feed-FFA500.svg?style=flat\u0026logo=rss)](https://en.wikipedia.org/wiki/RSS)\n[![Markdown](https://img.shields.io/badge/Markdown-000000.svg?style=flat\u0026logo=markdown)](https://daringfireball.net/projects/markdown/)\n[![YAML](https://img.shields.io/badge/YAML-CB171E.svg?style=flat\u0026logo=yaml)](https://yaml.org/)\n\n## Requirements\n- Go 1.23 or higher\n\n## Installation\n\n### As a Package\n```bash\ngo get github.com/0xydev/mdium@v0.1.1\n```\n\n### As a Command Line Tool\n```bash\ngo install github.com/0xydev/mdium/cmd/mdium@v0.1.1\n```\n\n## Features\n- Download articles from:\n  - User profiles (e.g., @Medium)\n  - Medium blogs (e.g., blog.medium.com)\n  - Publications (e.g., medium.com/netflix-techblog)\n- Convert articles to markdown with YAML frontmatter\n- Limit the number of articles to download\n- Customizable output directory\n\n## Usage\n\n### Command Line\n```bash\n# Download from a user profile\ngo run cmd/mdium/main.go -user Medium -output user_articles -limit 5\n\n# Download from Medium's blog\ngo run cmd/mdium/main.go -domain blog.medium.com -output blog_articles -limit 3\n\n# Download from a publication\ngo run cmd/mdium/main.go -domain medium.com/netflix-techblog -output pub_articles\n```\n\n### As a Package\n```go\npackage main\n\nimport (\n    \"log\"\n    \"github.com/0xydev/mdium\"\n)\n\nfunc main() {\n    // Download from a user profile\n    client, err := mdium.NewClient(\"Medium\", \"articles\")\n    if err != nil {\n        log.Fatal(err)\n    }\n    \n    err = client.DownloadArticles(5)\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    // Download from a publication\n    pubClient, err := mdium.NewClient(\"medium.com/netflix-techblog\", \"netflix_articles\")\n    if err != nil {\n        log.Fatal(err)\n    }\n    \n    err = pubClient.DownloadArticles(0) // Download all available articles\n    if err != nil {\n        log.Fatal(err)\n    }\n}\n```\n\n## Output Format\nArticles are saved as markdown files with YAML frontmatter:\n```yaml\n---\ntitle: \"Article Title\"\ndate: 2024-02-19T10:00:00Z\nlink: \"https://medium.com/...\"\nauthor: \"Author Name\"\n---\n\nArticle content in markdown...\n```\n\n## Limitations\n- Medium's RSS feed is limited to the latest 10 articles\n- Some Medium articles might have formatting differences when converted to markdown\n\n## License\nMIT License - see [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xydev%2Fmdium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xydev%2Fmdium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xydev%2Fmdium/lists"}