Unstar deleted repos

my page: ivankovnatsky (Ivan Kovnatsky) / Starred · GitHub

shows that i have 4 starred repos, but lists only 2:

using api i was able to get the list of repos that i starred:

    "full_name": "kanashimia/nixos",
    "full_name": "cole-mickens/nixcfg",
    "full_name": "TechBookHunter/Free-Career-Guide-Books",
    "full_name": "TechBookHunter/Free-DevOps-Books",

first two the legitimate stars, while the other two are deleted repos i presume.

any way to unstar this?

1 Like

I’m betting from the repository names that they were subject to a DMCA takedown request, so they may still exist, but they are disabled.

Since you can list these on the API, can you also unstar them?

curl \
  -H "Accept: application/vnd.github.v3+json" \
1 Like

i’m getting 404:

* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fe35c808200)
> DELETE /ivankovnatsky/starred/TechBookHunter/Free-Career-Guide-Books HTTP/2
> Host: api.github.com
> User-Agent: curl/7.64.1
> Accept: application/vnd.github.v3+json
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 404
< server: GitHub.com
< date: Mon, 17 May 2021 19:25:05 GMT
< content-type: application/json; charset=utf-8
< content-length: 84
< x-github-media-type: github.v3; format=json
< x-ratelimit-limit: 60

Thanks for trying - I’ve asked our engineers to see if they can sort this out for you! I’ll let you know when I hear back :slight_smile:

1 Like

That should be done for you now! Sorry about the hassle.

@canuckjacq indeed, old stars gone, awesome, thanks.