Coder Social home page Coder Social logo

1j01 / rezzy-zoom-and-enhance Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 6.0 2.72 MB

๐Ÿ”Žโœจ Zoom and Enhance browser extension (AI powered)

JavaScript 99.08% CSS 0.24% HTML 0.61% Assembly 0.07%
comics comic comics-reader comic-reader comic-books ideas manga manga-reader ebook comic-book

rezzy-zoom-and-enhance's People

Contributors

1j01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rezzy-zoom-and-enhance's Issues

Error: Cannot find module 'express'

(venv) F:\rezzy-zoom-and-enhance>npm start

> rezzy@0.0.1 start
> node src/server.js

node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- F:\rezzy-zoom-and-enhance\src\server.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (F:\rezzy-zoom-and-enhance\src\server.js:2:17)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'F:\\rezzy-zoom-and-enhance\\src\\server.js' ]
}

Node.js v18.12.1

Portable upscaling AI (wasm / webgl / webgpu)

Currently I use waifu2x-converter-cpp for superresolution, on a server which lives outside of the browser extension, and communicates with the web page over socket.io.
The biggest issue with this browser extension is that it's hard to set up. I would have published it already if it didn't require a separate install from the browser extension.

I just did a proof of concept for using Anime4K.js on a branch. There's performance problems (blocking the page), but that's easy to resolve, just need the computation to be in a worker (or the extension's background page). Cross-origin images are no longer handled, but that's solvable as well. The real problem is the quality of the output. Text looks very blurry/ugly. I wonder if the upstream project Anime4K has improvements that the JS port lacks, or if text is just a bad case for Anime4K.

There are other shaders and algorithms to compare.

Next/prev link detection improvements

  • Hidden links should be de-prioritized / excluded
  • Prioritize links in navigation
    • nav, .paginate, .pagination, .pages, .nav, .navigation e.g. (but much looser)
    • Prioritize links nearby in hierarchy to a paired next/prev link (could be an unreliable factor if links are hidden at the first / last page)
  • Penalize links in a comments section
    • .comments, .comment_area, .responses e.g.
  • Should keyboard shortcuts (left/right) be a separate browser extension?
  • Automated tests

Note: webtoons uses .paginate for both the main nav and pagination of the comments area.

[Function Request] improvements

  • The ability to choose where to save images.
  • Add waifu2x Artwork/Scans Model
  • Reduce the number of requests (there should be an opinion of 50 requests in 5 minutes) while all photos should be processed at once.

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.