Giter Site home page Giter Site logo

polypoly-eu / polypod Goto Github PK

View Code? Open in Web Editor NEW
31.0 9.0 15.0 89.56 MB

Personal data store and privacy-preserving runtime environment

Home Page: https://polypoly.net/en/how/polypod

License: GNU General Public License v3.0

JavaScript 56.79% TypeScript 10.93% Shell 0.08% Java 0.80% HTML 2.51% CSS 5.60% Kotlin 8.36% Swift 10.75% Svelte 0.30% Makefile 0.23% Rust 3.50% Python 0.12% C 0.02%
privacy privacy-protection privacy-tools privacy-by-design gdpr gdpr-compliant open-source polypod polypoly edge-computing

polypod's Introduction

The polyPod

The polyPod is a personal data store and privacy-preserving runtime environment for privacy-conscious computations. It executes Features; small, sandboxed JavaScript applications that can be launched by the user and interact with their personal data.

It is still under heavy development, and some aspects are missing or unrefined. For more on the vision please read the polyPod whitepaper.

To better understand the architecture, have a look at docs/architecture.md, and to understand how we are planning to evolve the code base, see docs/tech-roadmap.md.

Structure

Requirements

The main thing you need is Node.js version 16.x or newer.

In order to build for Android or iOS (see below), have a look at the requirements in platform/core/README.md, which is needed for both, and then platform/android/README.md or platform/ios/README.ms respectively.

Setting the target platform

The polyPod runs on several platforms. You can control which platforms to build for using the POLYPOD_BUILD_PLATFORMS environment variable.

Regardless of what you set it to, even if you don't set it, podjs will always be built - which is sufficient to run and develop Features.

In order to build the polyPod for other platforms, set POLYPOD_BUILD_PLATFORMS to one of the following values:

  • all
  • android
  • ios

Building

If you're on Windows, please follow the steps in dev-utils/windows first.

In general, you just need to run:

$ ./build.js

(Yes, we have a custom build script, you can read more about why here if you're curious.)

This will build the platform independent code, including all the bundled Features, as well as podjs, a browser-based implementation of the polyPod.

After this you can build the platform (e.g. android or ios), or try one of the Features (e.g. features/example).

Testing

To run the tests, just execute:

$ ./build.js test

Developer tips

We've defined some helpful aliases you might enjoy:

$ . dev-utils/scripts/env.sh

Linting is done via tools configured at the top level (root) directory.

To run the linter:

$ ./build.js lint

Please note that this won't trigger tests or linting for non-JS code, for example android.

If linting reveals some error, they can be fixed with

$ ./build.js lintfix

Although just doing the linting will reveal the rules, there are a couple of sources for this configuration:

Documentation

For a complete overview, see docs/README.md.

Branches

Ongoing development is happening in the main branch. We aim to keep it stable at all times, but it is not as thoroughly tested as our releases. This is the branch to make contributions against.

We prepare releases in the release branch. If no release is in progress, it reflects the state of the last release we made.

Security

Please read the SECURITY document on how to report potential security vulnerabilities in polyPod and where to find polypoly's Vulnerability Disclosure Policy.

Issues and contributions

Please see CONTRIBUTING.md.

Licensing

Copyright © 2021-2022 pc polypoly coop SCE mbH

Licensed under the GNU General Public License, Version 3. Please see the LICENSE document for details and a copy of the license.

License information of 3rd party components is available in the 3rd-party-licenses/ directory.

Trademarks

  • polypoly® is a registered trademark of polypoly Enterprise GmbH and pc polypoly coop SCE mbH
  • polyPod® is a registered trademark of pc polypoly coop SCE mbH
  • polyPedia® is a registered trademark of polypoly Foundation gGmbH

polypod's People

Contributors

alexandrosfarhat avatar ardiadrianadri avatar carmenb80 avatar chisandrei avatar daniela-pp avatar dependabot-preview[bot] avatar dependabot[bot] avatar fhd avatar g3o314 avatar irstavr avatar jj avatar jollyorc avatar l-e avatar larsrh avatar lenalaupoly avatar moonglum avatar mteresa-jimenez avatar richardsto avatar se-etc avatar shoniko avatar snoack avatar snyk-bot avatar sophiiistika avatar timoteipalade avatar tstec-polypoly avatar victorjanin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.