-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
113 lines (67 loc) · 3.72 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# signature.r <img src="man/figures/hex.png" align="right" alt="Signature.r logo" style="height: 140px;"></a>
![R](https://img.shields.io/badge/r-%23276DC3.svg?style=for-the-badge&logo=r&logoColor=white)
![Bootstrap](https://img.shields.io/badge/bootstrap-%238511FA.svg?style=for-the-badge&logo=bootstrap&logoColor=white)
[![Figma](https://img.shields.io/badge/figma-%23F24E1E.svg?style=for-the-badge&logo=figma&logoColor=white)](https://www.figma.com/proto/u95KvEqgWLB8arxt7saZcJ/%7Bsignature%7D?node-id=705-5&t=xevegkmzONTrRyR3-8&scaling=contain&content-scaling=fixed&page-id=0%3A1&starting-point-node-id=705%3A5&hide-ui=1)
<!-- badges: start -->
[![R-CMD-check](https://github.com/ThinkR-open/signature.r/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ThinkR-open/signature.r/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
This is the R version of the [`{signature.py}`](https://github.com/ThinkR-open/signature.py) and [`{signature.js}`](https://github.com/ThinkR-open/signature.js) application.
This application provides a graphical interface to streamline the creation and maintenance of your email signature.
No more wrestling with images or getting tangled up in HTML code; the application offers a set of fields to update your signature easily.
Simply enter your name, first name, email, and other necessary information to populate your signature.
Additionally, the application allows you to copy the HTML code with a single button click, making it easy to paste into your email client settings.
Lastly, updating the banner (the image at the bottom of the signature) and the associated link for redirection is straightforward. You no longer need to request everyone to update their signature individually for these changes.
## Demo
🕹️ Try the app at:
[https://connect.thinkr.fr/signature-r/](https://connect.thinkr.fr/signature-r/)
## Try locally
1. Install the package from GitHub:
```{r eval=FALSE}
remotes::install_github("ThinkR-open/signature.r")
```
2. Run the app:
```{r eval=FALSE}
signature.r::run_app()
```
or clone the repository and run the app:
1. Clone the repository
2. Run the app:
```{r eval=FALSE}
renv::restore()
pkgload::load_all()
golem::run_dev()
```
## Modify the theme
This app uses Bootstrap `5.3.3`.
To modify the theme, edit the `inst/app/signature.scss` file.
Every time you run `golem::run_dev()`, the `signature.scss` file is compiled into `inst/app/www/signature.css`.
## How the redirection banner works?
The redirection banner is a JavaScript function that redirects the user to the specified URL.
To modify the redirection URL, edit the `index.html` file at the root of the project.
## You love this project?
You love this project and would like to reuse it for your own needs?
You can fork this repository and adapt it to your needs.
What you can do:
- fork this repository
- adapt the signature template to your needs.
- modify the app to add or remove fields from the signature form to edit the signature.
- modify the redirection banner to redirect to your own URL.
- modify the theme by editing the `inst/app/signature.scss` file.
- Remove google analytics from tag script in the `app.py` file.
- deploy the app on your own server.
- share the app with your colleagues.
- enjoy the app!
## Code of Conduct
Please note that the signature.py project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.