Comments (6)
For this example, I bypass many security rule, generating a configuration file to disable the Content-Security-Policy
, then running the command.
don't use this configuration in unsafe network, I give you info to help you find the best way to configure your policy and to show it's working
jupyter notebook --ServerApp.disable_check_xsrf=true --ServerApp.allow_origin='*' --ServerApp.token=''
Generate jupyter configuration
jupyter notebook --generate-config
/home/${USER}/.jupyter/jupyter_notebook_config.py
c.NotebookApp.tornado_settings = {
'headers': {
'Content-Security-Policy': ""
}
}
from streamsync.
hi @duckunz, the iframe component already exist in the devlopment branch dev
. We will release it soon. @raaymax has done the development.
from streamsync.
On the current version (the 0.3.0), you can also use the existing html component with the following parameters. It should work
from streamsync.
Thanks a lot for your help. It works for normal website but for me I want to ask more specific case.
For example if I have a localhost (like http://localhost:8888/tree) website or LAN network url (like http://10.21.210.47:8888/tree) - jupyter notebook for specific.
When I inserted {"src":"http://10.21.210.47:8888/tree"} into streamsync, I got 10.21.210.47 refused to connect.
Could you help me to fix this.
Many thanks!
from streamsync.
I don't understand what you are trying to do but if you are using the browser from inside of the local network you should be able to access those pages. We need more information about your use-case.
Join our discord server, I'm sure we will be able to find solution for you there ;)
https://discord.gg/sn677E3Pd3 (edited - I pasted wrong link, sorry)
from streamsync.
Jupyter has several security mechanisism active by default to improve daily security.
If you need to embed a jupyter notebook into streamsync, you will find all the configuration option in the jupyter documentation : https://jupyter-notebook.readthedocs.io/en/6.2.0/public_server.html#running-a-public-notebook-server and in section https://jupyter-notebook.readthedocs.io/en/6.2.0/public_server.html#embedding-the-notebook-in-another-website
from streamsync.
Related Issues (20)
- Python 3.12 tests issuing DeprecationWarning related to multiprocessing HOT 2
- use poetry instead of setup tools as package manager
- github action enforce PR continuous integration rules
- Changing font-family for entire app not intuitive
- Unable to build docker image with Dockerfile from docs HOT 2
- Event context not working for repeater objects where the repeater object is specified using square brackets "[ ]" HOT 2
- Serving large numbers of images
- pagination component documentation is missing on the official documentation
- Add checkbox column to dataframe that is interactive HOT 1
- Use Pydantic for automating most event payload sanitisers HOT 1
- Question: How to link message component with a state element HOT 1
- How to convert <streamsync.core.BytesWrapper object at 0x1065ca890> to base64
- Create separate test apps for backend and manual frontend testing HOT 1
- declare optional schema on streamsync state HOT 1
- Implement pylint HOT 6
- Update Repeater docs to explain use of dynamic accessors
- add a tooltip option on icon, button, ... component
- File input component doesn't show the name of the uploaded files HOT 1
- on edit mode when I am on a page generated in low code and the code is run again, the page become blank HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamsync.