{"id":16496865,"url":"https://github.com/mp3martin/js-parse-links","last_synced_at":"2025-07-08T09:39:19.335Z","repository":{"id":49501833,"uuid":"494502198","full_name":"MP3Martin/js-parse-links","owner":"MP3Martin","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-22T11:06:16.000Z","size":229,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"gh-pages","last_synced_at":"2025-01-12T04:29:06.594Z","etag":null,"topics":["gh-pages","html","javascript","js","parser","web"],"latest_commit_sha":null,"homepage":"https://mp3martin.github.io/js-parse-links/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MP3Martin.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":"2022-05-20T14:46:18.000Z","updated_at":"2023-03-29T05:05:36.000Z","dependencies_parsed_at":"2023-02-12T15:45:44.257Z","dependency_job_id":null,"html_url":"https://github.com/MP3Martin/js-parse-links","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP3Martin%2Fjs-parse-links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP3Martin%2Fjs-parse-links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP3Martin%2Fjs-parse-links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MP3Martin%2Fjs-parse-links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MP3Martin","download_url":"https://codeload.github.com/MP3Martin/js-parse-links/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241367939,"owners_count":19951448,"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":["gh-pages","html","javascript","js","parser","web"],"created_at":"2024-10-11T14:36:48.719Z","updated_at":"2025-03-01T13:12:52.802Z","avatar_url":"https://github.com/MP3Martin.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CodeFactor](https://www.codefactor.io/repository/github/MP3Martin/js-parse-links/badge)](#/)\n[\u003cimg src=\"https://img.shields.io/github/license/MP3Martin/js-parse-links\"\u003e](#/)\n[\u003cimg src=\"https://img.shields.io/github/stars/MP3Martin/js-parse-links\"\u003e](#/)\n[\u003cimg src=\"https://img.shields.io/github/forks/MP3Martin/js-parse-links\"\u003e](#/)\n[\u003cimg src=\"https://img.shields.io/github/issues/MP3Martin/js-parse-links\"\u003e](#/)\n\n# js-parse-links\n\nTodo:\n- [x] Make the website look acceptable\n- [x] System to get parameters and generate url\n- [x] Loading icon\n- [x] Use text in placeholders\n- [x] Use APIs in placeholders _- (the main feature)_\n- [x] Documentation\n- [x] Add auto text wrapping (in display mode)\n- [x] Add iframe mode (useful when you want the page to be refreshable)\n- [ ] Downloading files\n- [ ] Add more parameters\n\n# Examples\n* `https://mp3martin.github.io/js-parse-links/?url=https://google.{tld}/search?q={search}\u0026placeholder=tld,com;search,Hello World!`\n   * goes to `https://www.google.com/search?q=Hello%20World!` \u003cbr\u003e\u003cbr\u003e\n* `https://mp3martin.github.io/js-parse-links/?url={fact}\u0026placeholder=fact,https://dog.ceo/api/breeds/image/random|message`\n   * goes to `https://images.dog.ceo/breeds/` _+ random dog image_ \u003cbr\u003e\u003cbr\u003e\n* `https://mp3martin.github.io/js-parse-links/?url=https://google.com/search?q=Tr*mp once said: \"{fact}\"\u0026placeholder=fact,https://tronalddump.io/random/quote|value`\n   * goes to `https://www.google.com/search?q=Tr*mp%20once%20said:` _+ random fact_\n* `https://mp3martin.github.io/js-parse-links/?url=Fun%20Fact:%20%7Bfact%7D%3Cbr%3E%3Cbr%3E%3Cbr%3E-'amp'nbsp'semi'%20'amp'nbsp'semi'Refresh%20to%20see%20more!\u0026placeholder=fact,https://uselessfacts.jsph.pl/random.json?language=en|text\u0026type=display`\n   * displays random fact\n* `https://mp3martin.github.io/js-parse-links/?url=https://web.archive.org/web/20220605174851id_/http://www.milliondollarhomepage.com/\u0026type=iframe`\n   * displays *The Million Dollar Webpage* without redirecting\n* `https://mp3martin.github.io/js-parse-links/?url=Random%20number:%20{fact}\u0026placeholder=fact,https://www.randomnumberapi.com/api/v1.0/random?min=0??max=100|0\u0026type=display`\n   * displays random number\n\n# Parameters\n| Parameter         | Default value             | Type    | Required            | Description                                                                                                                                                                                                                     | Example value                                                    |\n| ----------------- | ------------------------- | ------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |\n| `url`             | :x:                       | string  | :heavy_check_mark:  | The target url                                                                                                                                                                                                                  | `https://www.google.com/search?q={search}`                       |\n| `placeholder`     | :x:                       | string  | :x:                 | All the placeholders (in this format: `key,value;another_key,another_value`)                                                                                                                                                    | `search,Hello World!`                                            |\n| `type`            | redirect                  | string  | :x:                 | Type of redirection / thing to do after parsing the url (all possible values: `redirect`, `display`, `iframe`)                                                                                                                                                                        | `redirect`                                                       |\n\n\u003cbr\u003e\n\n# Other info\n* By the way, this project does not have a backend (it is only a static site, everything happens client-side)\n* Use this project for anything.\n* Do not share `parse.mp3martin.xyz`, instead use `mp3martin.github.io/js-parse-links` because it may change.\n* https://www.url-encode-decode.com is useful when you want to share the links on social media *(the links sometimes cannot contain special characters)* **❗only encode the part after `?url=`❗**\n\u003cbr\u003e\n\nIf you find this useful, you can show support by **⭐**ing this project or contributing to this project. (**not mandatory!**)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp3martin%2Fjs-parse-links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmp3martin%2Fjs-parse-links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp3martin%2Fjs-parse-links/lists"}