Coder Social home page Coder Social logo

octolenses's Introduction

OctoLenses Browser Extension

Watch your repos and discover awesome things directly from your New Tab page.

As a developer, you shouldn't have to worry about that and instead focus on what is fundamental: your code

This extension allows you to create very precise filters that will nicely lay out all the information you need in order to be as productive as possible.

Installation

Simply download it on your favorite browser's extensions store.

It is available on both Google Chrome and Firefox.

By default, it overrides your browser's default "New Tab" page, but this can be disabled so that it only opens when you click on the extension's icon.

You can access this setting in the settings modal, which can be opened by simply clicking on the little cog icon on the top right hand corner.

Usage example

At my current job, we have quite a lovely system where each Pull Request is assigned a specific label depending on whether it's a WIP, under review or if it has been successfully (or not) reviewed.

I built this tool for the very purpose of keeping track of this, but this is not all it can do. It can do much more, such as:

  • Helping you contribute to Open Source by presenting you with issues that are labelled Good first issue or Help wanted
  • Helping you stay up to date with your favorite framework changes
  • Allowing you to discover trendy repositories in your favorite language (similar to what GitHunt does)

Dark theme

Because being flashed bright lights in the eyes at night is the worst thing ever, I even included a pretty cool dark mode.

Extensively configurable

There are a lot of settings you can tweak, to adapt the experience of the extension to your needs.

Permissions asked

OctoLenses only asks for the tabs permission, as it needs to be able to:

  • Detect when a tab is opened so it can eventually override it
  • Create a new tab when the extension's icon is clicked.

Development setup

You need a few tools before being able to build the extension:

  • yarn, a JS package manager (on Mac: brew install yarn)
  • jq, a JSON CLI utility (on Mac: brew install jq).
  • sed, should be available on any Unix system.
  • zip, should be available on any Unix system.

Then you can follow this process to develop/build the extension:

# Clone the repository
git clone [email protected]:rgehan/octolenses.git && \
cd octolenses

# Install the dependencies
yarn

# Run the development environment...
yarn start

# ...or build the extension
yarn build

The built extension (located in the dist/ folder), can then be loaded inside your browser as an unpacked extension, provided you're in developer mode.

https://github.com/rgehan/octolenses

Testing

The extension is covered by unit tests, and integration tests.

Here is how you can run them:

# Run the unit tests (w/ Jest)
yarn test

# Open the integration tests runner (w/ Cypress)
CYPRESS_GITHUB_TOKEN=<github token> yarn e2e

Releasing

# Update changelog, increment version number & create release commit and tag
yarn release patch|minor|major

# Build the release .zip archive
yarn build

The archive can then be uploaded on the Chrome Store dashboard.

Contributing

  1. Fork it (https://github.com/rgehan/octolenses/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

MIT © Renan GEHAN

octolenses's People

Contributors

aprex avatar btimo avatar cptjacky avatar dependabot-preview[bot] avatar dependabot[bot] avatar evansmurithi avatar filips123 avatar renovate-bot avatar rgehan avatar timothepearce 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.