Skip to content

Commit 3c1e746

Browse files
Akhilesh ThiteAkhilesh Thite
Akhilesh Thite
authored and
Akhilesh Thite
committed
Upgrade to webpack
1 parent 72be811 commit 3c1e746

25 files changed

+3736
-728
lines changed

.DS_Store

6 KB
Binary file not shown.

.github/CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
akhileshthite@hotmail.com.
63+
info@buidltools.com.
6464
All complaints will be reviewed and investigated promptly and fairly.
6565

6666
All community leaders are obligated to respect the privacy and security of the

.github/CONTRIBUTING.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Contributing
2+
3+
> Contributions are always welcome!
4+
5+
## Issues
6+
7+
* Do not hesitate and [create a new Issue](https://github.com/buidltools/dscan/issues/new/choose) if you see a bug, room for improvement or simply have a question.
8+
* Feel free to work on issues that are [not assigned yet](https://github.com/buidltools/dscan/issues?utf8=✓&q=is%3Aissue+is%3Aopen+no%3Aassignee).
9+
* Do not create a pull request without an issue before discussing the problem.
10+
11+
## Pull Requests
12+
13+
* Make sure your PR comes with its own tests.
14+
* Always be descriptive in your PR -> add screenshots, explain in detail what improvements you did, or bugs you solved.
15+
16+
## Commits
17+
18+
* Learn more about conventional commits [here](https://www.conventionalcommits.org/en/v1.0.0/).
19+
20+
## Code Style
21+
22+
* Make sure to commit in the same style that we are committing until now on the project.
23+
* Run `prettier` in each code file.
24+
25+
## Questions
26+
* Please reach out to us at [email protected].
27+
28+
*Hope to see your username on our list of [contributors](https://github.com/buidltools/dscan/graphs/contributors) 🎉*

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
buidl
3+
.env

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Akhilesh Thite
3+
Copyright (c) 2021-2022 BUIDL Tools
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+42-14
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,59 @@
11
<p align="center">
2-
<img align="center" src="/static/assets/logo.png" width="150" height"400"></img>
2+
<img align="center" src="/src/img/logo.png" width="150" height="150"></img>
33
</p>
44

55
<h1 align="center">DScan</h1>
66

77
<div align="center">
88
<img src="https://img.shields.io/badge/extension-DScan-2C80C1" alt="Platform" />
99
<img src="https://img.shields.io/github/v/release/akhileshthite/dscan?color=1FC71F" alt="Release version" />
10-
<img src="https://img.shields.io/chrome-web-store/d/idpfgkgogjjgklefnkjdpghkifbjenap?label=active users" alt="Active users">
10+
<img src="https://img.shields.io/badge/contributions-welcome-orange.svg?" alt="Contributions welcome">
1111
</div><br>
1212

13-
DScan allows you to quickly upload images, audio, video, and any type of files (including NFTs and static websites) to [IPFS](https://ipfs.io/) and get a QR code with IPFS links. Later you can share the QR code or [Infura](https://infura.io/) link with everyone for easy and decentralized file sharing.
14-
For more information you can read this [blog post](https://dev.to/akhileshthite/dscan-decentralized-qr-code-generator-use-web3-for-file-sharing-2lp8). If you have any queries, then follow this [discussion thread](https://github.com/filecoin-project/community/discussions/410).
13+
DScan allows you to quickly upload images, audio, video, and any type of files (including NFTs and static websites) to [IPFS](https://ipfs.io/) and get a decentralized QR code with IPFS links. Later you can share the QR code or hosted [Infura](https://infura.io/) link with everyone for easy and decentralized file sharing.<br>
14+
For more information, you can read this [blog post](https://dev.to/akhileshthite/dscan-decentralized-qr-code-generator-use-web3-for-file-sharing-2lp8). If you have any queries, then follow this [discussion thread](https://github.com/filecoin-project/community/discussions/410).
1515

16-
### Add extension:
17-
* `Chromium browsers`: [Chrome web store](https://chrome.google.com/webstore/detail/dscan-decentralized-qr-co/idpfgkgogjjgklefnkjdpghkifbjenap)
16+
## Extension
17+
| <img src="https://unpkg.com/@browser-logos/chrome/chrome_16x16.png" width="16" height="16"> [Chrome](https://www.google.com/chrome/) \| <img src="https://unpkg.com/@browser-logos/brave/brave_16x16.png" width="16" height="16"> [Brave](https://brave.com/) \| <img src="https://unpkg.com/@browser-logos/opera/opera_16x16.png" width="16" height="16"> [Opera](https://www.opera.com/) \| <img src="https://unpkg.com/@browser-logos/edge/edge_16x16.png" width="16" height="16"> [Edge](https://www.microsoftedgeinsider.com/) |
18+
| ------------- |
19+
| [![Install from Chrome Store](https://ipfs.io/ipfs/QmU4Qm5YEKy5yHmdAgU2fD7PjZLgrYTUUbxTydqG2QK3TT)<br>![](https://img.shields.io/chrome-web-store/users/idpfgkgogjjgklefnkjdpghkifbjenap?label=Chrome%20Web%20Store%20users&style=social)](https://chrome.google.com/webstore/detail/dscan-decentralized-qr-co/idpfgkgogjjgklefnkjdpghkifbjenap) |
1820

19-
### Development setup:
2021

21-
* Download `extension.zip` from this github repository and extract it.
22+
## Development
23+
The extension's development code is placed in `/src` folder. manifest.json is in `/public` folder. For webpack settings, follow the `webpack.config.js` file.
2224

23-
* Select `Developer mode` in your browser extensions.
25+
1. Install dependencies.
2426

25-
* Select `Load unpacked extension` and open the extracted folder.
27+
```bash
28+
npm install
29+
```
2630

27-
### License
28-
DScan is licensed under the [MIT](https://github.com/AkhileshThite/dscan/blob/main/LICENSE) License.
31+
2. After development of the extension, run the following command. This will create a `production` build.
32+
33+
```bash
34+
npm run build
35+
```
36+
37+
3. Now, the `buidl` will appear in the root directory.
38+
39+
4. Select `Developer mode` in your browser extensions tab.
40+
41+
5. Select `Load unpacked extension` and open the `buidl` folder.
42+
43+
*After every change, run `npm run build` command and it will update `buidl` folder automatically, so you don't have to manualy upload the folder after every change.*
44+
45+
For more information, read the [Webpack docs](https://webpack.js.org/concepts/) and the [Chrome Extension docs](https://developer.chrome.com/docs/extensions/mv3/getstarted/).
46+
47+
## Contribute
48+
* Thanks for your interest in contributing to DScan. There are many ways you can contribute to the project.
49+
* To start, take a few minutes to read the [contribution guide](https://github.com/buidltools/dscan/blob/main/.github/CONTRIBUTING.md).
50+
* We look forward to your [pull requests](https://github.com/buidltools/dscan/pulls) and / or involvement in our [issues page](https://github.com/buidltools/dscan/issues).
51+
52+
53+
## License
54+
DScan is licensed under the [MIT License](https://github.com/buidltools/dscan/blob/main/LICENSE).
55+
56+
57+
<hr>
58+
Don't forget to leave a star ⭐️ ~ <a href="https://twitter.com/buidltools" target="_blank"><img src="https://img.shields.io/twitter/follow/buidltools?style=social" alt="twitter" /></a>
2959

30-
### Support
31-
Don't forget to leave a star ⭐️.

extension.zip

-44.3 KB
Binary file not shown.

manifest.json

-11
This file was deleted.

0 commit comments

Comments
 (0)