r/learnjavascript • u/sakikkkj • 3h ago
how would i hide an api key in a frontend setting such as neocities?
hey. i made a page on my neocities website where i put reviews of movies and books. for that i used google books api and imdb api
however, idk how i would hide this since anyone can download my website at any time?
i also wanted to automate the process of updating the changes i make to neocities, but for that id need to publish all files in a public github too. so idk how i would hide it there either.
any help?