Private Github Repository Custom Package

What I’m trying to do:
I got access to a private github repository for trading view charting package. Its shared to my personal github account and I can download a clone of the file. however the github clone link is not public and only I can access it. How can I get installed in my anvil project?

For a pure-Python package (no machine code [.dlls or .sos]) with no dependencies, it may be possible to embed the package directly into your Anvil app’s source code.

Edit: oops. Wasn’t done typing…

For several reasons, one of my apps has a local clone on my hard disk, thanks to Anvil’s Git integration (and a small bit of work to use it). This allows me to add modules and packages directly to my app. Usually, they’re self-written packages, but a third-party package (suitably licensed!) could work just as well. The Git machinery literally doesn’t care where it came from.

Edit: also see

it looks like there is a bunch of javascript and some images. Would images cause any problems?

Well I tried to download a clean clone of an empty project, I added my folder locally, commit and pushed it to anvil. I’m not seeing my files appear in my server folder. Any ideas what I missed?

I tried logging out, refreshed browser, reopening the project and not seeing it.

Anvil’s IDE won’t consider a folder to be a package unless it contains a file named __init__.py Perhaps that’s the problem?

Well…
I tried adding a __init__.py but all I see is a package, but not sure what to put in it,
see screenshot is my directory with lots of html stuff. the charting library has a bunch of javascript. so I think anvil mainly looks for .py files and doesn’t really load the rest?
I don’t know if putting it in assets folder is the way to go?

Charting library folder

Bundles folder

Upload to Assets, but can’t do the whole zip file, a lot of files to do and don’t want to do it one by one.

Looks like I can upload a zip file. now just need to figure out how to unzip in anvil

In your local Git work folder, you’ll find a theme folder. assets is inside that. So you can unzip locally into assets.

Awesome thanks that worked.