centrifugal / web Goto Github PK
View Code? Open in Web Editor NEWAdmin web interface for Centrifugo real-time messaging server
License: MIT License
Admin web interface for Centrifugo real-time messaging server
License: MIT License
I.e. replace Gulp with Webpack, update reactJS, use modern EcmaScript syntax.
Added in 1.4.0
if I'm running Centrifugo with the --web
flag. How do I get the admin web interface to show up. Is there a default port the interface is set to listen on?
Basically, I'm lost on whether I need to clone this repo into my app or not.
Can happen during node restart for example, need to survive in this situation.
I.e. when we use sth like this in Nginx:
server {
listen 30620;
location /centrifugo/ {
rewrite /centrifugo(.*) $1 break;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://127.0.0.1:30619;
}
}
We must probably use relative auth path and use location path
to generate socket url.
Add number of messages/second.
Maybe, can use the metric to show this information
When I try build, show this error
ERROR in ./src/index.js
Module build failed: SyntaxError: Unexpected token (8:16)
6 | import './styles/app.scss';
7 |
> 8 | ReactDOM.render(<App />, document.getElementById('app'));
| ^
Hi,
centrifugo admin panel seems not compatible with reverse proxy .
example:
reverse proxy send request /toto
to centrifugo on /
if i send /toto/admin
, i receive a responce but the JS seems hardcoded with full path
<script defer="defer" src="/static/js/main.850cfbc8.js"></script><link href="/static/css/main.0c407e63.css" rel="stylesheet">
so the js are not found on my server
but on v3, the paths are relative and it works
<script type="text/javascript" src="bundle.js?7c53f4001f2f014e1a63"></script>
Current solution - click to logout
button and login again.
Sometimes we want to investigate certain message in admin web interface messages
panel. But new messages arrive and message goes down so we need to scroll to it. We can add control on top of this panel to drop new messages while it's in checked state.
At moment we send malformed request to Centrifugo and Centrifugo closes admin connection
Add total of channels, clients and users in status page if have 2 or more nodes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.