You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WhatsApp Location handler automatically captures location messages sent to WhatsApp and stores them in AnyType with coordinates, accuracy, and metadata.
3
+
The WhatsApp Location handler automatically captures location messages sent to WhatsApp and stores them in Anytype with coordinates, accuracy, and metadata.
This handler monitors all incoming WhatsApp messages for location data. When a location message is received, it automatically extracts the coordinates, accuracy information, and sender details, then stores this data in an AnyType workspace.
9
+
This handler monitors all incoming WhatsApp messages for location data. When a location message is received, it automatically extracts the coordinates, accuracy information, and sender details, then stores this data in an Anytype workspace.
10
10
11
11
## Features
12
12
13
13
-**Automatic Location Capture**: Monitors all WhatsApp messages for location data
14
-
-**AnyType Integration**: Stores locations in a structured format in AnyType
14
+
-**Anytype Integration**: Stores locations in a structured format in Anytype
15
15
-**Metadata Preservation**: Captures sender information and accuracy data
16
-
-**Type Management**: Automatically creates the required AnyType object type if it doesn't exist
16
+
-**Type Management**: Automatically creates the required Anytype object type if it doesn't exist
17
17
18
18
## Configuration
19
19
20
20
### Environment Variables
21
21
22
22
The handler requires two environment variables to function:
23
23
24
-
-`ANYTYPE_API_KEY`: The AnyType AppKey for authentication
25
-
-`ANYTYPE_SPACE`: The AnyType Space ID where locations will be stored
24
+
-`ANYTYPE_API_KEY`: The Anytype AppKey for authentication
25
+
-`ANYTYPE_SPACE`: The Anytype Space ID where locations will be stored
26
26
27
27
If these environment variables are not set, the handler will silently ignore location messages.
28
28
29
-
### AnyType Setup
29
+
### Anytype Setup
30
30
31
-
The handler connects to AnyType running on `localhost:31009` by default. Ensure your AnyType instance is running and accessible.
31
+
The handler connects to Anytype running on `localhost:31009` by default. Ensure your Anytype instance is running and accessible.
32
32
33
33
## Data Structure
34
34
35
-
The handler creates a "WhatsApp Location" type in AnyType with the following fields:
35
+
The handler creates a "WhatsApp Location" type in Anytype with the following fields:
36
36
37
37
-**User**: The WhatsApp user who sent the location (text field)
38
38
-**Latitude**: Geographic latitude in degrees (number field)
@@ -48,7 +48,7 @@ The handler operates automatically in the background. To capture locations:
48
48
1. Ensure the required environment variables are set
49
49
2. Start the sup bot with the WhatsApp Location handler enabled
50
50
3. Send or receive location messages in WhatsApp
51
-
4. Locations will be automatically stored in your AnyType workspace
51
+
4. Locations will be automatically stored in your Anytype workspace
52
52
53
53
## Handler Details
54
54
@@ -61,9 +61,9 @@ The handler operates automatically in the background. To capture locations:
61
61
### Common Issues
62
62
63
63
1.**Locations not being stored**: Verify environment variables are set correctly
64
-
2.**AnyType connection errors**: Ensure AnyType is running on localhost:31009
65
-
3.**Type creation failures**: Check AnyType API key permissions
64
+
2.**Anytype connection errors**: Ensure Anytype is running on localhost:31009
65
+
3.**Type creation failures**: Check Anytype API key permissions
66
66
67
67
### Debug Mode
68
68
69
-
Enable sup bot debug logging to see detailed information about location message processing and AnyType operations.
69
+
Enable sup bot debug logging to see detailed information about location message processing and Anytype operations.
0 commit comments