Skip to content

Browser extension to generate a QR-code from the page address

License

Notifications You must be signed in to change notification settings

atomspace/qr-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qr-extension

qr-extension is a browser extension to generate a QR-code from the page address. There are to ways,how to create qr-code: Page action and context menu. Click on the page action means, that you want to create qr from page URL. If you do it using context menu, you can make qr from text/link/image.

Initial installation

To install and compile project successfully, you must be sure, that Node.js installed on your PC. Than make "qr-extension" branch, where you will on project on your PC.

Running extension locally in development mode

After installing project, you must enter "npm i" in the terminal of your IDE where you develop project to install all required npm packages. Our project uses ESLint, which helps us to eliminate ignorant code, and we advise not to disable it.

Required packages

Package Version
jquery ^3.3.1
qr-encode 0.3.0
qrcode ^1.2.0
@atomspace/eslint ~2.1.1
@atomspace/webextension ~0.2.2
neutrino ~8.2.3

Assembly production version

For compiling project, we use Neutrino. Neutrino starts, as you will write certain commands, but we make two aliases, which will simplify work with neutrino:

"npm start" - provides to compile trial testing version.

"npm build" - provides to compile prodction version. It differ from "npm start" in a way, that if you will enter this commands with warnings, it won't let you to do that and it will throw exeption.

Both commands create folder "build" in your project - this is your ready extension. Next step - integration with browsers

Integration with browsers

Integration with each browser looks about the same, but can differ:

Opera

  1. Press keyboard shotrcut Ctrl+Shift+E or "Opera home panel >> Extensions >> Extensions" to open page with your extensions.
  2. Push folder with extension to the window with extensions in opera browser.
  3. Restart Opera browser.

After restart you can see an qr-extension icon alt text on page action of Opera browser.

Downloads

About

Browser extension to generate a QR-code from the page address

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •