Hacker-News-Filter-AI
所属分类:GPT/ChatGPT
开发工具:JavaScript
文件大小:632KB
下载次数:0
上传日期:2023-04-21 14:23:11
上 传 者:
sh-1993
说明: 从黑客新闻中筛选出AI GPT相关提交
(Filter out AI/GPT related submissions from Hacker News
,)
文件列表:
LICENSE (1073, 2023-04-21)
contentScript.js (1514, 2023-04-21)
icon.png (358525, 2023-04-21)
manifest.json (689, 2023-04-21)
popup.html (455, 2023-04-21)
popup.js (1041, 2023-04-21)
screenshot.png (291098, 2023-04-21)
# Hacker News Link Filter Chrome Extension
This is a Chrome extension that filters out links containing AI/GPT words on the front page of Hacker News. The filtered links are displayed them in a popup when the user clicks on the extension icon.
![Screenshot](https://github.com/prashantkhurana/Hacker-News-Filter-AI/blob/master/screenshot.png)
# Install
1. Chrome : Pending approval
2. Firefox : Pending approval
# To develop locally
1. Checkout extension code and [load the extension](https://github.com/prashantkhurana/Hacker-News-Filter-AI/blob/master/https://superuser.com/questions/247651/how-does-one-install-an-extension-for-chrome-browser-from-the-local-file-system)
2. Make changes and click on refresh to load latest changes.
# How was this built?
Ironically this was built in its entirety using chat gpt. This is my first extnesion, so going from what's a manifest, code for selecting elements on ycombinator, filtering the elements, storing in local storage and displaying in popup were all done by chat gpt holding my hand.
# Prepate for pushing to chrome/firefox web store
1. For chrome manifest.json should not contain browser_specific_settings[source](https://github.com/prashantkhurana/Hacker-News-Filter-AI/blob/master/https://stackoverflow.com/questions/56271601/chrome-extensions-do-not-respect-browser-specific-settings), remove it out and build `zip -r dist.zip *` and upload to web store.
2. For firefox keep browser_specific_settings and build and upload.
近期下载者:
相关文件:
收藏者: