duckduckgo / zeroclickinfo-fathead

DuckDuckGo Instant Answers based on keyword data files
https://duckduckhack.com/
Other
318 stars 365 forks source link

JavaScript: Create New AngularJS Fathead #471

Closed bfmags closed 7 years ago

bfmags commented 7 years ago

AngularJS Fathead

Contribute to DuckDuckGo!

screen shot 2016-10-21 at 16 36 35

What you will need to know?

Either JavaScript, Python, Ruby, or Perl for Fatheads. Bash is also useful. You will download the reference source and create an output.txt file containing the parsed documentation. Read more about Fatheads here: https://docs.duckduckhack.com/resources/fathead-overview.html

The source :rocket:

https://docs.angularjs.org/api

Update Search Json contains partial url for the API source files

https://docs.angularjs.org/js/search-data.json

Example: path: "api/ng/function/angular.merge", https://docs.angularjs.org/partials/api/ng/function/angular.merge.html

The goal

Help improve JavaScript language search results on DuckDuckGo as part of our Programming Mission! We're trying to reach 100% Instant Answer (IA) coverage for JavaScript-related searches by creating new Instant Answers or improving existing ones.

Code to some relevant examples:

Fathead Example (jQuery Reference)

screen shot 2016-10-21 at 17 06 36

The steps


Instant Answer Page: https://duck.co/ia/view/angularjs

Thanks to @pjhampton for the template

NamPNQ commented 7 years ago

...

rafaelpadovezi commented 7 years ago

I'm interested too.

kousiksatish commented 7 years ago

I am a new contributor and am interested to work on it.

NamPNQ commented 7 years ago

@rafaelpadovezi @kousiksatish Good to hear it

/cc @bfmags Please assign a person do it

bfmags commented 7 years ago

@NamPNQ Thanks! @kousiksatish is working on the Angular 2 Fathead https://github.com/duckduckgo/zeroclickinfo-fathead/issues/472 @rafaelpadovezi you can have this one 👍

Don't forget to join The Forum and DuckDuckHack Slack for help/discuss the fathead!

rafaelpadovezi commented 7 years ago

@bfmags Ok! Thanks!

bfmags commented 7 years ago

@rafaelpadovezi Updated topic -> We can use the search json https://docs.angularjs.org/js/search-data.json that contains partial URL to the API source files