A simple and smart (or stupid) bang manager
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin add KrISS bang header Jul 7, 2017
src modify for html validation Jul 8, 2017
README.md KrISS bang init Jul 7, 2017
kriss_bang.php modify for html validation Jul 8, 2017

README.md

KrISS bang

A simple and smart (or stupid) bang manager

A demo is available on tontof.net.

Installation

  • If you just want to use KrISS bang, download kriss_bang.php file and upload it on your server. Enjoy !

To remove the kriss_bang.php file, you can add a .htaccess file

DirectoryIndex kriss_bang.php
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ kriss_bang.php [QSA,L]
</IfModule>
  • If you want to look at the source, look at the src directory. This code use the KrISS mvvm project. To compile the kriss_bang.php file you need to also clone KrISS mvvm:
git clone https://github.com/kriss/mvvm
git clone https://github.com/kriss/bang
cd bang/bin
bash compile.sh

More information here: KrISS bang.

Manage bang

You can create your own bang using ! sign, a default url if the search is empty and a search pattern using the kriss_bang keyword to replace by your search

For example:

  • bang: !duckduckgo
  • url: https://duckduckgo.com
  • pattern: https://duckduckgo.com/?q=kriss_bang

Alternatively, you can upload a csv file. Duckduckgo bangs are available to init your bangs!

Licence

Copyleft (ɔ) - Tontof - http://tontof.net

Use KrISS bang at your own risk.

Free software means users have the four essential freedoms:

  • to run the program
  • to study and change the program in source code form
  • to redistribute exact copies, and
  • to distribute modified versions.