Eleven-am / frames

Frames is a VOD streaming service built with react and NextJs around the Google Drive API.
Mozilla Public License 2.0
40 stars 27 forks source link

Heroku Deployment #2

Open pctechkid opened 2 years ago

pctechkid commented 2 years ago

Is it possible to deploy this on Heroku?

gauravbot8161 commented 2 years ago

Make deploy on heruku

Eleven-am commented 2 years ago

Hey I am building a newer version of frames that can be installed on Vercel ans supabase which is free. This would take me like a month to complete and as such I would not be tsupporting this version of frames

However I believe it is easy to install on heroic the only problem would be uploading your .env file. if you forked the repo, added your .env file to your new fork. you should be upload to heroku using the GitHub upload.

I wish I could help more but I am trying to improve the software

pctechkid commented 2 years ago

Glad to hear you're working on a newer version of this one. I hope you'll support Shared Drives on your future release since it is what people mostly used now.

I really like Frames btw. Please do let me know if your newer version is available.

Eleven-am commented 2 years ago

As promised frames has been updated with supabase support. It has also been built to be hosted on VERCEL. If you need any specific directions please contact me.

pctechkid commented 2 years ago

As promised frames has been updated with supabase support. It has also been built to be hosted on VERCEL. If you need any specific directions please contact me.

Does this new version of Frames support Team Drives now?

Eleven-am commented 2 years ago

Yes this new version supports team drives

sueliob commented 2 years ago

Hi, first thank you for making this wonderful project available. I would like to know if the project supports "Google accounts" to circumvent the daily 750gb limits?

gauravbot8161 commented 1 year ago

When come this version

gauravbot8161 commented 1 year ago

I mean new version

uhb3bot commented 1 year ago

hi can you do video tutorials on how to deploy this one? i'm having hard time on creating the env file. thank you

Eleven-am commented 1 year ago

Hey at this precise moment I am too busy to make a video I can however answer any questions or even have video call to explain how to install it.

Eleven-am commented 1 year ago

hi can you do video tutorials on how to deploy this one? i'm having hard time on creating the env file. thank you

Please remember to create the env file you need to go to framesConfig.ts I think, fill in the necessary information, then run npx tsc framesConfig.ts

pctechkid commented 1 year ago

Hey at this precise moment I am too busy to make a video I can however answer any questions or even have video call to explain how to install it.

Willing to wait. I want to deploy this on heroku too.

Eleven-am commented 1 year ago

Hey at this precise moment I am too busy to make a video I can however answer any questions or even have video call to explain how to install it.

Willing to wait. I want to deploy this on heroku too.

I am actually looking for people to help me maintain this code if you have time maybe we can organise a google meet and I can explain the whole application

pctechkid commented 1 year ago

Hey at this precise moment I am too busy to make a video I can however answer any questions or even have video call to explain how to install it.

Willing to wait. I want to deploy this on heroku too.

I am actually looking for people to help me maintain this code if you have time maybe we can organise a google meet and I can explain the whole application

I'm not good with coding stuffs though 😔

gauravbot8161 commented 1 year ago

Yes this new version supports team drives

Please make videos or gide how to deploy on versal or heroku

DKB0512 commented 1 year ago

Is it possible to have an article of something like that on how to edit the env files and host the project on Vercel? Thanks for the great project btw.

DaleHenry commented 1 year ago

@Eleven-am I am trying to deploy this in vercel. But is there a way for me to add the env through vercel environment variables, rather than by adding my credentials in the repo. Also please clarify on the 'cdn' variable and about the variable requiring the phoenix channel

Eleven-am commented 1 year ago

Okay so for the env when you generate your env file what you can do is copy the db_url, middleware and secret variables to the Vercel environment as for the Frames_config, it is too large to be stored in Vercel you definitely have to store that in the env file. remember that if you clone my repo instead of forking it, you can create a new repo on any git thing, gitlab, hub, whatever, you can also make this repo private and upload it to Vercel through there. Better yet you can upload directly from your computer to Vercel.

As for the CDN you should use the default which is /api/streamVideo?auth= this is the url the video is served from if you have a private Cloudflare worker or something that can server the file, you can use that instead to serve the file.

That worker would need to contact your Vercel app at /api/stream/worker?auth=uuid_provided_by_frames to get the original google drive file id

Lastly as for nor the phoenix channels feature is not publicly available and thus should be left blank.

Eleven-am commented 1 year ago

If anyone would be free I could host a google meet where I explain how to setup and use frames, I would also give those people access to my private elixir server so they have the group-watch feature as well. This would be a one time thing

DaleHenry commented 1 year ago

I would suggest you check out DesterLib, even though not similar it also is a project developed to achieve something similar. Maybe you could get their help as I am not that capable in coding, sorry.

