Skip to content

A plugin for Obsidian to transform texts into different formats. Currently base64 and ROT13

License

Notifications You must be signed in to change notification settings

rudimuc/obsidian-coder

Repository files navigation

Encoder/Decoder Obsidian Plugin

This is a plugin for Obsidian to encode / decode texts.

The first version supports only a text to base64 encoding.

The library used for the encoding is base64-js.

Installation

From within Obsidian

From Obsidian v0.9.8, you can activate this plugin within Obsidian by doing the following:

  • Open Settings > Third-party plugin
  • Make sure Safe mode is off
  • Click Browse community plugins
  • Search for "Encoder/Decoder Plugin"
  • Click Install
  • Once installed, close the community plugins window and activate the newly installed plugin

From Github

  • Clone this repository
  • Follow the instructions of the official Obsidian Sample Plugin to deploy it in your local installation

Usage

Following conversions are available

Source Destination Markdown keyword
text base64 transform-text-base64
text ROT13 transform-text-rot13
ROT13 text transform-rot13-text

Type the Markdown keyword to use the specific encoding.

For example if you like to print out a given text as base64 you have to write:

```transform-text-base64
this is a text to encode
```

The result will be this:

dGhpcyBpcyBhIHRleHQgdG8gZW5jb2Rl

Version History

1.1.0

  • Added ROT13 conversion

1.0.0

  • First version to convert text to base64

Roadmap

Upcoming changes for this plugin: