Skip to content

TiddlyWiki plugin for creating json forms using json schema

Notifications You must be signed in to change notification settings

joshuafontany/TW5-jsoneditor

 
 

Repository files navigation

Read Me

Json Editor for TiddlyWiki5, Version 0.0.6

Requires TiddlyWiki 5.1.20

Automatically generate html forms in Tiddlywiki from JSON Schema files using:

Json-Editor for Javascript

Plugin source code (Forked from jsoneditor)

Introduction

The jsoneditor widget generates and displays an HTML form constructed from the given JSON Schema. It does this by wrapping a TiddlyWiki widget around the json-editor package. None of the optional requirements (css frameworks, icons, etc.) of json-editor are included in this plugin except for Bootstrap4 and FontAwesome5.

The schema must be in JSON Schema format and can reside in:

  • the text of any json tiddler
  • any index in any json tiddler
  • any field from any tiddler (using the text field by default)

Installation

Go to the example wiki: https://joshuafontany.github.io/TW5-jsoneditor/

Drag and drop the following tiddlers into your own wiki:

  • $:/plugin/joshuafontany/jsoneditor
  • $:/plugin/@oss/bootstrap4
  • $:/plugin/TheDiveO/FontAwesome
  • $:/plugin/joshuafontany/jsonmangler
  • $:/plugin/ebalster/modloader
  • $:/plugin/matabele/action-maketid

Alternately clone this repository into your TiddlyWiki5 root into a `plugins/joshuafontany/jsoneditor` folder, and drag and drop the other tiddlers. If you want a "minified" version the Releases page has extractable packages for node.js served wikis. Place these in your TiddlyWiki5 root folder and unzip them by selecting `Extract Here` (7zip) or `Extract to here` (Winzip).

Using Json Editor

Examples are found in the `Using Json Editor` tiddler in the demo wiki:

https://joshuafontany.github.io/TW5-jsoneditor/

This plugin is a work in progress; please report any issues on GitHub: https://github.com/joshuafontany/TW5-jsoneditor/issues

If you find this useful and would care to donate, please use my PayPal: https://paypal.me/JoshuaFontany

About

TiddlyWiki plugin for creating json forms using json schema

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.9%
  • CSS 0.1%