Thanks for helping improve Draftmora. Keep changes focused, evidence-backed, and easy to review.
- Bug fixes and data-loss prevention.
- Security hardening around credentials, local files, memory, and API access.
- Cross-platform reliability for macOS, Linux, and WSL2.
- Small product improvements that preserve the local-first workflow.
- Documentation and developer experience.
Start with a small, testable issue from
good first issue
or
help wanted.
If the issue is open and unassigned, leave a short comment saying what you plan
to change before you start.
Use this local loop:
- Fork or clone the repository and create a focused branch.
- Run
npm install. - Run
npm run devand openhttp://localhost:5173. - Make one logical change tied to the issue.
- Run the relevant checks from the PR checklist below.
- Open a PR that links the issue and describes the verification you performed.
Keep local state out of the branch. Do not commit .env, SQLite databases,
USER.md, MEMORY.md, build output, dependency folders, logs, or personal
demo data. For UI changes, attach a screenshot or short recording so reviewers
can see the behavior without reproducing every step.
npm install
npm run devOpen http://localhost:5173. The API runs on http://127.0.0.1:4141 by
default. Set WEB_PORT and API_PORT in .env to use another pair.
Run:
npm audit
npm run typecheck
npm test
npm run build
npm pack --dry-runFor UI changes, include a screenshot or short recording. For bug fixes, include the smallest reliable regression test or explain why existing coverage is sufficient.
- Keep one logical change per PR.
- Do not mix unrelated cleanup with product or security fixes.
- Explain the problem, the root cause, and the verification performed.
- Call out changes to auth, tokens, local storage, memory files, network calls, or command execution surfaces.
- Do not commit
.env, SQLite databases, build output, dependency folders, or personal memory content. - Use clear conventional commit-style titles when possible, such as
fix(settings): preserve OpenAI auth state.
Draftmora uses a built-in local memory pattern. USER.md and MEMORY.md
are plain local context files separated by §. Before publishing a branch,
review those files and remove private user or project facts that should not be
public.