{"id":23458259,"url":"https://github.com/aminvakil/hasinmirror","last_synced_at":"2026-05-04T05:31:41.558Z","repository":{"id":103297056,"uuid":"232112236","full_name":"aminvakil/hasinmirror","owner":"aminvakil","description":"Script to change mirrors in different linux distors package managers to mirrors.hasin.ir","archived":false,"fork":false,"pushed_at":"2023-03-24T22:04:39.000Z","size":31,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T23:25:30.656Z","etag":null,"topics":["bash","bash-script","centos","mirror","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/aminvakil.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":"2020-01-06T13:58:42.000Z","updated_at":"2020-12-22T10:50:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"882f58fb-f935-4da7-b80a-36d230fa286c","html_url":"https://github.com/aminvakil/hasinmirror","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/aminvakil%2Fhasinmirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminvakil%2Fhasinmirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminvakil%2Fhasinmirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminvakil%2Fhasinmirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aminvakil","download_url":"https://codeload.github.com/aminvakil/hasinmirror/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248412155,"owners_count":21099063,"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":["bash","bash-script","centos","mirror","ubuntu"],"created_at":"2024-12-24T05:18:54.587Z","updated_at":"2026-05-04T05:31:40.740Z","avatar_url":"https://github.com/aminvakil.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Change mirrors to mirrros.hasin.ir\nYou could use this script which automatically replaces your existing mirrors to **mirrros.hasin.ir** which is located in Iran and would speed your updating, installing packages up.\n\n**Supported and Tested Distros**:\n\nUbuntu 16.04\n\nUbuntu 18.04\n\nCentOS 7\n\n**Unsupported Distros**:\n\nCentOS 8\n\n**Read the script CAREFULLY before execution**\n\nOther Ubuntu distros should work as well as they perform the same\n\n**Ubuntu**: This script copies existing `/etc/apt/sources.list` to `/etc/apt/sources.list_hasinback` first automatically, therefore you can revert any changes made by this script. If you have any repos aside from official debian / ubuntu repos in your /etc/apt/sources.list you should add them again yourself in /etc/apt/sources.list.d which is more appropriate and suggested by debian/ubuntu themselves.\n\n**CentOS**: This scripts just disables the existing official repos and add its repo in `/etc/yum.repos.d/centos-Samin.repo`, so for reverting you can remove this file and enable the official repos from `/etc/yum.repos.d/CentOS-Base.repo`.\n\n**Arch Linux**: Arch is also available in **mirrors.hasin.ir**, although not included in this script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminvakil%2Fhasinmirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faminvakil%2Fhasinmirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminvakil%2Fhasinmirror/lists"}