- Notifications
You must be signed in to change notification settings - Fork20
Just building a Chrome Extension with Create React App and TypeScript.
License
mmazzarolo/chrome-another-tab
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
An open source Chrome extension that shows your bookmarks when you open a new tab.
Built with Create React App and TypeScript.
Download Another Tab from the Chrome Web Store
I initially built this extension just for personal use... and for trying building a Chrome extension 🤷♂️, so for now it has just the features that I need...
That said, PRs are welcome!
Check the DEVLOG to see the history of the project.
- Shows your bookmarks in the new tab page
- Bookmarks filtering/search
- Keyboard navigation support
- Bookmark folders visibility toggle
- Themes support
- Drag & drop bookmark sorting
- React (using Create React App) and hooks
- TypeScript
- Styled-Components
- Redux, Redux-Saga and Typesafe-Actions
I already created a fewissues with some features that I feel like would be really welcomed addition, and I'm open to any other additional suggestion... especially if you already have an idea to implement it's UI/UX.
This is a standard Create React App, so you can easily start working on it by simply cloning the project and runningyarn to install all its dependencies.
To develop the app locally you can runyarn start, I already included some fake bookmarks to simulate the production behaviour of the extension.
This app uses TypeScript, React Hooks, Redux and Styled-Components, so you might need to be confortable with these technologies to completely understand the codebase.
The app is still pretty simple, doesn't have too many components and most of the logic is just in the Chrome Bookmarks parsing and in the Redux sagas.
If you feel intimidated by the codebaseplease just open an issue/send a PR, I'm open to discussion and tips.
Also, if you're not confortable with hooks feel free to use class components.
I setup asemi-automated Chrome Web Store deployment using CircleCI.
It currently runs only when themaster branch receives a new push, but I still haven't automated the version number bumping (so I still have to do it manually).
It would be great making the publishing step manipulate themanifest.json so that it reflects thepackage.json version and/or a git tag.
The "live example" is just a customized version of the production build of the app deployed on GitHub Pages.If you check thegh-pages script in thepackage.json you'll see that I'm setting aREACT_APP_IS_LIVE_EXAMPLE environment variable before running the GitHub Pages deployment: this will allow the build to use the fake bookmarks instead of trying to get them from the Chrome API (like if it was an extension running in the browser).
If the app starts getting contributions I'll gladly create a new ad-hoc organization for it, instead of keeping it in my personal profile.
About
Just building a Chrome Extension with Create React App and TypeScript.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.
