Skip to content

anishthite/curius-search

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apollo-Curius 💎

Apollo-curius is a search engine based off Apollo that indexes all of my Curius data.

If you use Curius, you can get a version of this running with your data very easily. If you don't use Curius, start using it.

Running with your Curius

  1. Run cp .env.example .env to setup your .env file. In your .env file, put the value of your Curius ID. You can do this by opening up Inspect Element in Chrome, then navigate to your curius bookshelf i.e. https://curius.app/<your username>. In the network tab, you should see a request made that has the URL https://curius.app/api/user. Open up the response and you should see your ID there. Screen Shot 2022-04-02 at 2 10 07 AM Screen Shot 2022-04-02 at 2 10 41 AM

  2. Run go run cmd/apollo-curius.go

  3. You should be set! Wait maybe a minute or two for the program to fetch all your Curius data and set up the inverted index, when you see a Server listening on 0.0.0.0:8990, you can navigate to http:https://localhost:8900 and it should be working!

Note if you want to deploy it, this might be a little more involved, but I can help if you DM me on Twitter. I have a Digital Ocean Droplet and I deployed this app as a systemctl service behind an nginx reverse-proxy. If none of that makes sense, DM me and I'll explain.

Exporting your Curius

If you want to export all of your curius data, you can also run go run cmd/apollo-curius.go --export which should create a file curius.json inside the data folder

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 43.5%
  • Go 36.0%
  • JavaScript 13.3%
  • CSS 5.8%
  • HTML 1.4%