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 | ||
dist | ||
electron | ||
patches | ||
src | ||
.babelrc | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
electron.js | ||
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 Desktop Client
Installation
git clone git@github.com:anytypeio/js-anytype.git
cd js-anytype
npm install -D
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
Run the local dev-server
MacOS, Linux
SERVER_PORT=<PORT> ANYPROF=:<PROFILER_PORT> npm run start:dev
Windows
SERVER_PORT=<PORT> ANYPROF=:<PROFILER_PORT> npm run start:dev-win
NPM env vars
- SERVER_PORT - local server port
GO env vars
- ANYPROF - profiler port, access http://localhost:<PORT>/debug/pprof/profile?seconds=30 for profiling
Build
npm run dist:(mac|win|linux)
NPM env vars
- ELECTRON_SKIP_NOTARIZE=1 - skip MacOS notarization process