Model or dataset
uu201/character-arc avatar
uu201/character-arc

CharacterArc: a cmd.exe test script, an un-notarised Mac build, and a tutorial on someone else's wiki

CharacterArc, an AI novel-writing app that combines project settings, character relationships, plot outlines, chapter writing and multi-model AI collaboration in one place.

606 stars87 forksTypeScriptMIT

At a glance

What is it?
CharacterArc is a Chinese-language Electron desktop studio for long-running novel projects, with AI assistance across drafting, auditing and cover work. Its two most consequential details are a test script that only runs on Windows and a macOS build that cannot be distributed to users.
Who is it for?
Use CharacterArc if you are writing a long serial with a structured outline and you want AI drafting inside one local database rather than a chat window with a copy-paste habit, because the project isolation, chapter binding and knowledge centre are the parts a chat interface cannot do. Two practical limits to check before you rely on it.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 3 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • uu201/character-arc606 ★ · +47
Star history
Repository2026-09-112026-11-25
uu201/character-arc559606

47 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The test script sets its environment with cmd.exe syntax, so it does not do what it says elsewhere

The whole test suite is one script line, and it starts by setting an environment variable the Windows way.

The script begins `set ELECTRON_RUN_AS_NODE=1&&` and then runs Electron's built-in test runner over a list of test files. The variable is the point: it makes Electron run as a plain Node process so the test files can be executed without a window server.

`set` followed by a name and a value, then `&&`, is cmd.exe syntax. On macOS and Linux the same text is interpreted by a POSIX shell, where `set` assigns positional parameters rather than environment variables. So `ELECTRON_RUN_AS_NODE=1` never becomes an environment variable there, it becomes the first positional argument to the shell.

The project supports both platforms. The readme states Windows and macOS, the packaging section names both installers, and the release workflow builds on macOS runners. So a developer following the documented test command on a Mac gets a different environment than the script asks for, with no error to distinguish it from a passing run.

The second problem with the same line is its length. Every test file is enumerated by repository-relative path rather than discovered, and the visible list already runs to roughly thirty entries spanning the main process, the shared runtime and the renderer feature folders. A new test file is invisible to the suite until someone edits the manifest.

The macOS artifacts are ad-hoc signed and un-notarised, so there is no distributable Mac build

The distribution story for macOS is stated twice, and both statements are unusually direct about what is missing.

The readme says the macOS output is an ad-hoc signed, un-notarised disk image or zip, suitable for internal installation testing, and that distributing it to ordinary users requires configuring an Apple Developer certificate and notarisation.

The release workflow section says the same thing and then lists what would be needed: a signing certificate link, its password, an Apple account identifier, an app-specific password, and a team identifier, all of them to be added as repository secrets before Developer ID signing and notarisation are switched on.

Meanwhile the workflow itself does build both architectures. It runs on a current Apple Silicon image and a current Intel image, producing arm64 and x64 artifacts, and uploads them to the Actions artifacts area. It triggers on manual dispatch, on a version tag, and on pull requests that touch packaging configuration, so packaging changes get checked.

The gap is between what the workflow builds and what it publishes. Artifacts in the Actions area are downloadable by anyone with access to the repository for a limited time; they are not a release. So the practical position is that the Windows installer is the distributable artefact and the Mac build is an internal testing one, however complete the CI looks.

The documented commands are:

bash
# 打包 Windows 安装程序
pnpm run dist:win

# 打包 macOS 安装包(在 macOS 上运行)
pnpm run dist:mac

Packaging must also run on the target platform: the readme notes Windows produces an NSIS installer and macOS produces a disk image or zip, and that you run the packaging on the matching operating system.

One AI provider path is not an API at all: the app drives a local command-line agent

Among the supported model sources, one is not an HTTP endpoint.

Text generation configuration accepts several interface profiles with a title you can switch between in the title bar. One of those profiles is a local Codex command-line tool, and what the app does with it is worth listing: it reuses the login state already present on the machine so no API key is needed, it searches for the executable automatically, it pulls the list of models from that tool, and it sets the reasoning effort level.

So for that profile the application is not making HTTP requests on your behalf. It is locating another agent tool on your system, reading its authenticated state, enumerating its models, and configuring it.

The rest of the profiles are ordinary: a protocol type of either OpenAI-compatible or Anthropic, a base URL where you type only the domain or a path prefix and the application completes the `/v1` suffix, an API key, and a model name that can be fetched from the endpoint.

