logseq/logseq

rsapi is not open-source

george-hopkins opened this issue ยท 17 comments

Search first

  • I searched and no similar issues were found

What Happened?

Logseq contains a Node.js library @logseq/rsapi which is not open source. Amongst other things, this component seems to be essential to the encryption scheme (rsapi/ageEncryptWithPassphrase). This hinders the inspection of these methods considerably. In addition, the project no longer adheres to the AGPL.

Reproduce the Bug

@logseq/rsapi can not be built from scratch

Expected Behavior

rsapi is open-sourced and the project is fully AGPL-compatible

Screenshots

No response

Desktop or Mobile Platform Information

all platforms

Additional Context

#8870

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

open-sourcing rsapi is on the plan.
cc. @andelf

image

It has been a month, is it difficult to open source a module? Where are you stuck?

@huangyinhaow Sorry. I will ping the team for the update on the progress

@huangyinhaow Sorry. I will ping the team for the update on the progress

Thanks for your prompt reply! Hope you can close this issue soon!

We are planing to open-source when the recent diff-merge feature is stabled.
#9238
#9748

As a software curated in the FOSS community, we always know the importance of local-first, privacy & E2EE. And we have many nice observers from the community.
Many doc stuff are not prepared as the Logseq Sync is still in beta and under rapid change, but in the formal launch it will be shipped with open-sourced client-side codebase and tech document coverage. We are also pushing our process on GDPR certificating.
There are too many stuff to do, and it could be a bit overwhelming for a small team. But Logseq Sync is strictly following E2EE and we are on the track to improve the transparency to users (especially non-techs)

Just bumped into this when trying to run Logseq on FreeBSD:

Error: Cannot find module '@logseq/rsapi-freebsd-x64'

Waiting for opensourcing too.

Any updates?

Any movement on this?

We are planing to open-source when the recent diff-merge feature is stabled.
#9238
#9748

It looks like these were both merged about 4 months ago. Is there any update on this?

I found this: https://www.npmjs.com/package/@logseq/rsapi?activeTab=code
Is it the code in question? It seems to have been open sourced as MIT 2 months ago.

@fivestones It looks like it's still closed source. The package you mentioned is just a wrapper around platform-specific binaries (e.g. @logseq/rsapi-linux-x64-gnu)

@george-hopkins Yeah you're right.
@cnrpman

Thanks for your reminder.

It takes time to filter out old commits, which might contain secret keys or credentials for historical reasons.

So I just strip out old commits. Sorry for the inconvenience. Check it at https://github.com/logseq/rsapi

Regarding the Logseq Sync implementation, the underlying code is not confidential. You can find the Swift implementation of the iOS version on GitHub, which is open-source.

See-also: #10449

Close as resolved.

Thanks @andelf!

Also just wanted to say thanks for taking the time to open-source this, it's much appreciated!

Just as another gratitude for open sourcing this, it allowed me to create a port of Loqseq for FreeBSD. My port will land FreeBSD Ports tree in a couple of days.

thanks!