Giter VIP home page Giter VIP logo

extension's Introduction

Dismoi - extension

Build Status

Dis moi means Tell me in πŸ‡«πŸ‡· French.

Dismoi is a web extension that allows anyone to post information directly on any web page you browse. If you follow an informer, his messages are displayed at the time you visit the pages he has commented on.

To lean more about the uses cases, visit the πŸ‡«πŸ‡· Dismoi website.

At the time of writing, information are stored in database and exposed via the Dismoi Backend.

Installation

You can find the latest tests version of Dismoi extension on the releases page.

For the latest production version of Dismoi extension visit the official addon page of you favorite browser:

Permissions

The Dismoi extension requires the following permissions :

  • activeTab The extension is able to follow your navigation on the active tab, when you browse to a new URL you may receive a new information.
  • storage The extension use the sync storage area to store and sync across browser instance the following informations :
    • prefs The contributions you dismissed, disliked, liked, read. Also if you accepted the πŸ‡«πŸ‡· Term of Service.
    • subscriptions Which informers you are following.
    • installationDetails The extension version, date of installation, date of last update.
    • user A generated unique identifier.
    • serviceMessage The last time you saw the service message, to avoid showing it up again.
  • matches: ['*://*/*'] To potentially notify you on any page you are visiting.

    In the near future we wan't to use the declarative content API, to avoid injecting Js everywhere and further protect your private life (see #275).

Development

  1. Clone the repository
git clone [email protected]:dis-moi/extension.git dismoi-extension
  1. Install yarn

https://classic.yarnpkg.com/en/docs/install

  1. Install dependencies
yarn

To start the profiles app in development run the following command

yarn start:profiles
  1. Create a copy of .env.development.example to .env.development and adjust the values.

Read further on environments.

  1. Start the extension
yarn start

Watch files changes (but do not reload the content script though)

  1. Open chrome://extensions/,
    • activate Developer mode
    • click Load unpacked
    • and load build/development/chromium folder

Chrom(e|ium) browser is recommend for development. see https://developer.chrome.com/extensions/getstarted#manifest

Contributing

You’re welcome to help!

For further reading, refer to the Dismoi contributing guidelines.

Test

# test everything
yarn test

For integration tests see dis-moi#289

Storybook

There is a Storybook for Dismoi components design, exploration, testing and documentation. It's hot reloaded. Storybook may be run with the following command:

yarn storybook

It also possible to build a static version, the one you can see here : https://storybook.lmem.net.

You can do this with:

yarn build-storybook

It is automatically deployed to https://storybook.lmem.net on every develop branch update.

Links

LICENSE

GNU AGPL V3

Copyright (C) 2016-2020 INSITU SAS

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU AFFERO GENERAL PUBLIC LICENSE for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

extension's People

Contributors

lutangar avatar newick avatar bmenant avatar jalilarfaoui avatar zalmoxisus avatar davidbruant avatar bleucitron avatar nsteenv avatar jhen0409 avatar lilobase avatar mikaelletang avatar iamakulov avatar rt2zz 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.