summaryrefslogtreecommitdiff
path: root/Readme.md
blob: b257c044d91de6c204e08fee44c13cae0598dd5b (plain)
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
<div align="center">

  <h1><code>wasmCard</code></h1>
  <strong>An Online vCard Generator written in Rust.</strong>

</div>

## 📚 About

A WebAssebmly VCard Generator

Supports generating vCards (.vcf), print-ready PDF business cards and QR Codes.

## 🎮 Features

* Supported properties as of yet: name, address, telephone, birthday, anniversary
* Output and Download as vCard (.vcf)
* Output and Download as QR Code
* Generates a dummy PDF

## 🗺 Roadmap

* Add more properties
* Button for adding more of one type of property (Support is already there)
* Put generation and download both in download button
* Generate PDF
* Replace more code with macros to make it even more unreadable 😉

## 🚲 Usage

### 🛠️ Needed tools

* [Standard rust toolchain](https://www.rust-lang.org/tools/install)
* [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)
* cargo-make: `cargo install cargo-make`


### 📦 Build
Debug:
```
cargo make build
```
Release:
```
cargo make build_release
```

### 🍲 Serve

```
cargo make serve
```

### 🔍 Linting

```
cargo make clippy
```

### 📏 Format
```
cargo make fmt
```