All Projects → Acesmndr → chrome-extension-boilerplate-riot

Acesmndr / chrome-extension-boilerplate-riot

Licence: MIT license
A boilerplate chrome extension (Single Page Application) using RIOT.js

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
Riot
6 projects
HTML
75241 projects

Projects that are alternatives of or similar to chrome-extension-boilerplate-riot

riot realworld example app
Exemplary real world application built with Riot.js v6 🖐👍
Stars: ✭ 16 (-20%)
Mutual labels:  riot, riotjs
Pinetime Apps
Firmware for the PineTime based on RIOT, NimBLE and LittleVGL
Stars: ✭ 68 (+240%)
Mutual labels:  riot
Scylla
An Elm-based front-end for Matrix.
Stars: ✭ 24 (+20%)
Mutual labels:  riot
Riot
Go Open Source, Distributed, Simple and efficient Search Engine; Warning: This is V1 and beta version, because of big memory consume, and the V2 will be rewrite all code.
Stars: ✭ 6,025 (+30025%)
Mutual labels:  riot
Nest
🍭 Yet another UI framework for Web, built with riot
Stars: ✭ 59 (+195%)
Mutual labels:  riot
Element Web
element.io docker image generator
Stars: ✭ 21 (+5%)
Mutual labels:  riot
matrix-tag-manager
A web interface for supporting power users and their Matrix room tags.
Stars: ✭ 22 (+10%)
Mutual labels:  riot
Riot Cheatsheet
🚩 Riot at a glance
Stars: ✭ 159 (+695%)
Mutual labels:  riot
Octoslack
OctoPrint plugin for Slack, Mattermost, Pushbullet, Pushover, Rocket.Chat, Discord, Riot/Matrix, & Microsoft Teams
Stars: ✭ 50 (+150%)
Mutual labels:  riot
Bosket
Collection of tree view components for front-end frameworks. 🌳
Stars: ✭ 457 (+2185%)
Mutual labels:  riot
Riot
RIOT - The friendly OS for IoT
Stars: ✭ 4,029 (+20045%)
Mutual labels:  riot
Matrix Dimension
An open source integration manager for matrix clients, like Element.
Stars: ✭ 277 (+1285%)
Mutual labels:  riot
Viron
☕️ Automated Design-based Management Console.
Stars: ✭ 925 (+4525%)
Mutual labels:  riot
whitefield
Whitefield provides a simulation environment for wireless sensor networks by combining RF simulation provided by NS3 and network stack provided by popular IoT OSes such as Contiki/RIOT/OpenThread.
Stars: ✭ 70 (+250%)
Mutual labels:  riot
Element Rpm
Providing the Element messaging desktop client packaged for the Fedora, Red Hat(IBM), and OpenSUSE families of linux desktop operating systems.
Stars: ✭ 73 (+265%)
Mutual labels:  riot
Matrix Appservice Discord
A bridge between Matrix and Discord.
Stars: ✭ 383 (+1815%)
Mutual labels:  riot
Docker Registry Ui
The simplest and most complete UI for your private registry
Stars: ✭ 756 (+3680%)
Mutual labels:  riot
Riot Api Java
Riot Games API Java Library
Stars: ✭ 184 (+820%)
Mutual labels:  riot
Kayn
superagent-inspired Node.js lib (w/ **some** TypeScript support) for accessing Riot's League of Legend's API (discord: cnguy#3614)
Stars: ✭ 122 (+510%)
Mutual labels:  riot
Matrix Puppet Hangouts
Matrix bridge for Google Hangouts
Stars: ✭ 42 (+110%)
Mutual labels:  riot

Riot Chrome Extension Boilerplate

Build Status Maintainability Test Coverage license

A boilerplate for a single page extension/application using Riot.js framework v4 as MVP and webpack as the module bundler. It is created to solve all the problems that we face while building a chrome extension.

Features

  • Single page application with a lightweight framework
  • A simple working todo app is included
  • All asynchronous tasks in the UI are delegated to the background so that they aren't lost when the popup is closed
  • Communication between background and popup has been simplified

Screenshots

Main Page Todo App

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

Installing

To get the extension built the following simple steps need to be followed. Please make sure that Node and Yarn are installed in your machine. If yarn is not installed then install it by using the below command:

macOS

brew install yarn

Windows

  1. Download installer from https://yarnpkg.com/lang/en/docs/install/
  2. Install yarn using installer
  3. Restart command line if necessary

Clone this repository

git clone [email protected]:acesmndr/riot-chrome-extension-boilerplate.git
cd riot-chrome-extension-boilerplate

then install the project dependencies

yarn install

Building the extension

It supports cross platform development.

yarn build:[development/staging/production]
// eg: yarn build:development

It builds the extension files in the folder for the environment you passed as well as builds the crx extension in the build folder. In development builds webpack keeps watching over the files and rebuilds if any changes are made.

Loading the extension

There are two ways you can achieve this. Either you can load the unpacked extension or load the packed crx extension.

  • Loading unpacked Extension
    • Go to chrome://extensions page
    • Click load unpacked extension
    • Browse to the desired environment[staging/stagingnxt/production] folder
  • Loading crx file
    • Go to chrome://extensions page
    • Drag and drop the extension crx file from the build folder

Maintaining changelog

A changelog has been maintained to keep track of all the changes made in the extension along with semantic versioning

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Upgrading the extension

Run the following command to check the current version of the extension

yarn version:show

Then to upgrade the version along with a changelog run the following command

CHANGELOG="Changes made in the extension" VERSION="5.0.0" yarn version:upgrade

Built With

Note

This uses v4 version of Riot.js which is a complete rewrite over Riot v3. If you prefer to use Riot.js v3 you could use v3 version of chrome-extension-boilerplate-riot

Maintained by

Special Thanks

  • Tamas G. Toth for updating the riot-jest-transformer to support registration of scss precompiler.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].