{"id":25110234,"url":"https://github.com/d60/twitter_ui_metrics","last_synced_at":"2025-04-02T09:26:23.620Z","repository":{"id":275960826,"uuid":"927748799","full_name":"d60/twitter_ui_metrics","owner":"d60","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-06T16:07:55.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T14:40:47.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/d60.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-05T13:35:17.000Z","updated_at":"2025-02-06T16:07:58.000Z","dependencies_parsed_at":"2025-02-05T14:44:55.008Z","dependency_job_id":null,"html_url":"https://github.com/d60/twitter_ui_metrics","commit_stats":null,"previous_names":["d60/twitter_ui_metrics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d60%2Ftwitter_ui_metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d60%2Ftwitter_ui_metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d60%2Ftwitter_ui_metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d60%2Ftwitter_ui_metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d60","download_url":"https://codeload.github.com/d60/twitter_ui_metrics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246786863,"owners_count":20833770,"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":"2025-02-08T00:37:21.310Z","updated_at":"2025-04-02T09:26:23.603Z","avatar_url":"https://github.com/d60.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UI Metrics Solver\n\n**main.py**\n```python\nimport time\n\nfrom ui_metrics import solve_ui_metrics\n\nwith open('ui_metrics.js', 'r', encoding='utf-8') as f:\n    ui_metrics = f.read()\n\nt = time.time()\nprint(solve_ui_metrics(ui_metrics))\nprint(time.time() - t)\n```\n**Result**\n```\n{'rf': {'aa50bf510106183903ec36dde902b43d7b60ac817a86a91fd96e0920a222885f': 22, 'acf36d8c8feb9ac0806372591b561790ecad0ab4657f15e68217b3085470418e': -154, 'ae124976132ff3d6ad403b942840bb6400b103bbc75ee86e0632dc950fd2f102': 0, 'facf2f4be2837a7383f6c9b606649dbc493291664728d086cb8518266a31d821': -138}, 's': '27ovmMyvTpCkCQmoIvnfKzFulUeuXLWMQVWDDTOHluLenq8btBtTFOwQBH6H41sybsQKXDGYIKrIZsKpcZo1eG5z7xoZxMd_Bw411CIQOrr3hgaWCjmMxEeVyzfIbREBtj2Z-5pTZT9SzFfInM0dRAFuEYY_I2tmzr127s8KfPAR0_8cyf-xLPtTU7JYKePo1UJk_V15W2MieRBnMW2FT6KbkmL5GexIKwIql3GfVk3mJsmmG7ut_bQaNA_ZpPtPmEmxp1Rr7-UuvswmRZ28XYEP1kSNW5g5JSOCuHkyo67_c_ngoNsd4FLzPA81iFUi6Yv8PIKqvGuDFjK7apEeGwAAAZTWScGA'}\n0.17166352272033691\n```\n#\nYou will get the same results as if you had run it in a browser:\n\n\n![](https://github.com/d60/twitter_ui_metrics/blob/main/sc.png?raw=true)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd60%2Ftwitter_ui_metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd60%2Ftwitter_ui_metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd60%2Ftwitter_ui_metrics/lists"}