The image configuration for the cover workbench is narrower by comparison: an image model, an API key and a base URL, with nothing about local tools.

The test file names give a sense of how much surface this occupies: there are separate tests for the Codex command-line integration, for provider settings, for the protocol adapter, and for proxy fetching.

Relay endpoints and official endpoints get different request shapes

The application treats a resold API relay as a first-class provider type, not an edge case.

Text generation accepts the Anthropic protocol against either the official service or a relay, and accepts OpenAI-compatible endpoints against a list of named providers including DeepSeek, Qwen, Zhipu, Kimi, SiliconFlow and a local Ollama. Error reporting is built around that reality: when a call fails, the interface prefers to show the error, message or response body the relay returned, along with the HTTP status code, rather than substituting its own generic message.

Then there is a behavioural difference keyed on which kind of endpoint you configured. OpenAI-compatible relays default to the Chat Completions interface, while the official OpenAI service uses the Responses interface. The application decides which request shape to send based on the endpoint.

That is a pragmatic rule and it has a predictable failure mode. A relay that implements the newer interface is sent the older one, and a self-hosted proxy that presents itself as compatible but is not gets the wrong call shape. The visible text does not describe a manual override, so the rule is not something you can correct from the settings screen as far as this page shows.

The same multi-provider thinking shows up in reasoning output. The application says it handles the reasoning field used by several named model families, and that whether thinking content is visible depends on whether the model and the relay pass that field through. Before text reaches disk it strips common thinking markers, which is a defence against a model leaking its own reasoning into a chapter.

The draft pipeline includes a step whose stated purpose is making prose look less machine-written

One feature list describes a chapter first-draft flow, and the steps are configurable per stage. The sequence given is a writing memo, then a first draft, then an audit, then automatic repair, then a step described as removing the AI flavour, then a writing log.

Five stages, and one of them exists to alter how the prose reads to a reader rather than what it says. That is a reasonable product decision in its market: several of the publishing platforms named elsewhere in the project are known to be hostile to text that reads as generated, so a drafting tool for that market has a reason to address it.

It is also the feature most worth naming plainly, because it changes what the tool is for. The other stages change the draft in the direction of the author's intent. This one changes it in the direction of a reader's inference about who wrote it.

The audit stage sits immediately before it, which suggests the ordering is deliberate: check the draft first, then adjust it, then log what happened.

The readme also documents a review point for the assistant's own output. A global assistant can modify settings and stage changes for review, which is the right shape for an agent that edits your manuscript, since the change is shown before it lands.

This article describes what the pipeline steps are. Whether and how to use them is a decision about how you want your own work to read, and one worth making deliberately rather than by leaving a checkbox on.

The illustrated manual lives on a Feishu wiki while the repository carries its own tutorial data

The documentation is split across three places, and the primary one is not in the repository.

At the top of the readme, the first link a reader is offered is a Feishu wiki page titled as the illustrated tutorial for the application. Feishu is a Chinese workplace wiki product, and the link points at a tenant-specific wiki space. That page is the user manual.

The repository has its own documentation directory with the screenshots the readme embeds, and its own `tutorial.json` at the root, which the application loads. There is a test file covering the tutorials feature, so the in-app tutorial content is versioned and tested, not fetched from the wiki at runtime.

There is also `announcements.json` at the root, another piece of in-app content data kept beside the manifest rather than in the documentation directory.

The screenshot table links seven images under the documentation assets directory, and the visible text presents them as ordered by the actual creative workflow, covering project management, reference-book analysis, skill configuration, chapter writing and cover generation. Each caption describes a feature rather than showing a screen, which is the right instinct for images that may not load.

So a reader has three routes to learn the tool: a wiki page they cannot reach from the repository, a documentation directory of images, and in-app tutorial data that only exists once the app is running.

The repository slug is a garbled string while the manifest carries a real author name

The repository is owned by an account whose name is four characters and a number: `uu201`.

That is the shape a string takes when an encoding is decoded wrongly, and it is not a name anybody chose. The repository slug itself is `character-arc`, which is meaningful.

The manifest tells a different story. The package is `characterarc`, the description is a desktop writing studio, the version is 1.21.1, and the author field carries a name, zhouyeshan, with a GitHub-provided no-reply address.

So the identity that ships with the software is a real person's name, and the identity that owns the repository is an encoding artefact. Anyone looking for the maintainer, or trying to report an issue to a person rather than a string, has to get past the slug.

