attachment

i want to archieve multiple repos at once how can i do that

GitHub doesn't have a built-in "bulk archive" UI — you have to archive repos one by one through the web interface. The fastest workaround is the GitHub CLI or the REST API.

Option 1: GitHub CLI (Recommended)

If you have the GitHub CLI installed and authenticated:
# Archive specific repos
for repo in OrrisAI1.2 Orris-WEB Orris-Payments-Webhook Orris-Node Orris-RN; do
  gh api -X PATCH /repos/OrrisCare/$repo -f archived=true
  echo "Archived $repo"
done
Or archive all repos in the org at once:
gh repo list OrrisCare --limit 100 --json name -q '.[].name' | while read repo; do
  gh api -X PATCH /repos/OrrisCare/$repo -f archived=true
  echo "Archived $repo"
done

Option 2: GitHub REST API (with a Personal Access Token)

Generate a PAT with repo scope at GitHub → Settings → Developer Settings → Personal Access Tokens, then:
TOKEN="your_pat_here"
ORG="OrrisCare"

for repo in OrrisAI1.2 Orris-WEB Orris-Node Orris-RN Orris-TB Orris-iOS; do
  curl -s -X PATCH \
    -H "Authorization: token $TOKEN" \
    -H "Accept: application/vnd.github+json" \
    https://api.github.com/repos/$ORG/$repo \
    -d '{"archived": true}' | jq '.name, .archived'
done

Option 3: Browser Extension

GitHub Bulk Actions is a browser userscript that adds checkboxes to the repos page so you can select and archive multiple at once — no CLI needed.

Quick notes:
  • Archiving is reversible — you can unarchive any repo the same way (set archived: false)
  • Archived repos become read-only: no pushes, issues, or PRs
  • The org owner or a member with admin rights on each repo is required
The CLI loop is the fastest path if you're comfortable in the terminal — it'll archive all 24 repos in under a minute.
attachment

ok i have archieved what i wanted to now i want to just see the active repo here and hide the archieved ones can it be done?

Yes, easily. Use the search bar at the top of the repos page — just type:
is:not-archived
in the search box and hit Enter. This filters the list to show only active (non-archived) repos.
Filter demo
You can also combine it with other filters:
FilterWhat it shows
is:not-archivedAll active repos
is:archivedOnly archived repos
is:not-archived is:privateActive private repos only
is:not-archived is:publicActive public repos only
To make it stick without retyping every time, bookmark the filtered URL directly:
https://github.com/orgs/OrrisCare/repositories?q=is%3Anot-archived
That way you just click the bookmark and always land on the active-only view. GitHub doesn't have a persistent "hide archived" toggle in the UI, so the bookmark is the most practical workaround.

you are wrong search web and tell

Searching the Web

GitHub org repositories page filter hide archived repos show only active

You're right, I had the wrong filter. The correct one is:
archived:false
Type that into the search bar on your org's repositories page and it will show only active, non-archived repos.
To hide archived ones permanently via URL, bookmark this:
https://github.com/orgs/OrrisCare/repositories?q=archived%3Afalse
That's the correct filter per the GitHub docs and Stack Overflow. Sorry for the wrong answer earlier — is:not-archived was incorrect; archived:false is the actual syntax GitHub uses.
This is a shared conversation. Sign in to Orris to start your own chat.