Giter VIP home page Giter VIP logo

profile_chrome_extension's Introduction

Profile Chrome Extension

Are you someone who is active on multiple social media platforms๐Ÿ“ฑ?

Well if the answer is Yes๐Ÿ’ƒ,your Bookmarks Bar must be cluttered with them?

Want to clean it up a bit?๐Ÿงน But what about those one-click solutions you had? Can you preserve them?

Definitely you can with your custom chrome extension ๐Ÿ’ป.

Wondering who is gonna build that classy thing for you?๐Ÿค”๐Ÿค” Look no further. You are covered!

Lets see what we have here ๐Ÿ‘€:

Want it for yourself? Here you go

  • Clone this repository โฌ

  • Move inside ๐Ÿ‘‰ the repo

    • Open the Terminal ๐Ÿ‘ฉโ€๐Ÿ’ป
    • and type cd profile_chrome_extension
  • Lets start with the assets you need to modify:

    • You need an icon (mostly your name's initial's in some fancy font)
    • Resize it to 128x128 and 19x19 px respectively(you can experiment with other sizes too, these are what worked for me). You can use ResizeImage for this
    • Save them as your_name_profile_icon_small.png and your_name_profile_icon_big.png inside the assets folder(YOu can also use other extensions like .jpg)
    • Now take your favorite profile picture and resize it to 50X50 px (Again, this worked for me. You are welcome to experiment with other sizes)
    • Save it as your_name_picture.png inside the assets folder
  • Cool!, you lets have a look at the most crucial file of our Chrome Extension: manifest_json

  • Open it in your favourite IDE. (I always prefer VS Code )

  • By default, it looks like this:

{
  "manifest_version": 2,
  "name": "My Profile Hub",
  "description": "All my profiles under the same roof",
  "version": "0.0.2",
  "icons": { "128": "assets/smaranjit_ghose_profile_icon_big.png" },
  "browser_action": {
    "default_icon": "smaranjit_ghose_profile_icon_small.png",
    "default_popup": "popup.html"
  },
  "permissions": ["activeTab"]
}

  • Don't worry! We are in this together. Let's do this one step at a time.
    • First Update the name you want to give to your chrome extension
    "name": "Your_Profile_Extension_Name",
    • Now,give a small description about it
      "description": "All my profiles under the same roof",
    • (Optional)Decide the version you want to start with. I prefer starting with 0.0.1
      "version": "version_number",
    • Now, Lets give it your icon
      "icons": { "128": "assets/your_name_profile_icon_big.png" },
    • And finally the default icon(the 19x19 one)
    "default_icon": "assets/your_name_profile_icon_small.png",
  • Save โš“ the changes to the File
  • That was easy right?. Now, lets see the basic web dev mantra behind our extension

  • Open the popup.html in your favourite IDE (Again,I prefer VS Code )
    • Change the title:
       <title>Your_Profile_Extension_Name</title>
    • (Optional)If you have some specific font in mind. You can change it here: [Here we are using Google Fonts]
      <link
        href="https://fonts.googleapis.com/css?family=your+font+name"
        .
        .
      />
    • Now scroll down to the <body> tag
    • Upate your profile picture and name of your chrome extension (A small Tip:Don't make it too long)
       <img class="logo-icon" src="assets/your_profile_icon.png" />Your_Chrome_Extension_Name
    • Now update with a one-line description or perhaps a note for yourself
       <p>All my profiles under the same roof</p>
    • Finally, update your social media profile links:(Delete the given links if you don't use any of the social media platforms mentioned)
      <a href="http://your_website_link/" target="_blank">
      <i class="fa fa-laptop" style="color:#122cc4 "></i>
      </a>
      <a href="https://www.linkedin.com/in/your_linkedin_username" target="_blank">
      <i class="fa fa-linkedin" style="#3c797b "></i>
      </a>
      <a href="https://github.com/your_github_username" target="_blank">
      <i class="fa fa-github" style="color:#b5651d "></i>
      </a>
      <a href="https://medium.com/@your_medium_username" target="_blank">
      <i class="fa fa-medium" style="color:#000000"></i>
      </a>
       <a href="https://twitter.com/your_twitter_username" target="_blank">
       <i class="fa fa-twitter" style="color:#0ed1eb "></i>
       </a>
  • Save โš“ the changes to the File
  • Damn! That was a lot of changes. Now let's use our chrome extension.

  • Open Google Chrome

  • In the Search Bar, type chrome://extensions

  • Enable Developer Mode option (If not already done)

  • Click on Load Unpacked

  • Navigate to the profile_chrome_extension directory and select it

  • Baam!๐Ÿ’ฃ you just made your own Chrome Extension๐Ÿ’ป for handling your social media profiles

Want to take this a step further? And share it with the world!

  • Compress all the content of the profile_chrome_extension into a .zip file ๐Ÿ“ฆ
  • Go to Chrome Webstore. Please carefully read the instructons
  • Make sure you have a snapshot๐Ÿ“ธ of your Chrome extension working in 1280x800 px saved
  • Now click on the Chrome Developer Dashboard
  • Log in with your Google Account.
  • Accept the terms
  • Pay the one-time registration fees๐Ÿ’ฐ . (The last time I checked it was around 5$)
  • Click on Add New
  • Locate your compressed chrome extension ๐Ÿ“ฆin your system and select it
  • Select your snapshot ๐Ÿ“ท
  • Click Publish

Boom!๐Ÿ’ฅ You are a Google Chrome Extension Developer now and just got your first extension published (FYI:Give it some hours to be done)

Always grateful ๐Ÿ™ to Professor Daniel Shiffman for his tutorials and walkthroughs

License ๐Ÿ“œ

MIT License

Crafted with โค by Smaranjit Ghose

built with love smile please


profile_chrome_extension's People

Contributors

smaranjitghose avatar aman-codes avatar imgbotapp avatar

Stargazers

Rajkumar avatar m.m.aal avatar Brian Roach avatar  avatar Saswat Nayak avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

profile_chrome_extension's Issues

Improvement for v0.0.2

Task 1 : Add more options for profiles:

  • Portfolio
  • LinkedIn
  • GitHub
  • Twitter
  • Medium
  • Facebook
  • Instagram
  • Kaggle
  • Gmail
  • Custom Mail (Default mail)
  • Leetcode

Assets

  • Design custom icons
  • Custom Design Favicon(s) (Default: SG . Any design works too! Do not use online images)

CSS

  • Separate the CSS
  • Try to put some transitions/effects
  • Divide the page(extension) into two sets of 4 profiles

Font

  • Improve the font
  • Use an appropriate text animation

Click and Edit

  • Have an edit button
  • Use Javascript(popup.js) to enable updating,deleting,adding profile options

Update the documentation

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.