{"id":26573934,"url":"https://github.com/phjardas/taktische-zeichen","last_synced_at":"2025-06-20T03:34:03.241Z","repository":{"id":39584263,"uuid":"447125550","full_name":"phjardas/taktische-zeichen","owner":"phjardas","description":"Generator für taktische Zeichen nach der DV 102","archived":false,"fork":false,"pushed_at":"2025-02-01T20:49:03.000Z","size":6550,"stargazers_count":16,"open_issues_count":9,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-01T18:17:49.282Z","etag":null,"topics":["hacktoberfest","react","svg","web-components"],"latest_commit_sha":null,"homepage":"https://taktische-zeichen.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phjardas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-01-12T07:55:53.000Z","updated_at":"2025-02-01T20:47:56.000Z","dependencies_parsed_at":"2024-01-21T14:44:49.955Z","dependency_job_id":null,"html_url":"https://github.com/phjardas/taktische-zeichen","commit_stats":{"total_commits":147,"total_committers":5,"mean_commits":29.4,"dds":"0.12925170068027214","last_synced_commit":"cd0e99ca4fa90edd365492c5f2fd56df0dbd8599"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phjardas%2Ftaktische-zeichen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phjardas%2Ftaktische-zeichen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phjardas%2Ftaktische-zeichen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phjardas%2Ftaktische-zeichen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phjardas","download_url":"https://codeload.github.com/phjardas/taktische-zeichen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244973701,"owners_count":20541021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","react","svg","web-components"],"created_at":"2025-03-23T01:21:46.536Z","updated_at":"2025-03-23T01:21:47.034Z","avatar_url":"https://github.com/phjardas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Taktische Zeichen\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\nBibliothek für die Erzeugung von taktischen Zeichen nach der DV 102 in JavaScript.\n\nDokumentation aller verfügbaren Optionen: https://taktische-zeichen.dev/\n\n## Inhalt\n\nDie Bibliothek enthält:\n\n\u003c!-- STATISTICS:START --\u003e\n\n- 25 Grundzeichen\n- 42 Fachaufgaben\n- 7 Organisationen\n- 8 Einheiten\n- 6 Verwaltungsstufen\n- 83 Symbole\n\n\u003c!-- STATISTICS:END --\u003e\n\nEs gibt vier Bibliotheken für die Erzeugung von taktischen Zeichen, je nach Anwendungsfall.\n\n## Node.JS oder im Browser\n\n\u003c!-- USAGE:core:START --\u003e\n\nDiese Bibliothek hat keinerlei externe Abhängigkeiten.\n\nInstalliere die Bibliothek:\n\n```bash\nnpm install taktische-zeichen-core\n```\n\nUnd so erzeugst du ein taktisches Zeichen, egal ob im Browser oder in Node.JS.\n\n```javascript\nimport { erzeugeTaktischesZeichen } from \"taktische-zeichen-core\";\n\nconst tz = erzeugeTaktischesZeichen({\n  grundzeichen: \"kraftfahrzeug-gelaendegaengig\",\n  organisation: \"feuerwehr\",\n  fachaufgabe: \"brandbekaempfung\",\n  einheit: \"gruppe\",\n});\n\n// \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\u003csvg\u003e...\u003c/svg\u003e\nconsole.log(tz.toString());\n\n// data:image/svg+xml;base64,...\nconsole.log(tz.dataUrl);\n\n// [75, 45]\nconsole.log(tz.size);\n```\n\n\u003c!-- USAGE:core:END --\u003e\n\n## React\n\n\u003c!-- USAGE:react:START --\u003e\n\nInstalliere die Bibliothek:\n\n```bash\nnpm install taktische-zeichen-react\n```\n\nVerwende die Komponente in deiner Anwendung:\n\n```jsx\nimport { TaktischesZeichen } from \"taktische-zeichen-react\";\n\nfunction App() {\n  return (\n    \u003cTaktischesZeichen\n      grundzeichen=\"kraftfahrzeug-gelaendegaengig\"\n      organisation=\"feuerwehr\"\n      fachaufgabe=\"brandbekaempfung\"\n      einheit=\"gruppe\"\n      {/* weitere Props werden durchgereicht */}\n      className=\"...\"\n    /\u003e\n  );\n}\n\n// Rendert \u003csvg\u003e...\u003c/svg\u003e\n```\n\n\u003c!-- USAGE:react:END --\u003e\n\n## Web Components\n\n\u003c!-- USAGE:web-component:START --\u003e\n\nInstalliere die Bibliothek:\n\n```bash\nnpm install taktische-zeichen-web-component\n```\n\nRegistriere die Komponente:\n\n```javascript\nimport { TaktischesZeichen } from \"taktische-zeichen-web-component\";\n\nwindow.customElements.define(\"taktisches-zeichen\", TaktischesZeichen);\n```\n\nHTML:\n\n```html\n\u003ctaktisches-zeichen\n  grundzeichen=\"kraftfahrzeug-gelaendegaengig\"\n  organisation=\"feuerwehr\"\n  fachaufgabe=\"brandbekaempfung\"\n  einheit=\"gruppe\"\n/\u003e\n```\n\n\u003c!-- USAGE:web-component:END --\u003e\n\n## Kommandozeile\n\n\u003c!-- USAGE:cli:START --\u003e\n\nInstalliere die Bibliothek:\n\n```bash\nnpm install taktische-zeichen-cli\n```\n\nErzeuge ein taktisches Zeichen:\n\n```bash\nnpm i -g taktische-zeichen-cli\n\ntaktisches-zeichen \\\n  --grundzeichen kraftfahrzeug-gelaendegaengig \\\n  --organisation feuerwehr \\\n  --fachaufgabe brandbekaempfung \\\n  --einheit gruppe\n\n# Ausgabe auf STDOUT:\n# \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n# \u003csvg\u003e...\u003c/svg\u003e\n```\n\n\u003c!-- USAGE:cli:END --\u003e\n\n\u003c!-- FOOTER:START --\u003e\n\n## Lizenz\n\nDieses Projekt steht unter der [MIT-Lizenz](https://opensource.org/licenses/MIT) und kann kostenlos verwendet werden.\n\nDie Quellen sind öffentlich auf [GitHub](https://github.com/phjardas/taktische-zeichen) verfügbar.\n\n## Mitmachen\n\nDu möchtest bei der Weiterentwicklung helfen? Prima! Du hast folgende Möglichkeiten:\n\n- Du hast einen Fehler gefunden oder vermisst ein Symbol? [Erstelle ein Issue](https://github.com/phjardas/taktische-zeichen/issues/new), und wir werden uns darum kümmern!\n- Du möchtest aktiv bei der Entwicklung helfen? Dann schau dir bitte den [Contributors' Guide](https://github.com/phjardas/taktische-zeichen/blob/main/CONTRIBUTING.md) an.\n\n## Contributors\n\nDie folgenden Personen haben an diesem Projekt mitgewirkt ([Schlüssel für die Emoji](https://allcontributors.org/docs/de/emoji-key)). Vielen Dank!\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://jardas.de/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1437300?v=4?s=100\" width=\"100px;\" alt=\"Philipp Jardas\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePhilipp Jardas\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/phjardas/taktische-zeichen/commits?author=phjardas\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#content-phjardas\" title=\"Content\"\u003e🖋\u003c/a\u003e \u003ca href=\"https://github.com/phjardas/taktische-zeichen/commits?author=phjardas\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#projectManagement-phjardas\" title=\"Project Management\"\u003e📆\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/PatrickReichel\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/59778648?v=4?s=100\" width=\"100px;\" alt=\"PatrickReichel\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePatrickReichel\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#userTesting-PatrickReichel\" title=\"User Testing\"\u003e📓\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/einsatzverwaltung\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/59615464?v=4?s=100\" width=\"100px;\" alt=\"einsatzverwaltung\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eeinsatzverwaltung\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/phjardas/taktische-zeichen/commits?author=einsatzverwaltung\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#userTesting-einsatzverwaltung\" title=\"User Testing\"\u003e📓\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/Sascha007\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/4368123?v=4?s=100\" width=\"100px;\" alt=\"Sascha\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSascha\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#example-Sascha007\" title=\"Examples\"\u003e💡\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\n\u003c!-- FOOTER:END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphjardas%2Ftaktische-zeichen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphjardas%2Ftaktische-zeichen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphjardas%2Ftaktische-zeichen/lists"}