Jump to content

Search In
  • More options...
Find results that contain...
Find results in...
CJ Cruz

Free Hosting Sites that supports GSAP

Recommended Posts

Hi guys,


      I'm using netlify for hosting my reactjs applications, but it doesn't seem to support GSAP for animations. Any free hosting site recommendations would be appreciated. Thanks in advance! wish you all the best.

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums,


Sorry, I'm not really familiar with Netlify, but I'm very surprised to hear that a host would not support GSAP.

Are you saying they prohibit you from loading TweenMax from the cdn like:


<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.2/TweenMax.min.js"></script>



As long as you can edit html on your site you should be able to put this on your page 

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.2/TweenMax.min.js"></script>


TweenMax.to("body", 5, {backgroundColor:"red", scale:0.5});




GSAP is used on over 7,000,000 sites and I've never heard of a host not allowing it. That is very strange. Perhaps I am misunderstanding something.




Link to comment
Share on other sites

Hi there, 


     I'm only using netlify for free hosting sites and yes it doesn't seem to support gsap animations. My project works well in some paid hosting sites but I'd like to keep it on a free hosting. So bad to hear that I'm the only one who experienced that in netlify.

Link to comment
Share on other sites

Can you send me a link to the page where you tried my suggestion?


It would be really helpful to be able to look at it and see if we can figure out why that code isn't working.


Is netlify producing an error that says it doesn't allow you to load GSAP?

Are you able to upload TweenMax to your site along with your other JavaScript files? Perhaps they don't like things that come off of a cdn. 

Just guessing here, I haven't used free hosts in a very long time, but it just seems very strange that a host would feature react, but not allow GSAP. Kind of puzzled.




  • Like 1
Link to comment
Share on other sites

Hi there. Sorry it's just a minor mistake. I just install 'gsap' on npm and it only works for local. I really need to put the cdn from the root. 

Link to comment
Share on other sites

I was gonna suggest Heroku for your react apps? Works well with node.js and I think you can store up to 5 free apps. I did have one with a MySQL database that required additional plugins, but for practice apps that are not getting a lot of views or database requests Heroku is a great option, and easy to integrate to an existing git repo!

Link to comment
Share on other sites

  • 3 weeks later...

I've only came across this thread and wanted to chime in: there's no such thing as 'Netlify does not support GSAP'.


Netlify is a static asset host, as in static sites, there's nothing there to stop/prevent the use of any scripts. All that is required is for said script to be included.


You said you installed GSAP with npm. Maybe when you are compiling the bundle it is not being included. Even so, the CDN option is expected to work as well as you including the GSAP scripts yourself and uploading them to Netlify.


Here's a mock I made a while ago that uses GSAP and is hosted in Netlify. It uses Vue, though, but the point is that GSAP is there.

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.