Giter VIP home page Giter VIP logo

gcse's People

Contributors

daviddengcn avatar mhutter avatar mipearson avatar robertmeta avatar subosito 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gcse's Issues

Some referenced packages are showing as "not found"

Hi. Firstly, thank you for making Go Search. It's a useful tool.

I have noticed that some of my own packages are showing as "not found" on go-search.org, even though they are shown as imports of other packages. They begin "xi2.org/x/..."

For example, if you view the page http://go-search.org/view?id=github.com%2fklauspost%2fpassword and select my package "xi2.org/x/xz" which appears as an import at the bottom of that page you get the "not found" response.

I decided I would try to debug the issue, so I downloaded the source and compiled gcse myself. I ran it and limited the crawl to just a handful of packages including my own, and to my surprise it worked fine when I ran it locally! So I can't help debug it it would seem since there must be something different about my local environment :(

As far as I know the packages download fine with "go get" and they show up ok on godoc.org. Any ideas? Is there something weird about my web server?

It might seem quite conceited of me to be concerned about my own packages, but you never know, it might also be happening to someone else's too.

Best wishes

Update start page

I think having the landing (start) page look more like NPM makes sense (https://npmjs.org/). If you agree David, I will make the change and put in a pull request.

Use CloudFlare to enable SSL for the website

Hi,

I'd like to propose you to use CloudFlare for having a CDN in front of the service and also enable some caching for queries. But more importantly, you'll get the SSL certificate for free which is a nice touch.
What do you think?

Thank you for your time and help.

do not open links in new windows

many links open in new windows.
in my humble opinion this is not wanted always (and seldom in my case).

as current browsers make it easy to force the creation of a new window/tab (e.g. hold ctrl or use the middle mouse button) but not so easy to prohibit the creation of a new tab/window, i suggest that http://go-search.org/ should not create new windows by default and everyone who wants new tabs can do so by pressing ctrl.

Add last commit date to search overview

Some times dead projects rank highly. It would be nice to have an indication of the last commit as a date or a human indication (such as "two years ago"). This is quite essential information to know how alive a project is.

XSS issue on gosearchresults.com

I found a reflected XSS issue on gosearchresults.com
Steps to reproduce:
Call the following URL in Mozilla Firefox: https://lavasoft.gosearchresults.com/?sbtn=&q=ola%3Cscript%3Ealert%28%27I+can+send+any+message+here%21%27%29%3C%2Fscript%3E&tt=VM__GS__S4LAVA__vmn__webcompa__1_0__go__ch_WCYID10438__180722__yrff&pid=5ac784309091147a162b4431&sr=0

An alert box with "I can send any message here!" appears. This means that an attacker has full control of the scripts, that are executed in the victims browser.
An attack vector would be sending an evil link via e-mail, messenger, etc. As the victim trusts the domain gosearchresults.com, it will click the link and could be redirected to a site hosting a browser exploit kit.
This abuses the trust of gosearchresults.com
When i enter any script in URL bar then after clicking enter it encrypt the URL in encoded form but still script gets exicuted. This is a big problem by which a hacker can steal the cookies of victim's browser and also can redirect that user to any other site or search engine.
Screenshot (47)
Screenshot (63)

Be able to detect forks

On sites like github, you can see if a project is a fork of another. It would be nice if the output of the search could show a tree hierarchy, where the main project is first and all the forks are under it. Or maybe some other idea that's similar.

Service usage by 3rd party

Hi @daviddengcn,

Thanks a lot for doing go-search.org, it's really wonderful.
I'd like to ask you if it's ok for you to allow the Go plugin for IntelliJ IDEA to use your service.
If you'd like to see how things will look like, you can view the PR here: go-lang-plugin-org/go-lang-idea-plugin#1555
Of course, the plugin will identify itself in the user agent and it tries to cancel the connections as soon as possible / delay doing them before sending the requests.
Please let me know your thoughts on this.
Thank you for your time and help.

Kind regards,
Florin

Two Way Mirror

The ability to setup a mirror on a different domain that exchanges data in both directions would be great. That way a mirror can be used as a primary site if the main site goes down and sync when the main site comes back up.

Slow website performance

Lately website has been really slow. Here's an example of a dummy search for testify:
image

Even a repeated search took 9-10 seconds in average. Are you having an intermittent issues or the project has outgrown the capacity of a Linode instance it's running on?

I'm posting this here on GH Issues as a way to track updates on website in general.

Question: Can I download the entire index/database

Hi David,

OSS Index is an open vulnerability database. We are looking at supporting go at some point in the near future, and would like to use your package database as a starting point. Downloading via your API will take a fair while, and use up bandwidth you may not want used.

We are not creating a competing package search, but need a good list of packages in order to start performing vulnerability auditing.

Would it be possible to download the entire database from somewhere, or can I get permission to use your API to download information on all of the packages?

Regards,

Ken

search by imported descending

for example say i wan to find code that uses github.com/aws/aws-sdk-go

this is a highly used package.

but when i search by this i get lots of forks first, that no one is using.
useless when searching for well used packages

new package not showing up

Hi,

I tried adding

zikichombo.org/sound
zikichombo.org/dsp
zikichombo.org/sio
zikichombo.org/codec
zikichombo.org/plug

and it doesn't show up, but it says the packages are successfully added.

Add more details in README

It would be nice to have some more details inside README, in particular:

  • how it works (or it's supposed to work)
  • dependencies (Go packages, database, etc...)
  • setup instructions
  • how to contribute

Get all packages with their dependencies

Hi David,

I'm going to visualize the go packages universe similar to what I did for npm. Your data source is looking very promising.

After reading your documentation and examples, looks like I will have to:

  1. Get all packages http://go-search.org/api?action=packages
  2. For each found package make a request (e.g. http://go-search.org/api?action=package&id=github.com%2fdaviddengcn%2fgcse), to get Imported field.

This would probably take up to 20 hours of crawler work. Is there any chance you can expose dependencies information in one call? E.g. npm allows you to get full database via single call:
curl https://skimdb.npmjs.com/registry/_design/scratch/_view/byField

Thank you!

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.