Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lucasmelin/red-pen

A proofreader for your writing. 🖊️
https://github.com/lucasmelin/red-pen

obsidian-md obsidian-plugin plugin

Last synced: about 1 month ago
JSON representation

A proofreader for your writing. 🖊️

Awesome Lists containing this project

README

        

Red Pen


Red Pen acts as a proofreader for your writing.

It highlights phrases that could use simplifying, identifies weasel words, hedges, filler, and many more.

Red Pen

Red Pen is implemented as a retext-based plugin for the Obsidian note-taking app.


built with nix

## Development

This project uses TypeScript to provide type checking and documentation.
The repo depends on the latest plugin API (`obsidian.d.ts`) in TypeScript Definition format, which contains TSDoc comments describing what it does.

### NodeJS instructions

[Install NodeJS](https://nodejs.org/en).

Navigate to the plugin directory.

```bash
cd red-pen
```

Install the project dependencies.

```bash
npm install
```

Compile the source code. The following command keeps running in the terminal and rebuilds the plugin when you modify the source code.

```bash
npm run dev
```

### Nix instructions

[Install Nix](https://github.com/DeterminateSystems/nix-installer) as well as [`direnv`](https://direnv.net/).

Navigate to the plugin directory.

```bash
cd red-pen
```

Run `nix build` to compile the plugin.

The resulting `main.js`, `styles.css`, and `manifest.json` can then be found in the [`./result/lib/node_modules/red-pen`](./result/lib/node_modules/red-pen) directory.

## Manually installing the plugin

Copy over `main.js`, `styles.css`, `manifest.json` to your Obsidian Vault `/.obsidian/plugins/red-pen/`.