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

is it possible to access synology using this wrapper from public/making request from browser? #152

Closed
fazriachyar opened this issue Mar 6, 2024 · 2 comments

Comments

@fazriachyar
Copy link

I'm attempting to integrate this Synology wrapper into a web application to access my Synology device directly from the browser. I'd like to confirm if this wrapper is designed for client-side usage. Are there any specific configuration steps needed to make this work within a browser environment?

@N4S4
Copy link
Owner

N4S4 commented Mar 6, 2024

Hello,

Yes I can confirm this is a client side wrapper. I am sure that with some work you will be able to use it in the browser. No specific steps other than what is written in the readme file. Bear on mind that some functions might not work as expected. May I ask what is making you use this wrapper for browser use instead of the built in synology DSM?

@N4S4 N4S4 closed this as completed Mar 6, 2024
@fazriachyar
Copy link
Author

fazriachyar commented Mar 6, 2024

Hello,

Yes I can confirm this is a client side wrapper. I am sure that with some work you will be able to use it in the browser. No specific steps other than what is written in the readme file. Bear on mind that some functions might not work as expected. May I ask what is making you use this wrapper for browser use instead of the built in synology DSM?

Dear N4S4,

Thanks for confirming about the client-side wrapper. I'm excited to get it working for the browser, even if it needs a little tweaking. As for why I'm looking at this instead of the built-in DSM, the main thing is this:

QuickConnect Redirect Issues: Whenever I use QuickConnect for the API calls using Axios On ReactJS, it keeps redirecting me to some HTML page instead. That messes with what I'm trying to do.
The Plan: I want to bring some of the Synology stuff right into my custom web interface for a smoother experience. This wrapper seems like the way to get around those QuickConnect redirects.

Let me know if you have any tips or tricks for dealing with the redirection problem in the built-in DSM – I'd love to try alternative solutions!

Cheers,
Fazri Achyar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants