Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I deploy it locally? #14

Open
h2s1652 opened this issue Apr 16, 2024 · 4 comments
Open

How do I deploy it locally? #14

h2s1652 opened this issue Apr 16, 2024 · 4 comments

Comments

@h2s1652
Copy link

h2s1652 commented Apr 16, 2024

No description provided.

@saliksik
Copy link

They don't want you to deploy it locally. It's a broken "open source" code.

@nomagick
Copy link
Member

nomagick commented Apr 16, 2024

It is difficult to deploy it locally for now.

This repo is only several days old. However, most of the code was already written before the CEO decided to set the repo visibility to public, and it is still left in its original state to load internal dependencies (which contain secret keys and probably can never be set to public).

As you can see, this is a Firebase project, it adds even more steps to deploy it locally.
Several factors complicate the matter of running it truly locally:

  • Dependency to the Firebase ecosystem
  • Database is involved in caching
  • Use of private classes in code
  • Use of private services like captioning of images

There could be several steps

  • Remove reference to thinapps-shared to make it deployable but still runs on Firebase
  • Either remove caching or refactor to allow other databases
  • Make image captioning optional and add public model providers
  • Provide a local server like Express for the entry point.

Before completing these steps, one can only read the code and comprehend its working mechanisms.

If you are eager to use it, you can copy and modify the puppeteer.ts to fit into your own systems.

You can ask @hanxiao on Twitter to prioritize the steps or help with the coding directly.
Hopefully, we can go through all the steps in the near future.

@Korayem
Copy link

Korayem commented Apr 30, 2024

Same issue here

@Korayem
Copy link

Korayem commented Apr 30, 2024

Searching the codebase for from '../shared/services yields many files making this totally unusable locally or even deployable on my own!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants