<commit_before>package DDG::Spice::Github;
# ABSTRACT: Search for information about GitHub repositories

use DDG::Spice;

primary_example_queries "github zeroclickinfo";
description "Github info";
name "Github";
code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Github.pm";
topics "programming", "web_design";
category "programming";
attribution web => ['http://dylansserver.com','<NAME>'],
            email => ['<EMAIL>','<NAME>'];

triggers startend => "github";
spice to => 'https://api.github.com/legacy/repos/search/$1?callback={{callback}}';

<commit_msg>Github: increase to 30d cache timeout.<commit_after>package DDG::Spice::Github;
# ABSTRACT: Search for information about GitHub repositories

use DDG::Spice;

primary_example_queries "github zeroclickinfo";
description "Github info";
name "Github";
code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Github.pm";
topics "programming", "web_design";
category "programming";
attribution web => ['http://dylansserver.com','<NAME>'],
            email => ['<EMAIL>','<NAME>'];

triggers startend => "github";
spice to => 'https://api.github.com/legacy/repos/search/$1?callback={{callback}}';
spice proxy_cache_valid => '200 30d';

{'fraction_non_alphanumeric': 0.17090620031796502, 'fraction_numerical': 0.007154213036565978, 'mean_word_length': 6.194285714285714, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 18, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1169254', 'n_tokens_mistral': 444, 'n_tokens_neox': 421, 'n_words': 83}