{"id":38491257,"url":"https://github.com/qurle/param.js","last_synced_at":"2026-01-17T05:42:36.806Z","repository":{"id":57318866,"uuid":"419499350","full_name":"qurle/param.js","owner":"qurle","description":"Short your parameters with this simple script","archived":false,"fork":false,"pushed_at":"2021-12-06T13:15:12.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T12:23:21.918Z","etag":null,"topics":["shortener","url","utm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qurle.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":"2021-10-20T21:49:01.000Z","updated_at":"2022-07-17T23:07:20.000Z","dependencies_parsed_at":"2022-08-25T20:41:16.975Z","dependency_job_id":null,"html_url":"https://github.com/qurle/param.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qurle/param.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qurle%2Fparam.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qurle%2Fparam.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qurle%2Fparam.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qurle%2Fparam.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qurle","download_url":"https://codeload.github.com/qurle/param.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qurle%2Fparam.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28500900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["shortener","url","utm"],"created_at":"2026-01-17T05:42:36.721Z","updated_at":"2026-01-17T05:42:36.788Z","avatar_url":"https://github.com/qurle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# param.js\n\nSimple script that allows you to share short link like `example.com?i` and redirect user to anything you want (ex. `example.com?utm_source=instagram\u0026utm_medium=bio\u0026utm_campaign=inst`)\n\n## Why\n\nWe often have to share our link. Put them in bio, send with messages, attach them to posts. And sometimes we have to put some URL parameters. Like UTM codes. They're clumsy, looooong and they overshadow what we really want to show: our perfect beautiful website address.\n\n[qurle.net?utm_source=github\u0026utm_medium=param-js-readme\u0026utm_campaign=paramjs](https://qurle.net?utm_source=github\u0026utm_medium=param-js-readme\u0026utm_campaign=paramjs) is yuck.\n\n[qurle.net?g](https://qurle.net?g) is much better.\n\n## How to use\n\nJust put in your server directory and connect by `\u003cscript scr=\"path/to/param.js\"\u003e\u003c/script\u003e` tag. You definitely can put it in your `\u003chead\u003e` as soon as it should redirect user instantly.\n\nChange redirect object with URL-parameters you need (the example is given) and you're on!\n\n## Parameters\n\nHere's and example of your redirect object:\n\n```\nredirect = {\n    \"s\": \"utm_source=test\u0026utm_medium=test\u0026utm_campaign=test\",\n    \"e\": \"utm_source=email\u0026utm_medium=sign\u0026utm_campaign=email\",\n    \"f\": \"utm_source=figma\u0026utm_medium=bio\u0026utm_campaign=figma\",\n    ...\n}\n```\n\nThis means that `example.com/whatever?e` will redirect to `example.com/whatever?utm_source=email\u0026utm_medium=sign\u0026utm_campaign=email`\n\n## Problem? Idea? Kind words?\n\nI accept feature suggestions and ideas to improve this script. \nOr you can contact me via e-mail at [nick@qurle.net](mailto:nick@qurle.net?subject=param.js) or at [qurle.net/contact](https://qurle.net/contact).\n\n## \u003c3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqurle%2Fparam.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqurle%2Fparam.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqurle%2Fparam.js/lists"}