Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirPaulb committed Oct 26, 2023
1 parent 61e3289 commit 5756049
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@SamirPaul1:registry=https://npm.pkg.github.com
@samirpaulb:registry=https://npm.pkg.github.com
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ An online PDF file compression tool to reduce the size of a .pdf file. Python Fl
In the backend, using the ```PDFNetPython``` library that file gets reduced and saved to its final location. After download, the files are automatically deleted from the server after 1 hour. Technologies used in this project: ```Python3```, ```Flask```, ```C```, ```Shell```, ```Nix```, ```Replit```, ```Git```, ```HTML```, ```CSS```, ```JavaScript```.


- [Live Demo 🚀 ](https://filecompressor.samirpaul1.repl.co)
- [Live Demo 🚀 ](https://filecompressor.samirpaul.repl.co)

## Video:
https://user-images.githubusercontent.com/77569653/172896703-9e4998c1-40da-46ae-810e-780e47a391f9.mp4
Expand Down Expand Up @@ -104,4 +104,4 @@ function downloadFile(filename) {
- [x] Commit your changes: `git commit -m "feat: my new feature"`;
- [x] Push to your branch: `git push origin my-feature`.

Made with ❤️ by [@SamirPaul1](https://github.com/SamirPaul1) :wave: [Get in touch](https://www.linkedin.com/in/SamirPaul)
Made with ❤️ by [@SamirPaulb](https://github.com/SamirPaulb) :wave: [Get in touch](https://www.linkedin.com/in/SamirPaul)
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/samirpaul1/filecompressor.git"
"url": "git+https://github.com/samirpaulb/filecompressor.git"
},
"keywords": [
"FileCompressor"
],
"author": "SamirPaul1",
"author": "samirpaulb",
"license": "ISC",
"bugs": {
"url": "https://github.com/samirpaul1/filecompressor/issues"
"url": "https://github.com/samirpaulb/filecompressor/issues"
},
"homepage": "https://github.com/samirpaul1/filecompressor#readme",
"homepage": "https://github.com/samirpaulb/filecompressor#readme",

"publishConfig": {
"@SamirPaul1:registry": "https://npm.pkg.github.com"
"@samirpaulb:registry": "https://npm.pkg.github.com"
}

}
2 changes: 1 addition & 1 deletion static/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function downloadFile(filename) {
if(response !== null) {
console.log("response is not empty");
fname = response.filename;
var url = "https://filecompressor.samirpaul1.repl.co/static/resource/" + fname.toString(2);
var url = "https://filecompressor.samirpaul.repl.co/static/resource/" + fname.toString(2);
console.log(url);

fetch(url)
Expand Down

0 comments on commit 5756049

Please sign in to comment.