Using GitHub issues as general notes.
-
Install prerequisites:
- Python 3.8+
- GitHub CLI (
gh) - https://cli.github.com/
-
Install notehub:
pip install lm-notehub
-
Authenticate:
gh auth login j``` -
Configure:
git config --global notehub.org <your-github-username> git config --global notehub.repo notehub.default
-
Create your notes repo at https://github.com/new (name it
notehub.default) -
Verify:
notehub status
For complete usage, commands, configuration, and troubleshooting:
Or run: notehub --help
For contributors and developers:
git clone https://github.com/Stabledog/notehub.git
cd notehub
python -m pip install -e .[dev]pre-commit installpytest # All tests
pytest tests/unit/ # Unit tests onlySet LM_NOTEHUB_PYPI_TOKEN environment variable, then:
bash build-and-publish.shFor detailed development guidance, see .github/copilot-instructions.md.
Many developers recommend using virtual environments (venv, conda, etc.) to isolate project dependencies. While this is a best practice for production and complex projects with conflicting dependencies, it adds complexity and can be skipped for simpler projects or solo development. If you want to use one:
python -m venv .venv
.venv\Scripts\activate # Windows
source .venv/bin/activate # Unix/macOSThen proceed with the installation steps above.