npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

alfred-ldoce

v1.4.1

Published

Quick look from Longman dictionary and create flash cards to Anki

Downloads

109

Readme

alfred-ldoce-express Build Status

Alfred 3 workflow to quick look of Longman dictionary and creating Anki cards.

Search by headword or across all entries

Search by headword or across all entries

Preview

Create, choose and delete your decks in Anki

Create, choose and delete your decks in Anki

Use ⌘L for more info by large text and copy it

Use [⌘L] for more info by large text and copy it

Warnings, Notifications

search wichout Anki

Notification

Try this Anki theme (Scramble-sentences) to learning by created cards

anki-scramble-theme

Description

The search, ldoce <query>, uses Pearson's API to hunt for headwords and senses that match headeword/<query>. 25 results are retrieved by default for headword search. This workflow searches from Longman Dictionary of Contemporary English (5th edition)[ldoce5 - API]. And creates Anki cards by your choices (if an article of the current word in this API not existing audio examples the Alfred will create audio examples from Oddcast. [uses random voices: Julie, Kate, James]

Install

$ npm install --global alfred-ldoce

or as ldoce-Express.alfredworkflow

  • Download and import the deck example for Anki to install template for this grabbing from ldoce Api.

Requires: Node.js 7.6+, Alfred Powerpack, Anki intelligent flash cards, AnkiConnect plugin for Anki.

Usage

video presentation query

In Alfred, type ldoce, Enter, and your query.
  • ldoce < query > — Search for entries with the given headword

  • ldoces — Generic text search across all entries (searchs all entry fields)

  • < query > — Search for previous matching ldoce < query >

    • , or ⌘ + NUM or click — select to choose sense for creating card
    • ⌘ + L — Show one of vocabulary entries in Alfred's "Large Type" window
    • ⌘ + ↩ — create card from selected senses of word
    • ⌥ + ↩ — create card from all matching of current query
    • hit fn + ↩ — export current vocabulary entries to other workfows "Call External"
    • hit ⌃ + ↩ to turn back from some additional boxes to current session of query
  • < ldl > (last query or last query for phrasal verb) go to the definition of the word of the last query

  • If you notice this sign 🔦 it means the current deffinition exist additional words for search. Hit ⌃ + ↵ (SEE ALSO) to show and search by this words.

  • <ldoce !> — Choose, create or delete deck for Anki

    • - choose another deck for new cards
    • - delete any deck (with cards)
    • - Refreshing info by AnkiConnect. It will be done automaticaly after each query set, but can be used forcibly by this command.

Note: OS X's "delete word" shortcut ( ⌥ + ⌫ ) is very handy for backing out of a current search result.

notation conventions

regular headword : Regular

gramatical example : Gramatical

phrasal verb : Phrasal verbs

collocation : Collocation

runon : Run-on sentences

Configuration

  • There is three options:
    • language: Choose your language (it use google-translate-api).
    • path_to_anki-media: /Library/Application Support/Anki2/< Profile name of Anki >/collection.media.
    • note_type: "Ldoce-Express" - by default don't need to change.

ToDo

  • [x] Update Readme
  • [x] Add Frequency by "Ldoce 9000"
  • [x] Add more info (like "due", "new", "suspend" and count of cards) through the AnkiConnect
  • [ ] Tests

By me a coffee

License

MIT © bikeNik