mirror of
https://github.com/ralscha/wamp2spring-demo.git
synced 2026-10-09 12:18:32 +02:00
Example projects with the wamp2spring library
- Java 35.8%
- JavaScript 26.1%
- HTML 17.2%
- TypeScript 13.6%
- CSS 7.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .mvn/wrapper | ||
| bandwidth | ||
| datachannel | ||
| earthquake | ||
| fiddle | ||
| gauge | ||
| geotracker | ||
| iss | ||
| maps | ||
| mobile-chat | ||
| pirate | ||
| reactive | ||
| session | ||
| simple-chat | ||
| smoothie | ||
| snake | ||
| tail | ||
| worldchat | ||
| .editorconfig | ||
| .gitignore | ||
| LICENSE | ||
| mvnw | ||
| mvnw.cmd | ||
| README.md | ||
Collection of example wamp2spring applications that show the capabilities of WAMP and the library. Not everything is developed by me. I found examples on the internet, replaced the connection part with autobahn-js and the server part with a Spring Framework 7 / Spring Boot 4 application. In the source column you find a link to the original repository.
| Project | Description | Source |
|---|---|---|
| bandwidth | Displays received and sent bytes of the server network interface (eth0). The server sends this information periodically to all connected browsers. | GitHub |
| datachannel | Establish RTCPeerConnection connections and send data over DataChannels. WAMP is used for the signalling process (WebRTC dance) | |
| earthquake | The server reads data from the Earthquake Hazards Program and sends it periodically to the clients. | GitHub |
| gauge | Server sends periodically random data to all connected browsers where the data is displayed with the gauge diagram from the echarts library. | |
| iss | The server reads periodically the position of the International Space Station from api.open-notify.org and sends the location to all connected browsers. | |
| maps | Server sends periodically coordinates to all connected clients that move two car icons on a Google Maps. | |
| pirate | Port of a multiplayer game from an Envato Tuts+ tutorial. | Tutorial |
| simple-chat | Simple chat application | |
| smoothie | Server generates random data every second and sends it to all connected clients where the data is displayed with the smoothie.js library. | GitHub |
| snake | Port of the WebSocket snake demo included in the Tomcat distribution. | Homepage |
| tail | The server application follows the Nginx access log, translates the IP address of new entries to latitude/longitude with the GeoLite2 City database and sends the information to all connected clients. | GitHub, GitHub |
| worldchat | A more sophisticated chat example where each user can select his language and the server translates the messages with the Google Translation API before it sends it to the other users. | GitHub |