All Projects → josteink → gmailjs-node-boilerplate

josteink / gmailjs-node-boilerplate

Licence: other
A minimal extension which demonstrates how to create a extension with Gmail.JS and NodeJS-based bundling.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gmailjs-node-boilerplate

Clojure Mail
A Clojure library for parsing, downloading and reading email from IMAP servers.
Stars: ✭ 172 (+265.96%)
Mutual labels:  gmail
tutorials
Configuration tutorials for a variety of mail user agents.
Stars: ✭ 24 (-48.94%)
Mutual labels:  gmail
KP.GmailClient
A Gmail client for C#
Stars: ✭ 17 (-63.83%)
Mutual labels:  gmail
Forwardemail.net
The best free email forwarding for custom domains (Web Server)
Stars: ✭ 211 (+348.94%)
Mutual labels:  gmail
Gmail-Clone
Gmail Clone using flutter
Stars: ✭ 82 (+74.47%)
Mutual labels:  gmail
GmailBruterV2
Simple tool written in python3 to perform limited brute-force attacks on gmail accounts.
Stars: ✭ 264 (+461.7%)
Mutual labels:  gmail
Elasticsearch Gmail
Index your Gmail Inbox with Elasticsearch
Stars: ✭ 1,964 (+4078.72%)
Mutual labels:  gmail
Gmail-Clone
A Gmail Clone which built with ReactJS and Redux. You can sign in with your Google Account, compose a new e-mail and send realtime emails to the project.
Stars: ✭ 48 (+2.13%)
Mutual labels:  gmail
inbox-notifier
Gmail notifications instantly in the Windows taskbar
Stars: ✭ 55 (+17.02%)
Mutual labels:  gmail
MBOX
Check your Gmail on linux via TERMINAL!
Stars: ✭ 13 (-72.34%)
Mutual labels:  gmail
Hackers Tool Kit
Its a framework filled with alot of options and hacking tools you use directly in the script from brute forcing to payload making im still adding more stuff i now have another tool out called htkl-lite its hackers-tool-kit just not as big and messy to see updates check on my instagram @tuf_unkn0wn or if there are any problems message me on instagram
Stars: ✭ 211 (+348.94%)
Mutual labels:  gmail
code
Google Apps Script - Code Snippets 👩🏻‍💻
Stars: ✭ 108 (+129.79%)
Mutual labels:  gmail
shifting
A privacy-focused list of alternatives to mainstream services to help the competition.
Stars: ✭ 31 (-34.04%)
Mutual labels:  gmail
Wmail
The missing desktop client for Gmail & Google Inbox
Stars: ✭ 2,093 (+4353.19%)
Mutual labels:  gmail
enmasse
📫 enmasse – Templated emails for GMail.
Stars: ✭ 23 (-51.06%)
Mutual labels:  gmail
Mail Notifr
Mail Notifr - Gmail Notifier for macOS
Stars: ✭ 172 (+265.96%)
Mutual labels:  gmail
CubeMail
CubeMail is a webmail client built using React and Chakra UI, It runs in the browser and uses the Gmail's public Javascript API.
Stars: ✭ 25 (-46.81%)
Mutual labels:  gmail
mailto
💌 ⚡️ The mailto encoder
Stars: ✭ 157 (+234.04%)
Mutual labels:  gmail
polybar-gmail
A Polybar module to show unread messages from Gmail
Stars: ✭ 76 (+61.7%)
Mutual labels:  gmail
TSWorkflow
G Suite workflow automation highlighted in my presentation given at SheetsCon-2020 - "Automation with Apps Script"
Stars: ✭ 28 (-40.43%)
Mutual labels:  gmail

GmailJS Node boilerplate

Node.js CI

This repo contains sample code to get a WebExtensions-based browser-extension using the gmail.js library.

Usage

First get the code and build it:

# get code
git clone https://github.com/josteink/gmailjs-node-boilerplate/

# get deps and build
cd gmailjs-node-boilerplate
npm install
# ensure you're running latest version!
npm update
npm run build

Now ensure the code loads and works:

  • Load the folder containing the extension (manifest.json) in your browser.
  • Load mail.google.com in your browser and open the developer console.

You should be greeted by a message saying the following

Hello, <you>. This is your extension talking!

If that works, you should now be ready to customize the extension-code. Do this by editing extension.js and rerunning npm run build.

You can also interact with a instance of Gmail.js ready for use. gmail should already be exposed in the developer console as a global variable.

You can use this to get familiar with the API.

Cheers!

Disclaimer

This project first and foremost about learning. It is NOT set up or configured as one would typically create a production WebExtension, and there are several things which can be changed or improved in how things are built and packaged.

This is an intentional choice.

The aim for this project is not to have a ready-to-use production setup with loads of complex dependencies and tool chain specific configurations.

Instead this project aims to demonstrate the absolutely simplest way possible one can embed Gmail.js in one's own extension, without introducing any other needless or complicating factors. Thus making it easier to adapt into your own projects and toolchains you already know well.

It's also meant as a simple way to test the gmail.js API and capabilities without having to setup anything of your own first.

Lastly it's also a simple playground where bug-reports can easily be reproduced or verified.

None of these goals aligns particularly well with having a pre-made, production-ready, size-optimized, security-hardened setup. And that's perfectly ok, especially for learning.

Regarding WebExtension Manifest versions

Gmail.JS and this boilerplate repo was originally developed when WebExtension Manifest V2 were in place. Thanks to the help of @tomer-regev this boilerplate repo now uses Manifest V3 instead.

If you for whatever reason still want to use the V2 code, check out the code back at ManifestV2-tag, which has been maintained for historical reasons.

Either way, Gmail.JS itself should work fine under both versions with no change required in your extension-code, unless your extension itself has code which needs to be migrated.

For more advice about upgrades, see the Chrome documentation.

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].