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
2023-07-20 11:37:35 +09:00
.github workflow fix 2023-07-11 16:53:05 +02:00
.husky added npx to license-checker so it doesnt have to be installed globally 2023-04-14 15:39:07 +09:00
dist JS-2396: fix 2023-07-17 16:58:02 +02:00
electron about fix 2023-07-14 13:57:39 +02:00
patches keytar patch 2021-12-13 14:29:27 +03:00
src refactoring, fix possible sentry crash 2023-07-19 17:48:49 +02:00
.eslintrc.js JS-1018: linter fixes 2022-12-19 16:38:19 +03:00
.gitattributes .so lfs storage 2019-09-25 13:12:20 +03:00
.gitignore JS-1367: added linters for licenses and secrets 2023-03-01 13:59:25 +02:00
.prettierrc.json chore: apply prettier formatting to js-anytype.code-workspace 2023-07-20 11:37:35 +09:00
check-licenses.js Update precommit checker 2023-05-22 17:34:15 +03:00
electron.js powermonitor logs 2023-04-29 11:36:22 +02:00
js-anytype.code-workspace chore: apply prettier formatting to js-anytype.code-workspace 2023-07-20 11:37:35 +09:00
LICENSE.md Update LICENSE 2023-07-08 10:48:43 +03:00
middleware.version bump middleware version 2023-07-19 10:05:13 +02:00
package-lock.json 0.33.3 2023-07-19 10:05:37 +02:00
package.deps.json fix graph font and source map 2023-06-16 21:29:09 +02:00
package.json 0.33.3 2023-07-19 10:05:37 +02:00
README.md Update README.md 2023-07-19 14:45:52 +02:00
save-node-deps.js JS-279: fix sed regex for windows 2022-09-09 08:40:50 +03:00
tsconfig.json some refactoring 2023-04-19 00:40:54 +09:00
tslint.json improved linting via pre-commit hooks and added prettier 2022-11-08 06:31:18 -05:00
update.sh JS-2562: text updates 2023-07-10 20:10:16 +02:00
webpack.config.js some refactoring 2023-04-19 00:40:54 +09:00
webpack.node.config.js fix build 2020-11-19 17:03:01 +03:00

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.