mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
Official Anytype client for MacOS, Linux, and Windows
https://anytype.io
.github | ||
.husky | ||
dist | ||
electron | ||
patches | ||
src | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
.prettierrc.json | ||
check-licenses.js | ||
electron.js | ||
js-anytype.code-workspace | ||
LICENSE.md | ||
middleware.version | ||
package-lock.json | ||
package.deps.json | ||
package.json | ||
README.md | ||
save-node-deps.js | ||
tsconfig.json | ||
tslint.json | ||
update.sh | ||
webpack.config.js | ||
webpack.node.config.js |
Anytype
Official Anytype client for MacOS, Linux, and Windows.
Building the source
Installation
git clone git@github.com:anyproto/anytype-ts.git
cd anytype-ts
npm install -D
Also, install gitleaks
to ensure proper work of pre-commit hooks.
Install middleware library and protobuf bindings
Fetch the latest binary from the github releases
./update.sh <GITHUB_USER> <GITHUB_TOKEN> <macos-latest|ubuntu-latest|windows-latest>
Or compile from the source code. Follow instructions at anytype-heart
.
Building
Build anytype-heart
first.
npm run dist:(mac|win|linux)
Options:
ELECTRON_SKIP_NOTARIZE=1
— skip MacOS notarization process
Running
Before running Anytype locally, you need to build anytype-heart
.
MacOS, Linux
SERVER_PORT=<PORT> ANYPROF=:<PROFILER_PORT> npm run start:dev
Windows
SERVER_PORT=<PORT> ANYPROF=:<PROFILER_PORT> npm run start:dev-win
Options:
SERVER_PORT
— NPM variable, local server portANYPROF
— Go variable, profiler port, accesshttp://localhost:<PORT>/debug/pprof/profile?seconds=30
for profiling
Contribution
Thank you for your desire to develop Anytype together.
Currently, we're not ready to accept PRs, but we will in the nearest future.
Follow us on Github and join the Contributors Community.
Made by Any — a Swiss association 🇨🇭
Licensed under Any Source Available License 1.0.