forked from b0o/surfingkeys-conf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.priv.example.js
38 lines (34 loc) · 1.87 KB
/
conf.priv.example.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* eslint-disable no-unused-vars, camelcase */
// This is a reference for how conf.priv.js should look.
//
// Copy this file to a new file named "conf.priv.js" and update
// the API keys as needed.
//
// WARNING: Don't `git commit` your actual "conf.priv.js" file if you
// add real API keys to it! Malicious parties frequently scan GitHub for
// these keys and use them for bad stuff. The "conf.priv.js" file is already
// ignored by .gitignore, but just be safe.
// These are private API keys which are required for certain search completions.
// You can obtain them all for free at the supplied links.
const keys = {
crunchbase: "", // https://about.crunchbase.com/crunchbase-basic-access/
google_cs: "", // https://developers.google.com/custom-search/json-api/v1/overview?hl=en_US
google_yt: "", // https://developers.google.com/youtube/v3/docs/
wolframalpha: "", // https://products.wolframalpha.com/api/
domainr: "", // https://market.mashape.com/domainr/domainr
alternativeTo: "", // Extract the x-algolia-api-key sent with requests when typing in search box on alternativeto.net
// ****** Google Custom Search Engines ****** //
// Can be created at https://cse.google.com/cse
// Simply create a separate Custom Search Engine for each of the following entries,
// pasting the provided URL string(s) in the "Sites to Search" field.
// Then, after creation, go to the control panel for the new Search Engine and copy the
// Search Engine ID (cx) into the appropriate configuration variable below:
google_cx_ex: "", // hexdocs.pm/*/master/*.html
google_cx_af: "", // bbs.archlinux.org/*
google_cx_al: "", // www.archlinux.org/packages/*/x86_64/*
google_cx_no: "", // nodejs.org/api/*
google_cx_cs: "", // chrome.google.com/webstore/*
google_cx_jq: "", // api.jquery.com/*
google_cx_gg: "", // godoc.org/*, golang.org/pkg/*
}
module.exports = { keys }