GithubHelp home page GithubHelp logo

fabian19941220-gmail-com / ccsearch-browser-extension Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 8.3 MB

Cross-Browser extension to search, filter and use images in the public domain and under Creative Commons licenses.

Home Page: https://opensource.creativecommons.org/ccsearch-browser-extension/

License: MIT License

JavaScript 62.63% CSS 14.57% HTML 22.80%

ccsearch-browser-extension's Introduction

CC Search Browser Extension

A Cross-Browser Extension which lets you search and filter content in the public domain and under Creative Commons licenses.

MIT License platforms prs welcome

Install

Firefox addon store Chrome web store Opera addon store

Features

Feature Firefox Chrome Opera
Search and filter CC Licensed content. Yes Yes Yes
One click attribution. Yes Yes Yes
Download images (and attribution). Yes Yes Yes
Bookmark images. Yes Yes Yes
Export and import bookmarks. Yes Yes Yes
Sync your custom setting and bookmarks across devices. Yes Yes No
Options-UI for custom settings. Yes Yes Yes
Dark Mode. Yes Yes Yes

Installation from source

You can install the extension directly from the source. Follow the following steps:

  1. Clone the repo: git clone https://github.com/creativecommons/ccsearch-browser-extension.git.

  2. Run: npm install.

  3. Run: npm run dev. This would compile SASS to CSS and bundle JS. The compiled version will be in dist folder.

  4. Load the extension to the browser:

    • Mozilla Firefox
      • Navigate to about:debugging.
      • Click on "Load Temporary Add-on" button.
      • From the file explorer, choose ccsearch-browser-extension/dist/firefox/manifest.json.
    • Google Chrome
      • Navigate to chrome://extensions.
      • Click on "Load Unpacked" button (make sure you have enabled the Developer mode).
      • From the file explorer, choose ccsearch-browser-extension/dist/chrome.
    • Opera
      • Navigate to about://extensions.
      • Click on "Load Unpacked" button (make sure you have enabled the Developer mode).
      • From the file explorer, choose ccsearch-browser-extension/dist/opera.

Debugging in Development Mode

  • Mozilla Firefox
    • Navigate to about:debugging and from sidebar select This Firefox.
    • Click on "Load Temporary Add-on" button.

    • From the file explorer, choose ccsearch-browser-extension/dist/firefox/manifest.json.
    • You will be now able to see CC search browser extension. Now click on the Inspect button.

    • A new tab will open with firefox debugger. Now first, click on the three dots and select "Disable Popup Auto-Hide".

    • Now click on the browser extension from top right corner and the DOM will be loaded with the content to debug.

  • Google Chrome
    • Navigate to chrome://extensions.
    • Make sure that Developer mode is toggled on.
    • Click on "Load Unpacked" button.

    • From the file explorer, choose ccsearch-browser-extension/dist/chrome.
    • Now the extension will be loaded. Click on the extension from the top right corner.
    • Right click in extension area and select "Inspect element".

    • Developer tool will now open loaded with the content to debug.

  • Opera
    • Navigate to about://extensions.
    • Make sure that Developer mode is toggled on.
    • Click on "Load Unpacked" button.

    • From the file explorer, choose ccsearch-browser-extension/dist/opera.
    • Now the extension will be loaded. Click on the extension from the top right corner.
    • Right click in extension area and select "Inspect element".

    • Dev tool will now open loaded with the content to debug.

Troubleshooting build failures

  1. If you get following error:
'TARGET' is not recognized as an internal or external command

then most likely webpack-cli is not installed on your dev machine.

  • Here are the few things you can try:
    • Try deleting the folder node_modules and reinstalling webpack-cli
  npm install --save-dev webpack-cli
  • if reinstalling node modules do not solve the issue then run following to install webpack-cli globally.
npm install -g webpack-cli

Contribution

Checkout CONTRIBUTING.md for general guidelines for contributing code to CC Open Source.

For contribution guidelines and development instructions specific to this particular project, please checkout INSTRUCTIONS.md.

License

See LICENSE.

ccsearch-browser-extension's People

Contributors

aldenstpage avatar amanr28 avatar arunhari333 avatar ashishdutta007 avatar bennetthanna avatar blackcipher101 avatar codingonhp avatar cristomathew avatar dantraztrev avatar dependabot[bot] avatar dhruvi16 avatar dhruvkb avatar efl7a avatar gauravahlawat81 avatar keshav2212 avatar kgodey avatar kss682 avatar makkoncept avatar manisacharya avatar maxslide avatar parth-paradkar avatar ritesh-pandey avatar rubenlorenzo avatar sharmaadityahq avatar sorielv avatar sp35 avatar techievivek avatar thegitone23 avatar zjael avatar

Watchers

 avatar  avatar

Forkers

mexicanoviva

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.