You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45-20Lines changed: 45 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This application provides a simple and effective way to display nursery messages
9
9
***Fill in Message Tokens**: If a message contains tokens (e.g., for a child's name or number), you can easily fill them in before displaying the message.
10
10
***Real-time Updates via WebSocket**: The application automatically attempts to connect using WebSocket for instant, real-time message updates with minimal latency.
11
11
***Automatic Fallback to Polling**: If WebSocket connection is unavailable or fails, the application seamlessly falls back to polling mode, refreshing the message list every second.
12
-
***Localized Interface**: The user interface is available in both Englishand German.
12
+
***Localized Interface**: The user interface is available in multiple languages including English, German, Mandarin Chinese, Hindi, Spanish, French, Arabic, and Bengali. The application automatically detects your browser's language.
13
13
14
14
## How to Use
15
15
@@ -22,25 +22,6 @@ This section is for end-users who will be operating the application.
22
22
5. For any message, **fill in the required token values** in the provided input fields.
23
23
6. Click the **"Show"** button to trigger the message in ProPresenter.
24
24
25
-
## Technical Details
26
-
27
-
### Connection Modes
28
-
29
-
The application uses two connection modes to ensure reliable communication with ProPresenter:
30
-
31
-
1.**WebSocket Mode (Primary)**:
32
-
- Provides real-time, bi-directional communication with ProPresenter
33
-
- Low latency updates when messages change
34
-
- Automatically reconnects on disconnection (up to 3 attempts)
35
-
- More efficient than polling, reducing network overhead
36
-
37
-
2.**Polling Mode (Fallback)**:
38
-
- Used when WebSocket connection is unavailable or fails
39
-
- Fetches message list every second via HTTP GET requests
40
-
- Ensures the application remains functional even if WebSocket is not supported
41
-
42
-
The application automatically detects the best connection method and switches between them as needed, ensuring a seamless user experience.
43
-
44
25
## How to Run and Deploy for Developers
45
26
46
27
This section is for developers who want to run the application locally or deploy it to a web server.
@@ -75,6 +56,50 @@ To deploy this application, you first need to build the static assets.
75
56
76
57
Once you have your web server set up, configure it to serve the files from the `dist` directory.
77
58
59
+
## Technical Details
60
+
61
+
### Connection Modes
62
+
63
+
The application uses two connection modes to ensure reliable communication with ProPresenter:
64
+
65
+
1. **WebSocket Mode (Primary)**:
66
+
- Provides real-time, bi-directional communication with ProPresenter
67
+
- Low latency updates when messages change
68
+
- Automatically reconnects on disconnection (up to 3 attempts)
69
+
- More efficient than polling, reducing network overhead
70
+
71
+
2. **Polling Mode (Fallback)**:
72
+
- Used when WebSocket connection is unavailable or fails
73
+
- Fetches message list every second via HTTP GET requests
74
+
- Ensures the application remains functional even if WebSocket is not supported
75
+
76
+
The application automatically detects the best connection method and switches between them as needed, ensuring a seamless user experience.
77
+
78
+
## Releases
79
+
80
+
This project uses automated releases via GitHub Actions. When a new version tag is pushed to the repository, the build pipeline automatically:
81
+
82
+
1. Builds the application
83
+
2. Creates a release archive containing all static files
84
+
3. Creates a GitHub Release with the version number
85
+
4. Uploads the build artifacts to the release
86
+
87
+
### Creating a New Release
88
+
89
+
To create a new release, maintainers should:
90
+
91
+
1. Update the version number in `package.json` if needed
92
+
2. Create and push a version tag:
93
+
```bash
94
+
git tag v1.0.0
95
+
git push origin v1.0.0
96
+
```
97
+
3. The GitHub Actions workflow will automatically build and create the release
98
+
99
+
### Downloading Releases
100
+
101
+
Users can download pre-built releases from the [Releases page](https://github.com/sensslen/Cgf.ProPresenter.NurseryMessages/releases). Each release includes a ZIP file with all necessary files to deploy the application.
102
+
78
103
## License
79
104
80
105
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
0 commit comments