{"id":13582865,"url":"https://github.com/kirtan403/bookmark-github-stars","last_synced_at":"2025-04-06T17:32:28.662Z","repository":{"id":217126263,"uuid":"79639939","full_name":"kirtan403/bookmark-github-stars","owner":"kirtan403","description":"Generate Bookmarks export file (html) of the github user's starred repos","archived":false,"fork":false,"pushed_at":"2017-01-21T11:27:21.000Z","size":492,"stargazers_count":64,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-05T23:41:22.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://kirtan403.github.io/bookmark-github-stars/","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/kirtan403.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":"2017-01-21T10:47:09.000Z","updated_at":"2024-09-16T19:52:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"3fb5e8cf-1ee5-4082-979e-0cb63edbe9f8","html_url":"https://github.com/kirtan403/bookmark-github-stars","commit_stats":null,"previous_names":["kirtan403/bookmark-github-stars"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtan403%2Fbookmark-github-stars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtan403%2Fbookmark-github-stars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtan403%2Fbookmark-github-stars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtan403%2Fbookmark-github-stars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirtan403","download_url":"https://codeload.github.com/kirtan403/bookmark-github-stars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247522703,"owners_count":20952607,"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-08-01T15:03:05.025Z","updated_at":"2025-04-06T17:32:28.657Z","avatar_url":"https://github.com/kirtan403.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Github Stars as bookmarks\n\nThis retrieves github starred repos' URLs of a given user and exports them as HTML bookmarks export file, so that you can import it to your browser or your any favorite online bookmarking sites which supports HTML file imports.\n\n# Usage\n\n**Tip:** Head over to https://kirtan403.github.io/bookmark-github-stars/ and get started.\n\nTo use this in a `node`, use `module.js` file, require the module file and use `getAllStarredRepos` function:\n\n```\ngetAllStarredRepos('username-here',function(err,html) {\n    if(err) {\n        console.log(\"Error: \" + err);\n    }\n\n    // You have your bookmarks html content in html variable\n    // You can save it or use it however you like\n  });\n```\n\nFor using this in `browser`, we have converted this module using browserify.\nJust download `bookmark-github-stars-browser.js` file and use it the same way you may use with node. After including this with script tag, you can use this with like this:\n\n```\n\u003cscript type=\"text/javascript\" src=\"bookmark-github-stars-browser.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\nbookmarkGithubStars.getAllStarredRepos(user, function(err, data) {\n\n    if (err) {\n        // An error\n        console.log(\"There is an error\");\n        return;\n    }\n\n    // You have your bookmarks html content in html variable\n    // You can save it or use it however you like\n\n});\n\u003c/script\u003e\n```\n\nCheck `index.html` for example.\n\n# Build\n\nThe main file is `module.js` which contains the source code.\n\nTo generate the browser js file, use the below code.\n\nIf you do not have `browserify` install, download it first, else skip this step.\n```\nnpm install -g browserify\n```\n\nNow generate `bookmark-github-stars-browser.js` using `module.js` file:\n```\nbrowserify module.js --standalone bookmarkGithubStars -o bookmark-github-stars-browser.js\n```\n\nDone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirtan403%2Fbookmark-github-stars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirtan403%2Fbookmark-github-stars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirtan403%2Fbookmark-github-stars/lists"}