Giter Club home page Giter Club logo

hacker-tab-extension's Introduction

Chrome Web Store Chrome Web Store Rating Travis GitHub license

What is Hacker Tab Extension

Hacker Tab replace browser new tab screen with GitHub trending projects, so that developer get to know trending repositories everyday. It loads trending project periodically in background so you do not need to wait for loading every time you open a new tab.

screenshot

Install

Trusted by developers! Install Hacker Tab from Chrome Web Store.

View Online

View Online version of extension.

Backers

Thank you to all our backers! 🙏

Buy Me A Coffee

Feedback

Just write me an email, or create an issue.

Give us a rating

If you enjoy using it, please help to write a review at Chrome Web Store, and star this repo. This will motivate me a lot :)

Related

Disclaimer

Hacker Tab is not affiliated with, sponsored by, or endorsed by GitHub Inc.

hacker-tab-extension's People

Contributors

berkansivri avatar dependabot[bot] avatar dotiful avatar filips123 avatar huchenme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hacker-tab-extension's Issues

Language filter

It looks like there is a bug for 'c++' and 'objective-c++'. Always getting empty array. Sending query string is not encoding. When I checked, I realized that you already sending those languages 'urlParam' property as encoded (c#, f#) from your service. This encoding is also necessary for '+' character, looks like forgotten.

{
"urlParam": "c%23",
"name": "C#"
},
{
"urlParam": "c++",
"name": "C++"
},

Screen Shot 2020-05-03 at 14 18 56

Looking for feedbacks

Please share your ideas here, if you find any bugs, you could open a separate issue.

Need advice on how to change manifest.json for using node-fetch in background script

Hello:
I tried to write one chrome extension, which get some Json format data from content script, and send it to localhost http server.
I use Node.js version 15.10.0 on Windows 10.
My current manifest.json look like this:

{
"manifest_version": 2,
"name": "DOMJsonData",
"description": "Extension to post data to http server with fetch",
"version": "1.0",
"default_locale": "en",
"icons": {
"128": "icons/icon128.png",
"48": "icons/icon48.png",
"16": "icons/icon16.png"
},

"browser_action": {
"default_icon": "icons/icon16.png",
"default_popup": "src/popup.html"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["lib/jquery.min.js", "src/content.js"]
}
],
"permissions": ["tabs", "activeTab", "contextMenus", "storage" ],
"background": {
"scripts": ["src/background.js"]
},
"web_accessible_resources": [
"lib/",
"src/
"
]
}

I installed node-fetch npm package, version: 2.6.1
I had the following background.js file:
const fetch = require('node-fetch');
chrome.runtime.onMessage.addListener(
function(request, sender, sendResponse) {
if( request.message === "export_dom_data" ) {
console.log("Post data to http server");
fetch('http://localhost:3000/', {
method: 'post',
body: request.data
}).then(function(response) {
return response.text();
}).then(function(data) {
console.log(data);
});
}
}
);

I also ran http-echo-server on localhost (npm version 2.1.1), if I wrote the following JavaScript to post http data to localhost http-echo-server, it worked. The code was like this:
const fetch = require('node-fetch');
let json_data = {
npm_title: "node-fetch",
version: "2.6.1"
}

fetch('http://localhost:3000/', {
method: 'POST',
body: JSON.stringify(json_data),
headers: { 'Content-Type': 'application/json' }
}).then(res => res.text())
.then(json => console.log(json))
.catch(err => console.log(err))

I have the following questions:

  1. How I can change manifest.json, so my Background.js can use the “node-fetch” npm package. For jquery, I can download jquery.min.js, and put it in folder “lib”, which is easy.
    However, when I install node-fetch npm package, I can’t find such min.js file for node-fetch package. I looked at your extension, but I didn’t find any manifest.json file for your extension; besides, your extension is way more complicated. I only need to send some Json data to a fixed stand-alone http server. (I will use C# to write a http server later, but now, simply use http-echo-server for testing.)
  2. I found Google has something like background fetch: https://developers.google.com/web/updates/2018/12/background-fetch
    I want to know if I can use such background fetch API to send out some Json data to an http server in the localhost, then I don’t have to install other npm package or have other headache like find min.js file for npm packages.
    Please advise!

Online version from READ.ME show 404

I tried to use the online version of the extension as the extension is not not available on Firefox now but it shown 404 when I tried to access the link, is the online version no longer maintained or are there any replacement?
Thank you

Multi-language support

It'd be better if we have an option to set interest on more than one language. I love Kotlin as well as Java.

Firefox release date

First of all thanks for creating such an awesome project, would like this to work on firefox also. #37 could you share the release date for this.

Fetching failed

Cant fetch the list on start at chrome (Version 85.0.4183.121 (Official Build) (64-bit)).

Add support for 2 columns

Hello,
This is a very nice extension I use it daily.
It will be awesome if there is support for 2 columns, in which we can follow different languages.

GO  |  Rust
Trending | GO

Thanks

Dark Mode

I mean this extension is intended for developers and there is no dark mode?

It burns my eyes. Until then I disable the extension.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.