kangruixiang / ankify Goto Github PK
View Code? Open in Web Editor NEWAnkify notes into anki cards
Home Page: https://ankify.krxiang.com/
Ankify notes into anki cards
Home Page: https://ankify.krxiang.com/
Hey,
I followed your tutorial and made my Typora notes like how you suggested. However, when I click the folder that has both the .md file and the folder with all the jpeg files, Ankify tells me that it failed to run the script. I do see a .html folder but it is empty. Any thoughts?
I'm on windows by the way!
Hello,
thank you for your work, I have been wanting to incorporate this into my workflow since December last year and I have adopted Obsidian as my markdown writer recently.
I wonder if you could walk me through how to run your script? I am using Windows and have downloaded the Ankify package.
I don't know how to run "npm install" and nor run "npm link".
In the next step to run the script, do I open the command prompt and type "ankify"?
Thanks in advance.
Tom
I cannot believe how easy it is to add anki cards thanks!
Any plan for cloze?
Please support Linux systems.
Thank You.
Hello,
I am using the following version of Anki:
Version โจ23.10.1 (fac9e0ee)โฉ
Python 3.9.15 Qt 6.6.0 PyQt 6.6.0
I am not sure how you did it in the video on YouTube, but Anki does not support importing ".html" files to turn them into flashcards, at least for my version of Anki. Please help on the matter. The software is very effective, but it cannot be used if this is the case. Please add support for converting notes to .txt files instead of .html.
Thank you!
It is not working. This is what I have as my .env
file:
# .env
ROOT_DIR="/Volumes/NO NAME/Test"
ATTACHMENT_FOLDER="/Volumes/NO NAME/Scripts/Ankify-master/images"
ANKI_PROFILE="/Users/peter/Library/Application Support/Anki2/User 1/collection.media"
BUCKET_ID=""
API_KEY_ID=""
API_KEY=""
BUCKET_NAME=""
B2_BASE=""
And this is the output from the terminal after doing Ankify
:
Peters-MacBook-Air:~ peter$ ankify
TypeError: Cannot read property 'authorize' of undefined
at getFiles (/Volumes/NO NAME/Scripts/Ankify-master/lib/b2.js:37:22)
at Object.<anonymous> (/Volumes/NO NAME/Scripts/Ankify-master/lib/b2.js:106:1)
at Module._compile (internal/modules/cjs/loader.js:1075:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10)
at Module.load (internal/modules/cjs/loader.js:940:32)
at Function.Module._load (internal/modules/cjs/loader.js:781:14)
at Module.require (internal/modules/cjs/loader.js:964:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/Volumes/NO NAME/Scripts/Ankify-master/index.js:11:24)
at Module._compile (internal/modules/cjs/loader.js:1075:30)
Error: ENOENT: no such file or directory, unlink '/Volumes/NO NAME/Test/_html/Test.html'
at Object.unlinkSync (fs.js:1162:3)
at Object.<anonymous> (/Volumes/NO NAME/Scripts/Ankify-master/index.js:77:6)
at Module._compile (internal/modules/cjs/loader.js:1075:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10)
at Module.load (internal/modules/cjs/loader.js:940:32)
at Function.Module._load (internal/modules/cjs/loader.js:781:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
syscall: 'unlink',
code: 'ENOENT',
path: '/Volumes/NO NAME/Test/_html/Test.html'
}
internal/fs/utils.js:298
throw err;
^
Error: ENOENT: no such file or directory, copyfile '/Volumes/NO NAME/Scripts/Ankify-master/images/1.png' -> '/Users/peter/Library/Application Support/Users/peter/Library/Application Support/Anki2/User 1/collection.media/1.png'
at Object.copyFileSync (fs.js:1941:3)
at Object.<anonymous> (/Volumes/NO NAME/Scripts/Ankify-master/index.js:89:8)
at Module._compile (internal/modules/cjs/loader.js:1075:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10)
at Module.load (internal/modules/cjs/loader.js:940:32)
at Function.Module._load (internal/modules/cjs/loader.js:781:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/Volumes/NO NAME/Scripts/Ankify-master/images/1.png',
dest: '/Users/peter/Library/Application Support/Users/peter/Library/Application Support/Anki2/User 1/collection.media/1.png'
}
Peters-MacBook-Air:~ peter$
This exactly what I need to turn some of my zettelkasten notes into Anki cards.
I am on macOS, so cannot use this ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.