Eleven-am commented 1 year ago

Thanks for your suggestion, here's a link to a working version of frames. I welcome you to compare both frameworks after using it.

https://frames.maix.ovh

pctechkid commented 1 year ago

Thanks for your suggestion, here's a link to a working version of frames. I welcome you to compare both frameworks after using it.

https://frames.maix.ovh

I'm still impressed with this one rather than the frameworks of DesterLib

DaleHenry commented 1 year ago

I was in no way comparing the two, sorry if it felt that way. Anyway I will try to deploy this once more locally first and on vercel later sometime this month when I am free. If I am successful, I can post a good guide as well. I just browsed through the version you shared and I am absolutely in love with it, so good. I browsed as a guest, is downloading feature only available when logged in?

MNDL-27 commented 1 year ago

can we deploy on vercel now?

Eleven-am commented 1 year ago

It has been deployable on Vercel I can teach you how to dit I just don't have the time to make a YouTube video to upload the steps

if ever you are free and can exchange I would give you access to my discord or oomething and maybe describe the steps. it is a little complicated as you need to get your oath credentials from google but clone has a guide for, that . everything else should be easily doable

gauravbot8161 commented 1 year ago

It has been deployable on Vercel I can teach you how to dit I just don't have the time to make a YouTube video to upload the steps

if ever you are free and can exchange I would give you access to my discord or oomething and maybe describe the steps. it is a little complicated as you need to get your oath credentials from google but clone has a guide for, that . everything else should be easily doable

Oki bro give your discord I deploy on versal and I make vedio how to deploy on versal but 1st you gide me then I make vedio

MNDL-27 commented 1 year ago

PROTIK MONDAL#1787

gauravbot8161 commented 1 year ago

PROTIK MONDAL#1787

This is your discord right

MNDL-27 commented 1 year ago

PROTIK MONDAL#1787

This is your discord right

mine why/?

Eleven-am commented 1 year ago

Hey, this is my discord, I would only show the process to someone who intends to make YouTube guide available freely for everyone else. "_ 11am#0442". I have a 9-5 but I am still easily accessible. There is no space between the _ and the name but for some reason GitHub thinks it is italics so I had to add a space

MNDL-27 commented 1 year ago

Hey, this is my discord, I would only show the process to someone who intends to make YouTube guide available freely for everyone else. "_ 11am#0442". I have a 9-5 but I am still easily accessible. There is no space between the _ and the name but for some reason GitHub thinks it is italics so I had to add a space

i dont think your discord ID is correct

Eleven-am commented 1 year ago

const discordUsername: string = _11_am_#0442;

That's my username please try to contact me

pctechkid commented 1 year ago

I searched your username and unfortunately not found.

gauravbhatt8160 commented 1 year ago

Make teligram support group people share thare problems and you can teach at once to all members

MNDL-27 commented 1 year ago

const discordUsername: string = _11_am_#0442;

That's my username please try to contact me

sent friend req on discord

gauravbhatt8160 commented 1 year ago

const discordUsername: string = _11_am_#0442;

That's my username please try to contact me

Bro please share your screen shot of your user name because no username found

gauravbhatt8160 commented 1 year ago

const discordUsername: string = _11_am_#0442;

That's my username please try to contact Bro this is my username gaurav#2561

gauravbhatt8160 commented 1 year ago

Please message me I can't find your id

MNDL-27 commented 1 year ago

image

Please message me I can't find your id

gauravbhatt8160 commented 1 year ago

const discordUsername: string = _11_am_#0442;

That's my username please try to contact me

Request send just now from gaurav#2561 please accept

gauravbhatt8160 commented 1 year ago

It has been deployable on Vercel I can teach you how to dit I just don't have the time to make a YouTube video to upload the steps

if ever you are free and can exchange I would give you access to my discord or oomething and maybe describe the steps. it is a little complicated as you need to get your oath credentials from google but clone has a guide for, that . everything else should be easily doable

Bro come online online on discord

Rupesh-rn commented 1 year ago

I am receiving the below error after executing the command to create env file.

ReferenceError: fetch is not defined at /workspace/frames/server/classes/base.ts:523:13 at new Promise () at BaseClass. (/workspace/frames/server/classes/base.ts:521:16) at step (/workspace/frames/server/classes/base.ts:44:23) at Object.next (/workspace/frames/server/classes/base.ts:25:53) at /workspace/frames/server/classes/base.ts:19:71 at new Promise () at __awaiter (/workspace/frames/server/classes/base.ts:15:12) at BaseClass.makeRequest (/workspace/frames/server/classes/base.ts:536:16) at /workspace/frames/framesConfig.ts:79:32