Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Clipper support #3430

Open
DiamondYuan opened this issue Jan 15, 2020 · 5 comments
Open

Web Clipper support #3430

DiamondYuan opened this issue Jan 15, 2020 · 5 comments
Labels
question ❓ Issue concerns a question.

Comments

@DiamondYuan
Copy link

https://github.com/webclipper/web-clipper is Easy to support all platform.

@Flexo013 Flexo013 added the question ❓ Issue concerns a question. label Jan 15, 2020
@Flexo013
Copy link
Contributor

Looks interesting and I could imagine some users would definitely like an easy way to clip things to their notepad from the web.

How does WebClipper add the content to the note program? Does it use for example the OneNote API to create a new note for the user?

What is needed from Boostnote's side to support WebClipper?

@DiamondYuan
Copy link
Author

Looks interesting and I could imagine some users would definitely like an easy way to clip things to their notepad from the web.

How does WebClipper add the content to the note program? Does it use for example the OneNote API to create a new note for the user?

What is needed from Boostnote's side to support WebClipper?

API of Web Clipper very sample.

https://github.com/webclipper/web-clipper/tree/master/src/common/backend/services

You can look into this folder.

https://github.com/webclipper/web-clipper/blob/master/src/common/backend/services/interface.ts

And this file.

export interface DocumentService<T = any> {
  getId(): string;

  getRepositories(): Promise<Repository[]>;

  createDocument(request: CreateDocumentRequest): Promise<CompleteStatus | void>;

  getUserInfo(): Promise<UserInfo>;

  refreshToken?(info: T): Promise<T>;
}

Just create a new folder and implements the DocumentService.

@DiamondYuan
Copy link
Author

Looks interesting and I could imagine some users would definitely like an easy way to clip things to their notepad from the web.

How does WebClipper add the content to the note program? Does it use for example the OneNote API to create a new note for the user?

What is needed from Boostnote's side to support WebClipper?

Web Clipper could use OAuth ,Cookie and User Token to access the api of notes.

@Graunephar
Copy link

+1 for a web clipper

@Flexo013
Copy link
Contributor

Flexo013 commented Oct 4, 2020

@Graunephar Please add a 👍 reaction to the first post in this issue. That will help when searching through the popular issues.

@Flexo013 Flexo013 changed the title Do you want Web clipper Web Clipper support Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❓ Issue concerns a question.
Projects
None yet
Development

No branches or pull requests

3 participants