using perkeep only as a blobserver and building my own index
79 views
Skip to first unread message
Quinn
unread,
Dec 7, 2024, 8:51:42 PM12/7/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Perkeep
Is it possible to use perkeep only as a blobserver and implement my own or extend the indexer? E.g. I could implement my own claims system or choose a different way to organize mutability on top of the blobserver.
It seems there is a runIndex config option which i can set to false. Is this considered safe? Is there a pruning step or something that could wipe my data accidentally if I do something like this?
Also, I understand that perkeep automatically splits blobs over a certain size, would this work without the index?
Gulácsi Tamás
unread,
Dec 8, 2024, 1:55:18 AM12/8/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to per...@googlegroups.com
Yes, absolutely. This is how I use it. (Maybe you can drop to the lower level config from the higher level (pk dumpconfig) and erase all unneeded parts).
Gulácsi Tamás
Quinn
unread,
Dec 8, 2024, 8:54:35 AM12/8/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Perkeep
Thats great! Would love to know more about your approach. is any of what you're doing OSS? Do you just iterate using the blobserver and build your own index? do you use the JSON apis exclusively instead of the CLIs?
Quinn
unread,
Dec 8, 2024, 9:18:23 AM12/8/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
I assume I will start perkeepd with `runIndex: false` in the server config, then use this client package to interact with the blobserver. Is this what you're doing?
Gulácsi Tamás
unread,
Dec 9, 2024, 12:13:09 AM12/9/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to per...@googlegroups.com
Yes, I use the Go client with a little helper (github.com/tgulacsi/camproxy/camutil), and I store the blobref in an external index (database table) on store, so I don't have to iterate through the blobs.