/anytype-ts

Official Anytype client for MacOS, Linux, and Windows

Primary LanguageTypeScriptOtherNOASSERTION

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 port
  • ANYPROF — Go variable, profiler port, access http://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.