Skip to content
Castellan
Developer Herald's icon

Reference · Developer Herald

Read as

The Developer Herald's settings, files and commands

Every setting with its default, where the Developer Herald keeps its files and private feeds' sign-ins, its command line, and its local API.

Article
1504
Applies to
Developer Herald 0.10.0
Last reviewed
For
For developers
Written for Developer Herald 0.10.0. Developer Herald is at 0.10.13 now (12 small releases since: what changed).

Settings#

On its page, under Settings in the title bar. Each shows its value, its default and a line on what it does, with Reset to default. They're kept in %USERPROFILE%\.developer-herald\settings.json, and apply from the next round.

SettingDefaultWhat it does
Release feedsNoneEach a repository (owner/name on GitHub, or its address on any other host) and a note, with (under Advanced) a Feed address: an Atom or RSS feed of its releases, read instead of its host's API.
Suggested feedsOn, none dismissedSuggest them, and (under Advanced) the repositories not suggested again.
Releases read per repo (Advanced)10Read from each repository every round, 1 to 30.

Private feeds, once you follow one, are listed above the form: each sign-in hidden, with Replace and Remove. Their sign-ins are kept in Windows Credential Manager, never in settings.json.

In Castellan's Settings > Employees:

  • Plain-words notes (on), a short summary of each new release by a local model, is set once for all the staff, under Settings for the whole staff. Off: the release's own notes only.
  • A round every (360 minutes; 60 to 10,080) and Model calls per round (6 releases summarised a round, never more than 6; 0: none) are on the line under the Developer Herald's row.

How to fill them in is in Choose what the Developer Herald follows.

Files#

All in %USERPROFILE%\.developer-herald:

FileWhat's in it
settings.jsonIts settings. A private feed is kept there without its sign-in.
state.jsonEach feed's status and what it has seen, and the newest 400 news items.
read.jsonWhich items you marked read.
summaries.json, answers.jsonThe model's summaries by release, and its answers by question, each with where it was written.
notes.jsonRelease notes waiting for a summary.
suggestions.json, packages.jsonThe suggested feeds as last found, and each package's repository.
server.json, serve.logThe running page's process, port and token, and its log.

Private feeds' sign-ins are kept in Windows Credential Manager, as Web Credentials named Castellan Developer Herald (<its data folder>). It writes nowhere else. DEVELOPER_HERALD_HOME moves its data folder, and DEVELOPER_HERALD_PORT its page.

Commands#

Run with node $HOME\.developer-herald\app\src\cli.ts <command>:

CommandWhat it does
runOne round here and now, and what it found.
startOn duty: its rounds run on their schedule, and its page is up. Castellan's Start.
stopOff duty: its scheduled rounds pause. The page stays up. Castellan's Stop.
openMakes sure its page is up, without changing duty.
shutdownEnds its page's process, and with it any round.
statusExits 0 when on duty and working, 3 when not. --json prints what Castellan reads.
sign-insWhere private feeds' sign-ins are kept, and their names: never the sign-ins themselves.
uninstallRemoves it and its sign-in task. --purge removes its data and private feeds' sign-ins too; --dry-run says what it would do.

Its rounds run inside its page's process, so stopping it in Castellan stops its work.

Local API#

At http://developer-herald.localhost:19898/, answering only this PC:

AddressWhat it answers
GET /api/pingIts version and duty, with unread (unread news).
GET /api/newsThe unread items and the feeds, as JSON.

Is this page right?

If something on it is wrong or out of date, tell us and we'll fix the page.

Still stuck? Write to support@castellan-software.com and mention article 1504. Every version of Developer Herald, and what changed in it, is in its release notes.