Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.8 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.8 KB

Anytype

Official Anytype client for MacOS, Linux, and Windows.

Building the source

Installation

git clone [email protected]:anyproto/anytype-ts.git
cd anytype-ts
npm install -D

Also, install gitleaks to ensure proper work of pre-commit hooks.

Install node addon 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 go-anytype-middleware.

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.