Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bikenik/alfred-anki

Create New Cards into any decks with any "Note Type".
https://github.com/bikenik/alfred-anki

alfred alfred-workflow anki anki-flashcards workflow

Last synced: 22 days ago
JSON representation

Create New Cards into any decks with any "Note Type".

Awesome Lists containing this project

README

        

# alfred-anki [![Build Status](https://travis-ci.org/bikenik/alfred-anki.svg?branch=master)](https://travis-ci.org/bikenik/alfred-anki)

> anki card generator: Create New Cards into any Decks with any "Note Type".

![main window](./readme/main-window.png)
![main window](./readme/settings-window.png)
![main window](./readme/preview-of-card-field.png)

## Install

```
$ npm install --global alfred-anki
```
or as [ `anki.alfredworkflow`](https://github.com/bikenik/alfred-anki/releases)

*Requires: [Node.js](https://nodejs.org) 7.6+, Alfred [Powerpack](https://www.alfredapp.com/powerpack/), [Anki](https://apps.ankiweb.net) intelligent flash cards, [AnkiConnect](https://ankiweb.net/shared/info/2055492159) plugin for Anki*

>Also you can consider [DrLulz/Anki-Templates](https://github.com/DrLulz/Anki-Templates)

## Usage

- In Alfred, type `:anki`,
- Enter/Click on the any field to fill it in
- Enter/Click to save current value
- the same staps to edit.
- type `:anki!`, to setting menu.

#### This workflow uses Markdown syntax:
- [markdow-it](https://markdown-it.github.io) library with [Syntax highlighting (highlighjs.org)](https://highlightjs.org/),
- [\ tag plugin for markdown-it](https://github.com/markdown-it/markdown-it-ins) `++inserted++ => inserted`,
- [\ tag plugin for markdown-it](https://github.com/markdown-it/markdown-it-mark) `==marked== => inserted`
- [Emojies](https://github.com/markdown-it/markdown-it-emoji) Shortcuts (emoticons)`: :-) :-( 8-) ;)`
- [\ tag plugin for markdown-it](https://github.com/markdown-it/markdown-it-abbr) :
```
*[HTML]: Hyper Text Markup Language
The HTML specification
```

---
On the card fields:

- hit ⌃ + ↩ to remeber last input after created card.
- hit ⌃ + ↩ one more time to toggle switch this option
- hit ⌥ + ↩ to reset text from all fields
- hit (shift) to preview parsed fields of card
- for line break type '\n' (with space or without), also should be handy to use 'Alfred's snippets'.
- to add imag from clipboard use Alfred snippet >>img needs install [`pngpaste`](https://github.com/jcsalterego/pngpaste)
- check out another snippets
---
- To use your own icons for your Model's fields just you should call the `png` files the same as fields `[name-of-field].png` and put it into `icons` folder of this Workflow directory. Recommended use two instances of each icon where second icon (with some mark) will be called as `[name-of-field]_marked.png` for "remember last import" option.

Buy Me A Coffee

## License

MIT © [bikenik](http://bikenik.org)