Mengatasi ghost nontification dan ghost repo di github
ini adalah pengalaman berharga saya saat menapat permasalahan tentang notifikasi hantu di github singkat saja saya akan memberikan cara mengatasi nya untuk nontifikasi nya bisa kamu buat sperti ini namun kamu harus buat token dulu di github.
aku menggunakan cara ini di windows namun kamu bisa juga melakukan nya di linux ataupun di di mac asal kamu sudah ada git terinstall.
bagi yang gak tau git bisa kesini https://git-scm.com/downloads
![]() |
Ghost Notification Umum |
![]() |
Ghost Repo Notification |
untuk notifikasi umum bisa kamu lakukan seperti ini.
curl -X PUT
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $TOKEN" \
https://api.github.com/notifications \
-d '{"last_read_at":"2022-05-31T00:00:00Z"}'
dan untuk ghost repo nontification yang bandel bisa kamu lakukan cara seperti ini.
Rahman Islam@DESKTOP-GQG2BI7 MINGW64 ~
$ curl -H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $TOKEN" \
"https://api.github.com/notifications?all=true"
[
{
"id": "19141516242",
"unread": false,
"reason": "mention",
"updated_at": "2025-09-23T20:33:39Z",
"last_read_at": "2025-10-09T00:00:00Z",
"subject": {
"title": ">Y Combinator | $100M Y-Combinator W2026 with GitHub [2025]",
"url": "https://api.github.com/repos/ycombin/ator/issues/351",
"latest_comment_url": "https://api.github.com/repos/ycombin/ator/issues/351",
"type": "Issue"
},
"repository": {
"id": 1062849134,
"node_id": "R_kgDOP1nKbg",
"name": "ator",
"full_name": "ycombin/ator",
"private": false,
"owner": {
"login": "ycombin",
"id": 232142659,
"node_id": "U_kgDODdY3Qw",
"avatar_url": "https://avatars.githubusercontent.com/u/232142659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ycombin",
"html_url": "https://github.com/ycombin",
"followers_url": "https://api.github.com/users/ycombin/followers",
"following_url": "https://api.github.com/users/ycombin/following{/other_user}",
"gists_url": "https://api.github.com/users/ycombin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ycombin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ycombin/subscriptions",
"organizations_url": "https://api.github.com/users/ycombin/orgs",
"repos_url": "https://api.github.com/users/ycombin/repos",
"events_url": "https://api.github.com/users/ycombin/events{/privacy}",
"received_events_url": "https://api.github.com/users/ycombin/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/ycombin/ator",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/ycombin/ator",
"forks_url": "https://api.github.com/repos/ycombin/ator/forks",
"keys_url": "https://api.github.com/repos/ycombin/ator/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/ycombin/ator/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/ycombin/ator/teams",
"hooks_url": "https://api.github.com/repos/ycombin/ator/hooks",
"issue_events_url": "https://api.github.com/repos/ycombin/ator/issues/events{/number}",
"events_url": "https://api.github.com/repos/ycombin/ator/events",
"assignees_url": "https://api.github.com/repos/ycombin/ator/assignees{/user}",
"branches_url": "https://api.github.com/repos/ycombin/ator/branches{/branch}",
"tags_url": "https://api.github.com/repos/ycombin/ator/tags",
"blobs_url": "https://api.github.com/repos/ycombin/ator/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/ycombin/ator/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/ycombin/ator/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/ycombin/ator/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/ycombin/ator/statuses/{sha}",
"languages_url": "https://api.github.com/repos/ycombin/ator/languages",
"stargazers_url": "https://api.github.com/repos/ycombin/ator/stargazers",
"contributors_url": "https://api.github.com/repos/ycombin/ator/contributors",
"subscribers_url": "https://api.github.com/repos/ycombin/ator/subscribers",
"subscription_url": "https://api.github.com/repos/ycombin/ator/subscription",
"commits_url": "https://api.github.com/repos/ycombin/ator/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/ycombin/ator/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/ycombin/ator/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/ycombin/ator/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/ycombin/ator/contents/{+path}",
"compare_url": "https://api.github.com/repos/ycombin/ator/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/ycombin/ator/merges",
"archive_url": "https://api.github.com/repos/ycombin/ator/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/ycombin/ator/downloads",
"issues_url": "https://api.github.com/repos/ycombin/ator/issues{/number}",
"pulls_url": "https://api.github.com/repos/ycombin/ator/pulls{/number}",
"milestones_url": "https://api.github.com/repos/ycombin/ator/milestones{/number}",
"notifications_url": "https://api.github.com/repos/ycombin/ator/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/ycombin/ator/labels{/name}",
"releases_url": "https://api.github.com/repos/ycombin/ator/releases{/id}",
"deployments_url": "https://api.github.com/repos/ycombin/ator/deployments"
},
"url": "https://api.github.com/notifications/threads/19141516242",
"subscription_url": "https://api.github.com/notifications/threads/19141516242/subscription"
}
]
Rahman Islam@DESKTOP-GQG2BI7 MINGW64 ~
$ curl -X DELETE \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $TOKEN" \
https://api.github.com/notifications/threads/19141516242
sekian itu saja pengalaman yang bisa saya bagikan karena jujur saya juga agak pusing sedikit nyoba sanan sini karena bikin risih aja nontifikasi nya meskipun ngak berpengaruh banyak tetapi tetap saja saya suka jika notifikasi di github saya rapih dan gak ada yang aneh-aneh seperti ghost notifikasi tadi.
Posting Komentar untuk "Mengatasi ghost nontification dan ghost repo di github"