Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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".
- Host: GitHub
- URL: https://github.com/bikenik/alfred-anki
- Owner: bikenik
- License: mit
- Created: 2019-02-17T17:20:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T16:30:14.000Z (almost 2 years ago)
- Last Synced: 2024-10-01T09:42:47.498Z (about 1 month ago)
- Topics: alfred, alfred-workflow, anki, anki-flashcards, workflow
- Language: JavaScript
- Size: 3.64 MB
- Stars: 45
- Watchers: 3
- Forks: 1
- Open Issues: 22
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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.## License
MIT © [bikenik](http://bikenik.org)