Coder Social home page Coder Social logo

anki-card-creator's People

Contributors

camdenclark avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

anki-card-creator's Issues

Support markdown being rendered to HTML in created cards

It would be amazing to be able to have GPT suggest some markdown code blocks and have those get rendered to HTML (maybe by rehype?) and then sent along to created anki cards.

That would make creating anki cards with code 100% easier than it is today.

Configurable anki connect endpoints

Pretty low priority, but it would be nice to support a configurable anki connect endpoint. That way, if someone is hosting anki connect through a vpn or home lab or on a vm somewhere they can still connect to it.

This would involve:

  1. Allowing anki connect URL to be configurable
  2. Allowing anki connect token to be configurable

CORS settings on homepage

To add “anki-card-creator.pages.dev” to the webCorsOriginList of AnkiConnect config, I needed to include “https://” in the URL. Consider updating the instructions on the home page to clarify this requirement.

Home page

There should be a home page that has an explanation of what the site is and then should have prominent links to the tools anki-card-creator supports.

For now, this would just be a link to the AI card creator, but in the future, we could support a lot more.

Routing support for AI card creator + bookmarklet

blocked by #7

It should be really easy to add a bookmarklet to your browser that takes the currently selected text (or just some subset of readable text?), shoves it into the URL as a prompt including the deck, tags, and automatically attempts to suggest cards based on that prompt

Error messages displayed to user

Display an error message to the user under the following conditions:

  1. We can't find an anki connect server
  2. The anki connect server is reached but returns a CORS error
  3. Some other error with anki connect

Then, with openai

  1. We don't have an openai key set up yet
  2. Openai call doesn't succeed

Setup instructions

There should be easy setup instructions to follow that outline the following steps:

  1. Having anki installed on your local machine (or a remote one I guess)
  2. Having anki connect plugin installed in your anki instance
  3. Setting up anki connect to have CORS enabled for the route
  4. Creating and using an API key

Support OpenRouter

I think it's likely that users will not want to put in their OpenAI API key directly into anki-card-creator.

Openrouter seems like a good alternative because they do their own billing, support oauth, and can handle individual applications getting a fixed budget when calling out to other APIs.

Also an easy way for super low cost card creation if people are so inclined.

Reprompting an individual card

Reprompt for more cards like one that's already suggested.

This would be a button with a popover text field that could allow the user to prompt for more cards following a certain direction. I'm still not 100% on how to support this, so I want to think about it more.

Use streaming tokens to stream in cards

Would be great to stream in cards as they are generated instead of having to wait for the full response. GPT-4 is truly great though and is worth the latency.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.