1
0
Fork 0
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
Find a file
2022-09-09 08:40:50 +03:00
.github remove snapcraft 2022-09-06 17:03:49 +03:00
dist fix graph and selection colors 2022-09-01 14:22:12 +03:00
electron merge 2022-09-08 08:58:01 +03:00
patches keytar patch 2021-12-13 14:29:27 +03:00
src JS-511: fix 2022-09-09 08:07:39 +03:00
.babelrc code highlighting moved to prism.jjs 2020-06-17 17:55:00 +03:00
.gitattributes .so lfs storage 2019-09-25 13:12:20 +03:00
.gitignore JS-277: Electron 20.0.2 2022-08-13 15:38:51 +03:00
CHANGELOG.md Change log 2022-08-19 08:44:20 +03:00
electron.js JS-511: fix 2022-09-09 08:08:45 +03:00
middleware.version bump middleware version 2022-09-06 21:03:28 +03:00
package-lock.json 0.28.13-beta 2022-09-07 21:05:31 +03:00
package.deps.json JS-185: Remove Electron binary from production build 2022-08-04 00:57:41 +03:00
package.json JS-279: fix sed regex for windows 2022-09-09 08:40:50 +03:00
README.md Update README.md 2022-01-25 21:22:29 +03:00
save-node-deps.js JS-279: fix sed regex for windows 2022-09-09 08:40:50 +03:00
tsconfig.json baseUrl added 2022-04-04 18:03:45 +01:00
tslint.json code fix 2019-09-07 18:54:48 +03:00
update.sh fix ci 2022-08-11 23:21:24 +03:00
webpack.config.js remove node bindings from webpack config 2022-08-20 18:52:01 +03:00
webpack.node.config.js fix build 2020-11-19 17:03:01 +03:00

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