pujaltedavid / lucky-cat Goto Github PK
View Code? Open in Web Editor NEWSometimes you want to be a cat but you don't know how to express yourself.
Home Page: https://luckycat.tk
Sometimes you want to be a cat but you don't know how to express yourself.
Home Page: https://luckycat.tk
crec que peta o triga molt amb interrogants i , (que passa si hi ha algun caracter que no esta al language?, filtrar abans de enviar al algoritme)
save languages on localstorage to reduce bandwidth
make a check before translating and send a "did you mean..."
luckycat.tk/es/
luckycat.tk/en/
luckycat.tk/it/
different languages
default get by region
able to change the language
firebase storage for storing the data
try to store it on storage (at least the data part) to use storage bandwidth instead of hosting
the language compression does not take into account that only 7 bit ascii lowercase characters are used.
I think the current compressor takes that as utf8, however I do not know if taking into account the 7bit ascii encoding would make a difference.
relative to text length, the larger the text the smaller the font size (bounded of course)
instead of the delay, offset the words in the string itself
good luck haha
maybe the algorithm is faster than all the state handling during the typing that feels laggy when typing
The data could be calculated somehow in real time instead of getting the calculation from cloud storage.
I mean it's just
AAAA, AAAB, etc
add some lanterns on background
add lots of chinese and japanese things to get a better ambient
maybe change the background color to something deep chinese (or button to activate full chinese mode chan)
remove translate button
wait for input (a second or so, like datask) and then translate automatically
cat animation like its thinking while you tap?
japanese voice obviously, but have to make onomatopeia for each meow character and put them all together, to sound logical with japanese
try dark and compare
no hauria de scroll amb el content
sometimes skips spaces or something like that (maybe when there is a splitted word not entirely on the language idk)
copy clipboard from result
dont run the algorithm for the hole text if only a new word is changed or inserted
requests are too high, I don't know if thats because I've been done a lot of reloading during developement but 425 requests in a day??? maybe there is some bug somewhere, wait some days.
due to responsiveness, the animation can only be done when the layout is not wrapping, render another way on mobile or when layout is wrapped (without animation or replacing it by opacity animation)
from cat to human
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.