vipulyaara / Kafka

Read, play, and download millions of books; served by archive.org.
https://www.getkafka.app
GNU General Public License v3.0
296 stars 24 forks source link

Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom'. Received status code 401 from server: Unauthorized #42

Closed William45-coder closed 1 month ago

William45-coder commented 1 month ago

When building the project, this error appears..

Could not HEAD 'https://jitpack.io/com/github/barteksc/android-pdf-viewer/3.2.0-beta.1/android-pdf-viewer-3.2.0-beta.1.pom'. Received status code 401 from server: Unauthorized

How can I solve this problem please?

vipulyaara commented 1 month ago

I just checked out the project in a new directory and it worked fine. Maybe this thread can help https://github.com/DImuthuUpe/AndroidPdfViewer/issues/1206

vipulyaara commented 1 month ago

I can reproduce it after clearing the system-wide gradle cache. It's fixed in the new commit on develop. Everything should work now.

William45-coder commented 1 month ago

Now the code is working.. Thank you.. I have one last question.. How do you control the books and categories that appear on the homepage?

vipulyaara commented 1 month ago

The homepage is maintained on a CMS on Firebase. It can be configured differently for each country.

William45-coder commented 1 month ago

Can you share how to set that up? If possible.

vipulyaara commented 1 month ago

Homepage is built using a combination of manually curated items and algorithms for user recommendations and trending content based on user analytics. You can set up a Firebase project with a Firestore collection called homepage and host these items (for manually curated content). The item schema can be found in the file HomepageResponse.

Out of curiosity, why do you want to host your own homepage?

William45-coder commented 1 month ago

I'm a beginner in the field, and I was working on a project for a movies and series app using TheMovieDB API. I wanted to understand how to create a homepage that I can control without the need to create a dedicated dashboard.

vipulyaara commented 1 month ago

Then you probably don't need a homepage like Kafka. I suggest you look at TiVi. It uses Trakt and TMDB to fetch movies and TV shows, exactly the same use case as yours.

If you still want a manually curated homepage, try some tutorials on Firebase or other backend services. Firebase has GUI so it's easy to edit for non-technical people.

William45-coder commented 1 month ago

Thank you very much. I think this nomination is very appropriate.