Skip to content

Commit 8eb9a85

Browse files
authored
Merge pull request #8 from lokesh-coder/develop
feat: improve performance, add pattern/image setter, manage blobs, and dark theme
2 parents 4c3a303 + eeff8e3 commit 8eb9a85

File tree

131 files changed

+12282
-6896
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+12282
-6896
lines changed

.babelrc

Lines changed: 0 additions & 14 deletions
This file was deleted.

.eslintrc.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,17 @@ module.exports = {
33
browser: true,
44
es6: true,
55
},
6-
extends: [
7-
'plugin:react/recommended',
8-
'airbnb',
9-
],
6+
extends: ['plugin:react/recommended', 'airbnb', 'react-app'],
107
settings: {
11-
"import/resolver": {
8+
'import/resolver': {
129
node: {
13-
extensions: ['.js', '.jsx', '.scss', '.css'],
14-
moduleDirectory: ['node_modules', 'src/'],
10+
extensions: ['.js', '.jsx', '.scss', '.css'],
11+
moduleDirectory: ['node_modules', 'src/'],
1512
},
1613
},
1714
},
1815
globals: {
16+
__PATH_PREFIX__: true,
1917
Atomics: 'readonly',
2018
SharedArrayBuffer: 'readonly',
2119
},
@@ -26,9 +24,11 @@ module.exports = {
2624
ecmaVersion: 2018,
2725
sourceType: 'module',
2826
},
29-
plugins: [
30-
'react',
31-
],
27+
plugins: ['react'],
3228
rules: {
29+
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
30+
'react/prop-types': [0],
31+
'react/jsx-props-no-spreading': [0],
32+
'object-curly-newline': 'off',
3333
},
3434
};

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ about: Create a report to help us improve
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

1312
**To Reproduce**
1413
Steps to reproduce the behavior:
14+
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
@@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
2424
If applicable, add screenshots to help explain your problem.
2525

2626
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
27+
28+
- OS: [e.g. iOS]
29+
- Browser [e.g. chrome, safari]
30+
- Version [e.g. 22]
3031

3132
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
33+
34+
- Device: [e.g. iPhone6]
35+
- OS: [e.g. iOS8.1]
36+
- Browser [e.g. stock browser, safari]
37+
- Version [e.g. 22]
3638

3739
**Additional context**
3840
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Suggest an idea for this project
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.gitignore

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,74 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
25+
26+
# Bower dependency directory (https://bower.io/)
27+
bower_components
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (http://nodejs.org/api/addons.html)
33+
build/Release
34+
35+
# Dependency directories
136
node_modules/
37+
jspm_packages/
38+
39+
# Typescript v1 declaration files
40+
typings/
41+
42+
# Optional npm cache directory
43+
.npm
44+
45+
# Optional eslint cache
46+
.eslintcache
47+
48+
# Optional REPL history
49+
.node_repl_history
50+
51+
# Output of 'npm pack'
52+
*.tgz
53+
54+
# dotenv environment variable files
55+
.env*
56+
57+
# gatsby files
58+
.cache/
59+
public
60+
61+
# Mac files
62+
.DS_Store
63+
64+
# Yarn
65+
yarn-error.log
66+
.pnp/
67+
.pnp.js
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
# app level
272
build/
373
.gitignore
474
coverage/

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.cache
2+
package.json
3+
package-lock.json
4+
public

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all"
4+
}

.todo

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
✔ add pwa support @done
3+
✔ darkmode @done
4+
✔ animation @done
5+
✔ save settings @done
6+
✘ shortcuts @cancelled
7+
✘ loop @cancelled
8+
✔ clip image @done
9+
✔ save blobs @done
10+
✔ view saved blobs @done
11+
✔ url id @done
12+
✘ reset settigs @cancelled
13+
✔ click logo to reoad to home @done
14+
✔ complexity change no animation @done
15+
✔ Sound from Zapsplat.com @done
16+
✔ resize images @done
17+
✔ add favicon @done
18+
✔ update seo @done
19+
✔ default image @done
20+
✔ image clip fix @done
21+
22+
23+
----
24+
25+
Features:
26+
✔ Dark theme @done
27+
✔ Faster initial load @done
28+
✔ Image clipping @done
29+
✔ Patterns view @done
30+
✔ Save and manage blobs locally @done
31+
✔ tiny sound @done
32+
✔ offline support @done
33+
✔ static url for sharing @done

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,27 @@ Run unit tests
1515

1616
```
1717
# run test cases
18-
npm run test
18+
npm run test
1919
2020
# watch mode
2121
2222
npm run test:watch
2323
```
2424

2525
### Linting
26+
2627
```
2728
npm run lint
2829
```
30+
2931
It's also a good idea to add an eslint plugin in your editor.
3032

3133
To fix lint errors from the command line:
34+
3235
```
3336
npm run lint
3437
```
3538

3639
## Submitting Pull Requests
40+
3741
This project follows [GitHub's standard forking model.](https://guides.github.com/activities/forking/). Please fork the project to submit pull requests.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 udaypydi
3+
Copyright (c) 2021 Lokesh Rajendran
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

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<br>
44

55
<p align="center">
6-
<img src="https://user-images.githubusercontent.com/1754676/82777559-18537280-9e6c-11ea-9257-0a24645c91b0.png" alt="Blobs"></p>
6+
<img src="https://user-images.githubusercontent.com/1754676/111070745-0c1ecb80-84f9-11eb-9128-fff8b2ab2b40.png" alt="Blobs"></p>
77

88
</h3>
99

@@ -18,28 +18,24 @@
1818
</pre>
1919
</div>
2020

21-
### Preview
22-
23-
![preview](https://user-images.githubusercontent.com/1754676/84493278-20f9d480-acc5-11ea-8667-ee0df8f35442.png)
24-
25-
![preview2](https://user-images.githubusercontent.com/1754676/84492711-3a4e5100-acc4-11ea-942c-37f9cd802fcf.png)
26-
27-
### Blobs for flutter
28-
29-
&nbsp;
30-
31-
<div class="highlight highlight-source-shell">
32-
<pre>
33-
<div align="center"><strong >Blobs for flutter</strong></div>
34-
<div align="center"><a align="center" href="https://pub.dev/packages/blobs">flutter_blobs</a></div>
35-
</pre>
36-
</div>
37-
38-
<p float="left">
39-
<img width="200" alt="style_custom_color" src="https://user-images.githubusercontent.com/1754676/82777008-6ebfb180-9e6a-11ea-9b85-fcac09cfca38.gif">
40-
<img width="200" alt="style_gradient" src="https://user-images.githubusercontent.com/1754676/82777164-f1e10780-9e6a-11ea-8d02-89217cd6e582.png">
41-
<img width="200" alt="blobs_with_child" src="https://user-images.githubusercontent.com/1754676/82777157-ef7ead80-9e6a-11ea-9b74-6224cf33d739.png">
42-
</p>
21+
<p align="center">
22+
<img src="https://user-images.githubusercontent.com/1754676/111070973-0f668700-84fa-11eb-9457-4d6282e90eec.png" alt="Social preview"></p>
23+
24+
25+
26+
### Features
27+
- Choose any solid colors
28+
- Set gradient colors
29+
- Use Patterns
30+
- Clip Image
31+
- Outlined blob
32+
- SVG Code - view/copy/download
33+
- Flutter blob code
34+
- Save and view blobs
35+
- Tiny blob change sound
36+
- PWA - Offline support
37+
- Custom sharable URL
38+
- Dark theme
4339

4440
### Development
4541

config/assetsMock.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

config/paths.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)