FreeTubeApp.io icon indicating copy to clipboard operation
FreeTubeApp.io copied to clipboard

Rewrite, with a static-site generator

Open resynth1943 opened this issue 5 years ago • 22 comments

I have the PHP website cloned locally, and right now... I see no actual reason for running PHP. Perhaps we can drop the PHP interpreter to save some server costs?

How would you feel about rewriting this in a static site generator like Jekyll?

resynth1943 avatar Aug 02 '20 22:08 resynth1943

(on a side note, the design of the content would be much easier to manage with a static site generator.)

resynth1943 avatar Aug 02 '20 22:08 resynth1943

I'm not entirely against it, though at the end of the day I don't think there would be any real benefit.

I still need a server to run site analytics. Since Matomo already uses PHP and had to be installed on the server, I just went ahead and used it for the site as well. If there's a way to keep the site analytics then it's something we can look more into.

PrestonN avatar Aug 02 '20 22:08 PrestonN

Can't you just host them separately?

resynth1943 avatar Aug 02 '20 22:08 resynth1943

It's already on a separate domain, so... :P

resynth1943 avatar Aug 02 '20 22:08 resynth1943

If I did then what would be the benefit of a rewrite? If I already have to pay for a server to host analytics then rewriting the website to save on server costs doesn't really benefit me in any way.

Also you're right that the domain is different, but they're both hosted on the same server.

PrestonN avatar Aug 02 '20 22:08 PrestonN

I mean, I didn't realise you were using Matomo too.

I still think a rewrite would be preferable, though. Right now, the design of the site is a bit of a mess, and the developer experience is confusing (for me, at least).

resynth1943 avatar Aug 02 '20 22:08 resynth1943

(also, it's a good way to spend my time lol)

resynth1943 avatar Aug 02 '20 22:08 resynth1943

If it's something you'd like to work on I'm more than happy to accept a PR. It just isn't something I think that I'll be working on myself for now.

PrestonN avatar Aug 02 '20 22:08 PrestonN

Oh, good. I'll get started, then :D

resynth1943 avatar Aug 02 '20 22:08 resynth1943

@resynth1943 how far have you gone in rebuilding the website? Just asking in case you need a helping hand, I'd really love to help.

AceTheCreator avatar Oct 09 '20 05:10 AceTheCreator

@PrestonN please I was just wondering if @resynth1943 has done anything about this issue if not I'd like to take it up

AceTheCreator avatar Oct 11 '20 03:10 AceTheCreator

I'm not sure. It isn't something I plan on working on as I'm comfortable with how the site is put together right now, but if it's something that's really desired then please submit a PR and we can discuss it.

PrestonN avatar Oct 11 '20 15:10 PrestonN

Hi @alphabet-codes, I have some edits in my local copy. I did plan to do a mini redesign too.

resynth1943 avatar Oct 11 '20 16:10 resynth1943

@resynth1943 please can you share an insight on what you have right now?

AceTheCreator avatar Oct 11 '20 22:10 AceTheCreator

@PrestonN I really appreciate your response, I'd love to see what @resynth1943 has pulled up so far so that i won't be reinventing the wheel.

AceTheCreator avatar Oct 11 '20 22:10 AceTheCreator

I'm not sure what you're expecting me to show / respond with, this isn't something that I'm working on. I am not involved whatsoever with any work that @resynth1943 is doing.

PrestonN avatar Oct 13 '20 13:10 PrestonN

i understand your point @PrestonN

AceTheCreator avatar Oct 13 '20 13:10 AceTheCreator

I'd work on the project myself then

AceTheCreator avatar Oct 13 '20 13:10 AceTheCreator

My poor emails... 😅

I'll show it to you tonight.

resynth1943 avatar Oct 14 '20 10:10 resynth1943

@resynth1943 haven't seen anything yet.

AceTheCreator avatar Oct 15 '20 12:10 AceTheCreator

Then wait longer. I'm busy at college. Have a nice day.

resynth1943 avatar Oct 21 '20 10:10 resynth1943

Hi @resynth1943 this issue hasn't had any activity for a while now. We are wondering what the status is of this and if this should be closed.