🚀 A command with fzf-like UI to quickly search Wikipedia articles and open it in your browser

Overview

fzwiki

A command with fzf-like UI to quickly search Wikipedia articles and open it in your browser.

Usage

  1. Run the command by specifying a search query.
  2. Press the <Tab> key to select item(s), then press <Enter> key to confirm the selection.
  3. The pages URL of the selected items will output. If you specify the -o, --open flag, it will open the page in your default browser.
Usage:
  fzwiki [OPTIONS] QUERY...

Application Options:
  -o, --open  open URL with webbrowser
  -l, --lang= wikipedia language

Help Options:
  -h, --help  Show this help message

Installation

Build from source

git clone https://github.com/sheepla/fzwiki.git
cd fzwiki
go install

Binary

TODO

LICENSE

MIT

Contributing

Welcome! 💕

You might also like...
Sync your bank transactions with google sheets using Open Banking APIs

this is a markdown version of the copy on the site landing page: https://youneedaspreadsheet.com You need a spreadsheet 📊 Get on top of your finances

Simple tool to search tagged resources between all AWS resouces

Welcome to Cloud Inventory Tags 👋 Simple tool to search tagged resources around all AWS Account Installation MacOS / OSX

An Apple Search Ads API client for Go

apple-search-ads-go is a Go client library for accessing Apple's Apple Search Ads API.

RawLink makes backlinks queried from ahref ready for *Google Search Console*

Raw Link This simple program makes backlinks queried from ahref ready for Google Search Console. See footnote 1 for more information. It can be used t

Twingly Blog Search API in Go

Twingly Search API Go A Go package for Twingly's Blog Search API. Twingly is a blog search service that provides a searchable API known as Twingly Blo

Experimental port of PHP faceted-search library

Experimental port of PHP k-samuel/faceted-search PHP Library https://github.com/k-samuel/faceted-search Bench v1.3.0 PHP 7.4.25 (no xdebug extension)

Spotify Search Microservice

SpotifySearch Service This is the SpotifySearch service Generated with micro new spotify-search Usage Generate the proto code make proto Run the ser

This repo introduces a simple server, which provided some APIs for search DAS account's records or reverse records

Prerequisites Install Usage Others Das-Account-Indexer This repo introduces a simple server, which provided some APIs for search DAS account's records

Unofficial golang implementation for the pipl.com search API
Unofficial golang implementation for the pipl.com search API

go-pipl The unofficial golang wrapper for the pipl.com API. Table of Contents Installation Documentation Examples & Tests Benchmarks Code Standards Us

Comments
  • `--lang` を複数指定できるようにする

    `--lang` を複数指定できるようにする

    機能案

    • 検索するWikipediaの言語を複数指定できるようにする
    • 環境変数に言語名をセットすることで、デフォルトで検索する言語を変更できるようにする

    仕様案

    • -l, --lang オプションの引数にカンマで区切った言語名を指定する
    • 環境変数 FZWIKI_LANG にカンマで区切った言語名を指定する
    fzwiki QUERY...                             # --> search en.wikipedia.org (default)
    fzwiki --lang ja,en QUERY...                # --> search ja.wikipedia.org, en.wikipedia.org
    FZWIKI_LANG="ja,en" fzwiki QUERY...         # --> search ja.wikipedia.org, en.wikipedia.org
    export FZWIKI_LANG="ja,en"; fzwiki QUERY... # --> search ja.wikipedia.org, en.wikipedia.org
    
    enhancement 
    opened by sheepla 2
  • Add test code #2

    Add test code #2

    変更内容

    • テストコードを追加しました
    • テストしやすいように関数の戻り値を変更しました
    • CIで自動テストを走らせるようにしました

    テストカバレッジについて

    テストカバレッジを確認するためのHTMLは、以下のコマンドで取得できます

    go test -coverprofile=cover.out ./...
    go tool cover -html=cover.out -o cover.html
    

    client パッケージについては90%超えまでは一旦いきました

    image

    main パッケージは簡単に実装出来る部分まではテストを実装しました (23.7%)

    #2

    opened by jiro4989 1
  • Fix wrapping preview text

    Fix wrapping preview text

    The argument width of function f, which is taken as the argument of function fuzzyfinder.WithPreviewWindow, is the width of the entire terminal.

    width and height are the size of the terminal so that you can use these to adjust a preview content.

    https://pkg.go.dev/github.com/ktr0731/go-fuzzyfinder#WithPreviewWindow

    The width of preview window can be calculated excluding vertical lines | and spaces for padding. source

    opened by matsuyoshi30 1
Releases(v0.1.0-alpha)
Owner
sheepla
> 𝙸 ♥ 𝙲𝙻𝙸 _
sheepla
Gopedia: an alternative to get summaries from Wikipedia API

Gopedia Gopedia is an alternative to get summaries from Wikipedia API ♻️ Changel

null 0 Mar 18, 2022
User-Generated Content Articles 📝

?? Community Articles A library of technical articles on anything code. Written by the Codecademy community. What are Community Articles? Community ar

Codecademy 25 Oct 23, 2022
GoSearch: Search the Go packages via command-line

GoSearch Search the Go packages for pkg.go.dev via command-line. It supports all search options in Search Help. Installation go get github.com/mingram

MinJae Kwon 53 Jun 23, 2022
Awspowertoggle - Web UI and API for quickly starting and stopping AWS environments

aws-power-toggle web UI and API for quickly starting and stopping AWS environmen

null 1 Feb 23, 2022
A Simple Anonym FileSharing Service which is able to be render in the Browser and in an Terminal-Client

FileSharingService A Simple Anonym FileSharing Service which is able to be render in the Browser and in an Terminal-Client How to use Take a look in t

null 0 Dec 25, 2022
A Go utility to quickly authenticate a third party application with a Plex account.

Plex Authentication (in Go!) Installation As a Go library: go get github.com/BrenekH/go-plexauth As a CLI: go install github.com/BrenekH/go-plexauth/c

Brenek Harrison 0 Jan 7, 2022
Search and output the value of JSON by it's path.

golang-cli Get the value of a JSON element via it's path name. Usage ======= jutil ======= Usage: jutil [-p <path>] [-v] Options: -p string

Alexander Dawson 0 Dec 19, 2021
Ztgrep - Recursively search through compressed tarballs and files

ztgrep Search for file names and contents through nested archives. Useful for fi

Stephen Levine 3 Jun 7, 2022
Sync your bank transactions with google sheets using Open Banking APIs

Sync your bank transactions with google sheets using Open Banking APIs

Alex Russell-Saw 30 Jul 22, 2022