Skip to content
marcelpetrickPublic

About

✍️ A browser-only editor for LinkedIn posts and plain-text email that switches between GitHub Flavored Markdown and copyable Unicode with random lettering and three variants each for underline and strikethrough. ✨

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Boldemort

CI GitHub Pages Release pipeline Version 0.4.1 License GPL v3 or later TypeScript Vite GFM Coverage gate Mutation testing Playwright Languages Privacy

Give a LinkedIn post or plain-text email a little emphasis. Write in Markdown, switch to copyable Unicode, and keep editing in the same draft. Boldemort processes your text in the browser without sending it to a server.

Try Boldemort on GitHub Pages

Author: Marcel Petrick mail@marcelpetrick.it

License: GPL v3 or later.

Developed with AI assistance.

The Boldemort editor with a sample Unicode draft and a LinkedIn length estimate

Dark theme · Bavarian theme

Watch Markdown to copyable Unicode · Watch Random font turn on and off · Read the demo storyboards

Using the editor

  1. Write or paste into the draft. Select text to format it, or toggle a style with no selection to format what you type next.
  2. Switch between Markdown and Unicode to edit either representation.
  3. Choose Markdown or Unicode in the output picker, then use Copy all or Export. The picker controls what you copy or download.

The Unicode line controls default to short strikethrough and double macron underline. Choose a different line to use on new formatting. Existing text keeps its marks. Fonts and apps may display the lines differently.

Choose a LinkedIn destination for an estimated length limit. The estimate uses UTF-16 code units, so one visible character may count as more than one unit. The writing stats count words and sentences in the text and count each nonempty top-level Markdown block as one paragraph.

In Unicode mode, Random font mixes Unicode alphabets in a selection or toggles mixed lettering for new typing. Click again on the randomized selection to restore plain Latin letters and digits. Select all to format across the draft while preserving protected Markdown and code.

Choose English or German and a theme in the top bar. Hover or focus a control for a short hint. It expands after four seconds. Open Help by the editor to read the full explanations.

Links, code, tables, and task lists keep their original Markdown when you switch to Unicode. Simple unordered lists become Unicode bullets. After an edit in the other view, the editor keeps the original Markdown spelling where it still recognizes the same span. Browser text input uses LF line endings. Drafts live in the current tab. Export a copy to keep one.

Repository layout

Local development

Requires Node.js 24 or later and npm.

npm ci
npm run dev
./localPipeline.sh

The shared local and GitHub Actions pipeline installs the locked dependencies and Playwright browsers. It checks source, documentation, dependencies, and long-draft performance, builds the site, and tests it at the Pages subpath. Combined unit and browser line coverage must reach 98%. The pipeline also runs ShellCheck and actionlint when installed.

  • Run npm run performance for the long-draft checks.
  • Run npm run mutation to test the conversion and analysis core in a sandbox. The minimum score is 80%, and reports go to reports/mutation/.

On supported Linux hosts, Playwright can install system libraries with npx playwright install --with-deps chromium firefox webkit after the npm dependencies are installed. Alternatively, run the full pipeline in the same Playwright container as CI.

docker run --rm --ipc=host --user "$(id -u):$(id -g)" \
  --env npm_config_cache=/tmp/boldemort-npm-cache \
  --volume "$PWD:/work" --workdir /work \
  mcr.microsoft.com/playwright:v1.65.1-noble ./localPipeline.sh

Use ./localPipeline.sh --project=chromium --project=firefox to select which engines run the production browser tests.

npm run build writes static files to dist/. Run npm run preview to serve the build locally. For the Pages subpath, run node scripts/serve.mjs after building, then open http://127.0.0.1:4173/Boldemort/.

GitHub Pages and releases

Set Settings → Pages → Source to GitHub Actions and the Actions variable PAGES_ENABLED to true to enable public deployment. Successful main-branch CI triggers Pages deployment. The Pages workflow can also be dispatched for the current tip of main.

For a release, update the package version and changelog, verify the pipeline, then push a matching tag such as v0.2.1 from main. The release workflow reruns local verification, packages the static site with licensing information, and publishes a SHA-256 checksum alongside the archive. Dispatch the Release workflow on main to verify and download the archive from Actions without creating a GitHub release.

History

Application line coverage and both mutation scores by version

Tracked source and test lines by area and version

The charts run through the last recorded v0.4.0 build. The coverage chart uses CI results. The code chart counts lines in tracked app files and tests.

Redraw both charts with Python and Matplotlib 3.11.2.

python3 scripts/history_charts.py

See the coverage data and release history.

About

✍️ A browser-only editor for LinkedIn posts and plain-text email that switches between GitHub Flavored Markdown and copyable Unicode with random lettering and three variants each for underline and strikethrough. ✨

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages