Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: TypeIt – A Versatile JavaScript Animated Typing Utility (typeitjs.com)
87 points by alexmacarthur on Aug 22, 2021 | hide | past | favorite | 26 comments



> There are two forms of licenses available for TypeIt -- an open source license, a limited commercial license, and an unlimited commercial license.

> Open Source License

> An open source license exists as GPLv3, and permits you to use TypeIt in any open source or personal project. Along with many other details, the GPLv3 license requires that any publicly released code using TypeIt be licensed under the GPLv3 as well.

I'm not familiar with using GPL licensed code on the frontend. If I include TypeIt on my site using a <script> tag, do I need to release all frontend JS on my website as GPL? What about the CSS/HTML code? What about the other dependencies I use on the page, like React or Vue, or third party dependencies like Google Analytics?

And do the exact same rules apply if I bundle my whole app into a single JS file (which is more common these days)?


The unsatisfying practical answer: No company whose business relies on their website is going to be comfortable assuming the answer is no. So "commercial" usage, where "commercial" is defined as "worth suing and has lawyers who are worried about being sued," needs to buy a license, and "personal" usage, which is the complement of that, doesn't.



I have no clue. But, based on the theory that I really just don't want to get sued, even if I happen to be right, it seems important that neither does the author:

> permits you to use TypeIt in any [...] personal project

That's trying to establish some requirement to be non-commercial, which the GPL doesn't do. In fact the author here should know this better than most people, considering they are trying to sell something that's also GPL-licensed.

So if you get a good lawyer to give an all clear to use this in your Uber-for-Platypus-Stylists venture, they will get just as mad as if you don't.


Good point. It says "any open source or personal project". I think the "or" implies it's ok to use in non-open source projects as long as they're "personal". However the repo just contains the standard GPL-3.0 license, so I'm not sure.


It's interesting to see people start getting license-conscientious when the GPL family is mentioned, esp. for concern over how to obey the license terms.

The MIT license is one of the most popular licenses for Web developers, but it has license terms, too, and almost no one cares about whether they're following them—in fact many people don't.

Are you following the MIT license terms now? If not, are you going to start?


> in fact many people don't

Do you have any examples?

> Are you following the MIT license terms now?

Yes, I believe I am.


The MIT license has two conditions:

1. You must reproduce the copyright notices

2. You must reproduce the MIT License terms themselves

(To be clear, this applies to "_all_ [emphasis mine] copies or substantial portions of the Software".)

Many, many, many projects satisfy the first condition but drop the ball when it comes to the second. This has been discussed on HN before. I don't have a link.

> Do you have any examples?

<https://hn.algolia.com> for one example among a glut. I actually hedged by choosing to go with "many" in my first comment (and above) instead of "most". It probably is "most".


A bit confusing to read. The landing page says "the most versatile typing utility ever", programming typed languages is what comes to mind before literally typing on a keyboard... Maybe it's intentionally vague to be funny...

Interesting project though!


I think the title is broken? It’s currently just “Show HN: A”


I guess we'll have to install TypeIt to see the rest of the title typed out.


Thought it would be a new programming langauge, in the tradition of naming as B, C, D, F#...


The E programming language [236] is pretty cool, no need to skip it :P

[236]: https://en.wikipedia.org/wiki/E_programming_language


Perhaps it could be called A Programming Language?



That'd make googling for tips that bit more difficult!


I thought its about javascript types not about typing and was confused as hell at the beginning


This looks really great! Congrats on launching!


Why? Is the point to show typing animation?

Maybe I'm dumb. What's the use case?


Often used for headings to demonstrate how versatile a product is.

For example if I am selling a cup the heading would be typed out:

Awesome cup! Perfect for coffee.

Then coffee gets backspaced out and it types tea.

Then that gets backspaced out and it types hot chocolate

Etc.


I use a typing library in my app to showcase the different things that might be typed into a text field. It draws attention to that particular spot in the app too.


A lot of programming tutorials on Youtube animate the typing in of text. That was the first (and only so far) use case that I thought of.


my pet peeve with typing UIs is that they often break on mobile and cause the rest of the page to jump up and down as the text is being typed and inevitably lines get added or removed.


Nice! I've been looking for something like this.


i thought some other similar typing library has already been available. maybe i am wrong. Nice library.


Since this appears to allow arbitrary html, I can see this causing some XSS vulnerabilities if used with user input.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: