Code Monkey home page Code Monkey logo

alfred-web-searches's Introduction

Alfred Web Searches

Alfred workflow to search through any website (easily extendable list)

img

This workflow similar to DuckDuckGo Bangs allows you to fuzzy search through a selection of websites that you can add and contribute to.

You simply search for the website you want to scope your search too, press enter and make your search.

Some results have a prefix to signify the scope of the search. For example results prefixed with r: will search through Reddit subreddits. Here is the full list of prefixes and their descriptions.

Prefix Description
r: Search subreddits on Reddit
d: Search documentation websites
g: Search GitHub
s: Search stack exchange sites
f: Search forums
t: Search Google Translate

Each prefix also has a corresponding icon for visual feedback of prefix meaning.

And since the workflow allows for fuzzy searching, you can even make searches like that:

img

And they will match.

You can also attach a hotkey that will take the selected text and then will let you search for that text on any of the websites.

Install

Download workflow from GitHub releases.

See here for instructions on fixing permissions in macOS refusing to run Go binary.

Setup

The workflow is written in Go and uses AwGo library for all Alfred related things.

It uses modd and Alfred command to ease its development.

Run

  1. Run alfred link (makes symbolic link of workflow directory)
  2. Run modd (starts a process that automatically builds the workflow with alfred build on any changes you make to .go files, this builds and places a binary inside workflow directory.)
  3. Make changes to code or modify Alfred objects to do what you want! Open debugger in Alfred or run the workflow with workflow:log passed in as argument to see the logs Alfred produces.

Contribute

Always open to useful ideas or fixes in form of issues or PRs.

Can open new issue (search existing issues first) or start discussion.

It's okay to submit draft PR as you can get help along the way to make it merge ready.

Join Discord for more indepth discussions on this repo and others.

๐Ÿ–ค

Support on GitHub or look into other projects.

Discord X nikiv.dev

alfred-web-searches's People

Contributors

lukeg101 avatar nikitavoloboev avatar rsify avatar rwjc avatar rymawby avatar yqrashawn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

alfred-web-searches's Issues

URL encode queries

Currently it doesn't seem to break things but still needs to be added so it works properly 100 % of times.

Can you add more details on how to use this

I thought I would be able to open alfred and type in a query like d: rust actix and it would search the rust docs for query=actix.

But that doesn't seem to be the case. I had to set up a shortcut inside the extension in alfred, and that only seems to search for things that I have selected with my mouse.

What if I know a word I want to search for that I don't have written down yet so I can't select it with my mouse?

Search in google by URL

Feature โœจ

In google you can do a query and search only specific site. Add that as modifier key search on the results.

Support picking browser

Feature โœจ

Based on this forum post

Was thinking that it would be nice if we could add a keyword that allowed us to pick the browser, for example maybe I default to Chrome, but I can add a prefix / postfix / something where I say firefox

Why: People use different browsers for different things sometimes, even worse if you use multi profile in Chrome

use goreleaser

should release the alfred workflow file in workflow dir

Doesn't work on macOS Catalina

Bug Summary ๐Ÿž

When calling workflow from extarnal trigger or keyword, I receive this window:
Safari 2019-10-09 at 09 17 50@2x

I have the Gatekeeper disabled.
macOS v10.15

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.