Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rudolphreti/lifedots-blazor
A Blazor application that visualizes the remaining weeks of life as colored dots.
https://github.com/rudolphreti/lifedots-blazor
blazor bootstrap dotnet lifetime motivation
Last synced: 4 months ago
JSON representation
A Blazor application that visualizes the remaining weeks of life as colored dots.
- Host: GitHub
- URL: https://github.com/rudolphreti/lifedots-blazor
- Owner: rudolphreti
- License: mit
- Created: 2024-08-14T12:13:33.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T16:47:41.000Z (6 months ago)
- Last Synced: 2024-10-14T05:21:50.560Z (4 months ago)
- Topics: blazor, bootstrap, dotnet, lifetime, motivation
- Language: C#
- Homepage: https://rudolphreti.github.io/LifeDots-Blazor/
- Size: 19 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LifeDots Blazor Application
[![Screenshot](screen.jpg)](https://rudolphreti.github.io/LifeDots-Blazor/)
## Overview
The **LifeDots** project is a Blazor application designed to visualize the remaining weeks of a user's estimated lifespan as colored dots. This application is built using Blazor (.NET-Platform).
[DEMO](https://rudolphreti.github.io/LifeDots-Blazor/)
## Project Structure
The project is structured into several key components:
### Interfaces
- **ICounterHandler.cs**: Interface for handling counter logic.
- **IDotColorizer.cs**: Interface for managing the logic of coloring dots based on user data.
- **IDotGenerator.cs**: Interface responsible for generating the dot visualization.
- **IHomeService.cs**: Interface for managing home page services.
- **IMessageService.cs**: Interface for handling message services within the application.### Pages
- **Home.razor**: The main page of the application, where the dot visualization is rendered.
- **Home.razor.cs**: Code-behind for `Home.razor` handling logic and interactions.### Services
- **CounterHandler.cs**: Implementation of the `ICounterHandler` interface, managing the counting logic.
- **DotColorizer.cs**: Implementation of the `IDotColorizer` interface, providing the logic for coloring dots.
- **DotGenerator.cs**: Implementation of the `IDotGenerator` interface, responsible for generating the dots based on user input.
- **HomeService.cs**: Implementation of the `IHomeService` interface, managing services related to the home page.
- **MessageService.cs**: Implementation of the `IMessageService` interface, providing messaging capabilities within the app.### Main Program
- **Program.cs**: The entry point of the application, configuring services and the app's request pipeline.## Setup and Deployment
### Prerequisites
- [.NET SDK](https://dotnet.microsoft.com/download)
- [Visual Studio](https://visualstudio.microsoft.com/)### Running Locally
1. Create a new directory and navigate into it:
```bash
mkdir LifeDotsProject
cd LifeDotsProject
```2. Clone the repository:
```bash
git clone https://github.com/rudolphreti/LifeDots-Blazor
cd LifeDots-Blazor
```3. Open the project in Visual Studio:
* Open Visual Studio.
* Click on Open a project or solution.
* Navigate to the cloned repository folder LifeDots-Blazor and open the .sln file.5. Press F5 to run the project.
## To do
* Service for loading message content, e.g. from a JSON file
* Support for multiple languages## Contributing
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgements
Thanks to the Blazor and .NET communities for their support and resources!