Skip to content

[Feature Request] add more data fields #30

@slimjet4u

Description

@slimjet4u
{"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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions