GithubHelp home page GithubHelp logo

theboatymcboatface / bangs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kagisearch/bangs

0.0 0.0 0.0 8.19 MB

Repository of bangs used by Kagi Search

Home Page: https://kagi.com

License: MIT License

Makefile 100.00%

bangs's Introduction

Kagi Bangs

This is an open-source, community maintained repository of bangs used by Kagi Search.

You can submit changes to improve accuracy of existing bangs as well as create new bangs for use in Kagi Search.

Accepted changes are deployed to our website weekly.

Contribution Guidelines

Kagi Staff and maintainers of this repo have final say, but a good bang submission should follow some basic guidelines.

  • The website must be reasonably well-known and widely used. For example, popular commercial services and forums are OK. Low-traffic independent sites, such as startups, local businesses, or personal blogs, are not OK.

  • The trigger must be specific to the website, not a generic term or word. For example, "amazon.com" can have "!amazon" but not "!groceries".

  • Each trigger must be unique. You can test your trigger on Kagi to see if a bang already exists with that trigger.

  • You can use the Categories list below to find the Category and Subcategory that fits best. If you cannot find one, it can be omitted, or we can consider adding a new one.

  • If the bang you wish to add does not fit the above criteria, you can still create a custom bang on your own Kagi account for your own use! See our documentation for details.

  • Any modifications to bangs should be made to /data/bangs.json. /data/kagi_bangs.json provides bangs internal to Kagi itself (i.e., image search, search in a specific region)

Bang Format

{
  "s": "Metacritic",
  "d": "www.metacritic.com",
  "t": "mc",
  "u": "https://www.metacritic.com/search/{{{s}}}/",
  "c": "Online Services",
  "sc": "Search"
}
Key Description Required Notes
s Website name yes
d Domain yes
t Trigger yes May contain letters, numbers, dashes (-), and underscores (_). No spaces or other special characters.
u URL template yes Use {{{s}}} for query placeholder.
c Category no
sc Subcategory no
fmt Format flags no Array of strings; See below.

Format Flags

The fmt field exists to tweak the behavior of how the bang is executed. For the majority of bangs, you do not need to specify this - we use defaults that work for 99.9% of bangs. But, it can be useful depending on the behavior of the website.

The field is an array of strings that act as a list of flags:

Flag Description
open_base_path When the bang is invoked with no query, opens the base path of the URL (/) instead of any path given in the template (e.g., /search)
url_encode_placeholder URL encode the search terms. Some sites do not work with this, so it can be disabled by omitting this.
url_encode_space_to_plus URL encodes spaces as +, instead of %20. Some sites only work correctly with one or the other.

By default, all of these are enabled. If you specify fmt, you must exhaustively specify each options you would like enabled.

Categories

This is a list of possible categories, with their corresponding subcategories.

Entertainment

Subcategories
  • Audio
  • Blogs
  • Blogs (intl)
  • Comics
  • Events
  • Forum
  • Games (Minecraft)
  • Games (Pokemon)
  • Games (WOW)
  • Games (general)
  • Games (offline)
  • Games (specific)
  • Misc
  • Movies
  • Music
  • Radio
  • Sports
  • TV

Man Page

Subcategories
  • Sysadmin

Multimedia

Subcategories
  • Books
  • Docs
  • Games (general)
  • General
  • Images
  • Movies
  • Music
  • Music (Folk)
  • Music (Lyrics)
  • Video

News

Subcategories
  • Aggregators
  • Broadcast
  • Business
  • International
  • Magazine
  • Magazine (car)
  • Magazine (fashion)
  • Newspaper
  • Newspaper (intl)
  • Online
  • Specialty
  • Weather

Online Services

Subcategories
  • Events
  • Google
  • Jobs
  • Maps
  • Search
  • Search (DDG)
  • Search (Private)
  • Search (Real-time)
  • Search (non-US)
  • Social
  • Social (intl)
  • Social news/links
  • Sysadmin
  • Tools
  • Tools (URLs)
  • Tools (fundraising)
  • Tracking

Region search

No corresponding subcategories.

Research

Subcategories
  • Academic
  • Academic (biology)
  • Academic (math/cs)
  • Food
  • Government
  • Health
  • Law
  • Learning
  • Learning (intl)
  • Local
  • Real Estate
  • Reference
  • Reference (fun)
  • Reference (religion)
  • Reference (science)
  • Reference (words intl)
  • Reference (words)
  • Topical
  • Travel

Shopping

Subcategories
  • Big box/department
  • Online
  • Online (deals)
  • Online (intl)
  • Online (marketplace)
  • Services
  • Tech
  • Tech (domains)

Tech

Subcategories
  • Blogs
  • Blogs (intl)
  • Chakra
  • Companies
  • Cryptocurrency
  • Design
  • Domains
  • Downloads
  • Downloads (add-ons)
  • Downloads (apps)
  • Downloads (code)
  • Downloads (software)
  • Language (perl)
  • Languages (.net)
  • Languages (Crystal)
  • Languages (Mathematica)
  • Languages (Matlab)
  • Languages (c++)
  • Languages (clojure)
  • Languages (cocoa)
  • Languages (coldfusion)
  • Languages (csharp)
  • Languages (d)
  • Languages (erlang)
  • Languages (go)
  • Languages (haskell)
  • Languages (html)
  • Languages (java)
  • Languages (javascript)
  • Languages (latex)
  • Languages (lisp)
  • Languages (lua)
  • Languages (other)
  • Languages (perl)
  • Languages (php)
  • Languages (python)
  • Languages (r)
  • Languages (racket)
  • Languages (ruby)
  • Languages (scala)
  • Languages (scheme)
  • Languages (vala)
  • Libraries/Frameworks
  • Libraries/Frameworks (KDE)
  • Libraries/Frameworks (wordpress)
  • Programming
  • Search (DDG)
  • Startups
  • Sysadmin
  • Sysadmin (Arch)
  • Sysadmin (Fedora)
  • Sysadmin (FreeBSD)
  • Sysadmin (Gentoo)
  • Sysadmin (RedHat)
  • Sysadmin (Ubuntu)
  • Sysadmin (debian)
  • Sysadmin (man)
  • Sysadmin (network)
  • Sysadmin (packages)
  • Tools
  • Tools (URLs)

Translation

Subcategories
  • General
  • Google

Did you know?

As a Kagi user, you can make your own custom bangs right now in the Custom Bangs settings page or the Search Shortcuts menu.

These will be instantly available to you and will override any global bangs.

This repository is for adding new or fixing existing global bangs to Kagi.

Credits

Kagi bangs are made possible by DuckDuckGo which invented the concept in 2008.

bangs's People

Contributors

nobodywasishere avatar james-mck avatar mathiazom avatar z64 avatar mangero avatar dphelan avatar vprelovac avatar hollowshiroyuki avatar mlissner avatar raybb avatar sylonin avatar adamaveray avatar fileformat avatar brandonbeaumia avatar calebdavenport avatar edsu avatar z-erica avatar erjanmx avatar adaptive avatar kcoombs avatar lazywasabi avatar pzmarzly avatar mosbasik avatar rdkang avatar teiem avatar bradprtr avatar filip-769 avatar lewisleedev avatar themoonisacheese avatar

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.