diff --git a/README.md b/README.md index 18c97433b9f1397e0412b4e9c4c6d7dc4cf2d5e4..bb687017697ce638debddec132c9870aab240874 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,12 @@ # Brand spanking new Anki Pack -Hi, do you want to build a new Anki pack? You can start with this repository! +Hi, do you want to build your own vocabulary with Anki and want to take +advantage of a feature-rich template without writing any code? -If you want to learn, not create new content, see the user guide in -[English](https://gitlab.phaidra.org/kartenaale/getting-started-with-anki/-/blob/main/GUIDE.md) -or -[German](https://gitlab.phaidra.org/kartenaale/getting-started-with-anki/-/blob/main/ANLEITUNG.md). +Download this APKG with just one card and then add your own, right within Anki. -## First-time setup for a new project -Create a -[new project](https://gitlab.phaidra.org/projects/new?namespace_id=2286#import_project) -in the _Anki Packs_ namespace and choose _Repository by URL_ with this repo: -``` -https://gitlab.phaidra.org/kartenaale/templates/anki-pack.git -``` - -This step will also clone this README. You can change it later to remove this -section and tell your users something about your pack instead. - -Next, enable Gitlab CI for your project. With this feature, your new content -will produce Anki packages on Merge Requests and on the main branch. To enable, -open _Settings_ in the new Gitlab project and expand -_Visibility, project features, permissions_. _CI/CD_ under _Repository_ should -be _enabled_. Customize Merge Requests and other settings to your liking ( -_Pipelines must succeed_ is highly recommended). - -*Everything below this point is not starter-project-specific, you may want to keep it* +The template used in the package is much easier to use than the templates used +for the other packages, where you need to fill in more fields to get all the +functionality. ## Importing the pack to your phone or PC Open _Deployments | Releases_ on the left, then click _Browse all APKGS…_ on diff --git a/content/Bijection-from-CSV/.apkg-spec.yaml b/content/Bijection-from-CSV/.apkg-spec.yaml deleted file mode 100644 index bde304381f843e7de2f348aa8c8a8e9dd0fa1b70..0000000000000000000000000000000000000000 --- a/content/Bijection-from-CSV/.apkg-spec.yaml +++ /dev/null @@ -1,21 +0,0 @@ -content_version: 1.0.0 - -templates: -- bijective - -content: -- import_csv: - content_version: 2024-06-08 18:23:00+00:00 - note_type: Bijection - file_patterns: - - 'content.csv' - delimiter: ';' - deck_name_pattern: 'Tapir geography' - fields_mapping: - - guid - - A - - B - fields_static: {} - tags: [] - -resource_paths: [] diff --git a/content/Bijection-from-CSV/content.csv b/content/Bijection-from-CSV/content.csv deleted file mode 100644 index d68fa717f7db99af20f8243c58a9a3530f9c459c..0000000000000000000000000000000000000000 --- a/content/Bijection-from-CSV/content.csv +++ /dev/null @@ -1,2 +0,0 @@ -7856975905780;Continent: Europe, Australia, Antarctica;Species: none -5423654674576;Continent: Asia;Species: Tapirus indicus diff --git a/content/Bijection-from-Images/.apkg-spec.yaml b/content/Bijection-from-Images/.apkg-spec.yaml deleted file mode 100644 index a646defc0f767fecd2ff508a5e5e9b4a38b2c079..0000000000000000000000000000000000000000 --- a/content/Bijection-from-Images/.apkg-spec.yaml +++ /dev/null @@ -1,15 +0,0 @@ -content_version: 1.0.0 - -templates: -- bijective - -content: -- import_images: - content_version: 2024-02-22 19:00:00+00:00 - note_type: Bijection - deck_name_pattern: 'Colors' - fields_mapping: - A: 'The color {{from_basename}}' - B: '{{image}}' - -resource_paths: [] diff --git a/content/Bijection-from-Images/red.png b/content/Bijection-from-Images/red.png deleted file mode 100644 index 45963e5fca95e06822eef5da0ac0ece43c2a8c30..0000000000000000000000000000000000000000 Binary files a/content/Bijection-from-Images/red.png and /dev/null differ diff --git a/content/Facts-from-CSV/.apkg-spec.yaml b/content/Facts-from-CSV/.apkg-spec.yaml deleted file mode 100644 index f9f697204bc4ff703cbb4f29e2594c51f6d2d586..0000000000000000000000000000000000000000 --- a/content/Facts-from-CSV/.apkg-spec.yaml +++ /dev/null @@ -1,21 +0,0 @@ -content_version: 1.0.0 - -templates: -- facts - -content: -- import_csv: - content_version: 2024-06-08 18:23:00+00:00 - note_type: Facts - file_patterns: - - '*.csv' - delimiter: ';' - deck_name_pattern: 'Tapir facts' - fields_mapping: - - guid - - Front - - Back - fields_static: {} - tags: [] - -resource_paths: [] diff --git a/content/Facts-from-CSV/content.csv b/content/Facts-from-CSV/content.csv deleted file mode 100644 index 1767be3aaa86e7155e7dc96473296f94f50cdde9..0000000000000000000000000000000000000000 --- a/content/Facts-from-CSV/content.csv +++ /dev/null @@ -1 +0,0 @@ -123412354152;How many tapir species live in the wild in Asia?;1 diff --git a/content/Vocabulary-from-Anki/.apkg-spec.yaml b/content/Vocabulary-from-Anki/.apkg-spec.yaml deleted file mode 100644 index 68f31436beed14decca226ef188e24542436892a..0000000000000000000000000000000000000000 --- a/content/Vocabulary-from-Anki/.apkg-spec.yaml +++ /dev/null @@ -1,35 +0,0 @@ -content_version: 1.0.0 - -templates: -- molaoshi - -content: -- import_csv: - content_version: 2024-01-19 19:00:00+00:00 - note_type: Vokabeln - file_patterns: - - '*.txt' - delimiter: "\t" - # Not needed because the CSV contains the deck name - deck_name_pattern: 'UNUSED' - fields_mapping: - - guid - # ignoriere den Kartentyp - - '' - # Dritte Spalte ist Deckname - - deck - - Deutsch - - 简体字 - fields_static: - Schreiben (简体字) anlegen: 'true' - # Mehr optionale Kartentypen aktivieren: - # Hören anlegen: 'true' - # Schreiben (繁體字) anlegen: 'true' - # Radikal finden anlegen: 'true' - # Radikal finden (繁體字) anlegen: 'true' - # Lesen (简体字) anlegen: true - # Lesen (繁體字) anlegen: 'true' - # Lesen (Pīnyīn) anlegen: 'true' - tags: [] - -resource_paths: [] diff --git a/content/Vocabulary-from-Anki/Chinesisch.txt b/content/Vocabulary-from-Anki/Chinesisch.txt deleted file mode 100644 index 179e13378b71942bb6cf6239725ee6b723b15a99..0000000000000000000000000000000000000000 --- a/content/Vocabulary-from-Anki/Chinesisch.txt +++ /dev/null @@ -1,8 +0,0 @@ -#separator:tab -#html:true -#guid column:1 -#notetype column:2 -#deck column:3 -#tags column:6 -sA:>|UEhWR Basic Chinesisch::Teil 1 Tapir 貘 -fVVAK}&Gs~ Basic Chinesisch::Teil 1 gut 好 diff --git a/content/Vocabulary-from-Anki/README.md b/content/Vocabulary-from-Anki/README.md deleted file mode 100644 index 5eb25e4dbe410b2e7ce18bbc5d4486fcc35dfc56..0000000000000000000000000000000000000000 --- a/content/Vocabulary-from-Anki/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# Vocabulary from Anki -This example builds Vocabulary cards from simple Front/Back cards that were -exported from Anki. - -To generate the .txt file, click the wheel when hovering the root of thr deck -you want to export and hit _Export…_ and select _Notes in Plain Text (.txt)_ as -the format. Check everything, e.g. the deck name and unique identifier. - -See [.apkg-spec.yaml](.apkg-spec.yaml) for an example of how to handle such a -file. - -## Images -If you use images, put them into a directory and add that to the resource path. - -See for example -[sinology-1](https://gitlab.phaidra.org/kartenaale/packs/sinology-1/-/blob/main/content/Einf%C3%BChrung-in-die-politische-Geschichte-Chinas/.apkg-spec.yaml) -as an example of how to do this. diff --git a/content/Your-custom-vocabulary/.apkg-spec.yaml b/content/Your-custom-vocabulary/.apkg-spec.yaml new file mode 100644 index 0000000000000000000000000000000000000000..404113e7d2c184081dd487185aeb30b0b902fb07 --- /dev/null +++ b/content/Your-custom-vocabulary/.apkg-spec.yaml @@ -0,0 +1,21 @@ +content_version: 1.0.0 + +templates: +- vocabsimple + +content: +- import_csv: + content_version: 2024-01-19 19:00:00+00:00 + note_type: Vocab simple + file_patterns: + - '*.csv' + delimiter: "," + deck_name_pattern: 'My Chinese Vocabulary' + fields_mapping: + - guid + - Deutsch + - 简体字 + fields_static: {} + tags: [] + +resource_paths: [] diff --git a/content/Your-custom-vocabulary/Chinesisch.csv b/content/Your-custom-vocabulary/Chinesisch.csv new file mode 100644 index 0000000000000000000000000000000000000000..c49ed14c70d2f82bc0d34081805a02b3730898cb --- /dev/null +++ b/content/Your-custom-vocabulary/Chinesisch.csv @@ -0,0 +1 @@ +245738aadsfaasdfaswe,tapir,貘 diff --git a/package.json b/package.json index c2c4db718bdb63e0acfe0db23f371a71bfb5f786..1587a669681c9a7e2aa097fbdc4b9882051fb58c 100644 --- a/package.json +++ b/package.json @@ -1,3 +1,3 @@ { - "version": "1.0.0-starter9" + "version": "1.0.0" }