GithubHelp home page GithubHelp logo

axodotdev / axii Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 1.0 338 KB

image to ascii generator

Home Page: https://axii.axo.dev

License: Apache License 2.0

JavaScript 39.17% Vue 57.42% CSS 3.41%
ascii-art nuxt webapp

axii's People

Contributors

ashleygwilliams avatar dependabot[bot] avatar saravieira avatar shadows-withal avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

icodein

axii's Issues

if GradientOn give color instead of white

currently, if the user has selected the gradient and then downloads the image, it is shown in the white color instead of the gradient because the gradient is using a text mask to animate. however, instead of using a white color, we could use one of the colors from the gradient to give a more accurate screencap.

Errors in result when capturing image in firefox at scale other than 100%

๐Ÿ› Bug description

When the scale is set to something other than 100% in Firefox, "Download as Image" captures an incorrectly rendered image.

๐Ÿค” Expected Behavior

The image should be captured exactly as shown in browser.

๐Ÿ‘Ÿ Steps to reproduce

Visit axii.axo.dev in Firefox, input Ctrl-+ (increasing scale to 110%), upload your image, then click the "Download as Image" button.

๐Ÿ“ธ Screenshots/videos

80%

80%

90%

90%

100% (correct)

100%

110%

110%

120%

120%

๐ŸŒ Your environment

Firefox 99.0.1 on NixOS

build failure

ran into this while trying to migrate to CF workers. gonna take it down for now, but i'll republish it once we get it building.

ag_dubs@Ashleys-MBP-2 axii % npm run build

> [email protected] build
> nuxt generate

Nuxi 3.0.0-rc.12                                                                         13:15:07
Nuxt 3.0.0-rc.12 with Nitro 0.6.0                                                        13:15:07
โ„น Using Tailwind CSS from ~/css/main.css                                nuxt:tailwindcss 13:15:08
โ„น Client built in 4487ms                                                                 13:15:14
โ„น Building server...                                                                     13:15:14
โœ” Server built in 1530ms                                                                 13:15:15
โœ” Generated public .output/public                                                  nitro 13:15:15
โ„น Initializing prerenderer                                                         nitro 13:15:15
โ„น Prerendering 3 initial routes with crawler                                       nitro 13:15:16

 ERROR  [nuxt] [request error] [unhandled] [500] Named export 'saveAs' not found. The requested module 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js';
const { saveAs } = pkg;

  at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
  at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)


 ERROR  [nuxt] [request error] [unhandled] [500] Named export 'saveAs' not found. The requested module 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js';
const { saveAs } = pkg;

  at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
  at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)


 ERROR  [nuxt] [request error] [unhandled] [500] Named export 'saveAs' not found. The requested module 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'file:///Users/ag_dubs/axo/axii/node_modules/file-saver/dist/FileSaver.min.js';
const { saveAs } = pkg;

  at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
  at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

  โ”œโ”€ /200.html (4ms)                                                               nitro 13:15:16
  โ”œโ”€ /404.html (3ms)                                                               nitro 13:15:16
โœ” You can now deploy .output/public to any static hosting!

limit file size

for my own sanity, we'll save ourselves some bandwidth (literally and figuratively) if we limit the filesize we accept. i don't have a strong opinion on what the limit is.. just that a limit would be good :)

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.