I found a very nice workflow for neocities by using the github action "
deploy to neocities." Basically, I have all the files for the site saved on my computer, I edit them on VSCode, and then I push the update to a github repository which automatically updates the neocities site. This works perfectly.
Adding an art gallery had been on my to-do list since I made the website, it was my main reason for creating one, but coding a gallery layout and then having to manually edit the html file every time I want to add a new artwork seemed very tedious. This made me look into the tools and templates other people have made for this, and the one that caught my attention is
NeoGallery, due to its web interface.
So, I sat down and got to work, and after a tiny bit of trial and error I got NeoGallery up and running. The only issue is, it doesn't mesh well with deploy to neocities. NeoGallery adds images directly to the neocities dashboard, and also updates the code there. As far as I know there is no way to pull these edits into my github repository short of manually copy-pasting all the changed files, which goes against the reason why I use deploy to neocities in the first place: so that I don't have to do all this copy-pasting.
Now, this leaves me with a few options:
- just bite the bullet and copy-paste (I'd rather not)
- find an alternative to NeoGallery
- see if there IS a way to easily pull the updated neocities dashboard into my repo
- edit NeoGallery's code so it updates my local files instead of the ones on neocities
That last option seems like the most elegant solution, except... I have no idea how to do that. I'm very much a beginner when it comes to coding, and I don't understand how NeoGallery works in the first place, let alone how to change it to suit my needs. If anyone knows how to do this or has ressources to point me towards please tell me!
If I really can't figure this out, or it ends up being too much of a hassle, maybe I'll try embedding my HalfMoon Art Club page on my site in the meantime?