The packaging metadata is otherwise tidy. The package manager is pinned to an exact version, the entry point points at a built main-process file, and the licence is MIT, matching the licence file at the root. The readme states a Node floor of 18 and pnpm 10, which is consistent with the pinned package manager.

There is also no recorded homepage, no topics, and no description beyond the one-line summary, so the repository's discoverability rests entirely on the slug and on the linked wiki.

Two releases shipped on the same day, both after the last recorded push

The release dates and the commit dates do not line up.

The last push to the repository is 2026-09-30. After that, two releases were published on 2026-10-02: version 1.21.0 at 06:14:59 and version 1.21.1 at 16:06:58, about ten hours apart. Before them came 1.20.0 on 2026-09-28.

So the newest release post-dates the newest commit by more than two days, and the two most recent releases are a minor version and a patch version cut on a single morning and afternoon.

For a project whose release workflow triggers on a version tag, a tag can be pushed without appearing as a commit push, which is the ordinary explanation. It also means the recorded push date is a poor guide to what is in the newest tag.

The manifest version is 1.21.1, which matches the newest tag, so the manifest and the release line agree. That is worth saying, because it is the thing that could have drifted: the package version is maintained correctly even where the timestamps are hard to read.

The cadence itself is the notable part. Three releases in five days, on a project at version 1.21, with a changelog at the root. Whatever release discipline means here, it does not mean infrequent shipping.

Editorial conclusion

Use CharacterArc if you are writing a long serial with a structured outline and you want AI drafting inside one local database rather than a chat window with a copy-paste habit, because the project isolation, chapter binding and knowledge centre are the parts a chat interface cannot do. Two practical limits to check before you rely on it. The test script sets its environment variable with cmd.exe syntax, so on macOS and Linux it silently sets a positional parameter instead of the variable and the suite does not do what the script says. And the macOS build is ad-hoc signed and un-notarised, which means on a Mac you are running an internal-test artefact rather than something you can hand to a user. Everything else, from which AI endpoint you use to where the manual lives, you can work around; those two you have to plan for.

Frequently asked questions

What is CharacterArc?

A desktop Electron application for writing long-form novels, aimed at creators who maintain project settings, character relationships, plot structure and chapter text. Project data is kept in a local SQLite database in the main process, and each project keeps its own settings, chapters, knowledge base and AI run records separately.

How does CharacterArc connect to AI models?

Through several interface profiles you switch between in the title bar: a local Codex command-line tool that reuses the machine's existing login so no API key is needed, OpenAI-compatible endpoints including DeepSeek, Qwen, Zhipu, Kimi, SiliconFlow and Ollama, and the Anthropic protocol against the official service or a relay. Image models are configured separately for the cover workbench.

What does the CharacterArc chapter drafting pipeline do?

It runs configurable stages in sequence: a writing memo, a first draft, an audit, automatic repair, a step that removes the AI flavour from the prose, and a writing log. Elsewhere the application strips common reasoning markers from model output before text is written to disk, so thinking content does not end up in a chapter.

Can I run the CharacterArc tests on macOS?

The test script sets ELECTRON_RUN_AS_NODE with cmd.exe syntax followed by an ampersand chain, which is Windows shell syntax. On macOS and Linux that assigns a positional parameter instead of an environment variable, so the suite does not receive the setting the script intends. The project otherwise supports Windows and macOS, and builds both.

Can I distribute the CharacterArc macOS build to users?

Not as it stands. The macOS output is ad-hoc signed and un-notarised, which the readme describes as suitable for internal installation testing only. Formal distribution needs an Apple Developer certificate and notarisation, and the release workflow names the secrets required: a certificate link, its password, an Apple account identifier, an app-specific password, and a team identifier.

What are the environment requirements for CharacterArc?

Node.js 18 or newer and pnpm 10 or newer, on Windows or macOS. The manifest pins the package manager to an exact version, and packaging has to be run on the target operating system: Windows produces an NSIS installer and macOS produces a disk image or zip.

Official sources

  1. Issues
  2. License: MIT
  3. README
  4. Releases
  5. uu201/character-arc on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/uu201-character-arc.svg)](https://hysenlabs.com/projects/uu201-character-arc)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/uu201-character-arc.svg)](https://hysenlabs.com/projects/uu201-character-arc)

Was this useful?