[Feature Request] add more data fields
- Dominant language
- Go
- Stars
- 227
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
```
{"type":"text","data":"clipboard"}
```
the current dictionary has basic data and its good and simple.
## Request 1
However, if we can implement a `tag` field then that would be awesome. That will be useful, as we can then be able to say which device uploaded the code. The each device should be able to do that GET/POST request
Example
```
{"type":"text","data":"clipboard", "tag":"windows11"}
```
## Request 2
midgard is very useful when copying links from one device to another. If there is an ability to apply regex on the fly to the copied content such that the output of regex is then passed to the `data` field then that would be awesome.
We could have a separate file like `regex.txt` where we can store the different regex and the associated data that will result with that
Example:
```
{"type":"text","data":"example.com", "original": "https://example.com", "tag":"iphone", ""}
```
`regex.txt`
```
if the text if from tag "iphone" and "windows11" then apply the following regex
^(https:)(?=.*example\.com)
```
## Request 3
Also, please allow the API to get the list of clipboard that was used before
Thank You,
I really appreciate your good work
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.