xanthus generates weekly updates from X bookmarks
Project description
Xanthus
Xanthus is a tool for managing your X (formerly Twitter) feed. It offers the following features:
- Gather bookmarks from your X account
- Gather others reaction on your bookmarks
- Generate threads from the bookmarks
pip install zf-xanthus
The following features are coming soon:
- Analyze your X feed and generate a summary
- Identify trends in your best performing tweets
- Generate a weekly summary of your X feed
Usage
Gather Cookies
Install the Get cookies.txt LOCALLY
extension from Chrome and use it on X.com to get the cookies.
This will save the cookies to a file called x.com_cookies.txt
in your Downloads directory.
Gather Bookmarks
$ xanthus --bookmarks https://x.com/i/bookmarks/{bookmarks_category_id}
This will output the list of bookmarks from this week at bookmarks_YYYY-MM-DD.json
Generate Threads
It is recommended to use Claude 3.5 Sonnet for this task.
I will give you the list of weekly updates on Twitter in a JSON format. The primary focus of my account is in the AI domain. Your goal is to provide me the content for a Weekly Update Summary Thread based on the data.
Data (see attached):
Format:
* You will write multiple tweets forming a thread based on the posts above such that the most
important announcement comes on the top
* First post will be a generic announcement posts e.g. "Big updates from X, Y and Z in the A, B,
C categories. Here's what you need to know:"
* You should then output a list of tweets in a twitter thread. Each tweet should summarize an
important update and then provide the link of the relevant tweet e.,g. "Avi just unveiled Friend, an AI wearable designed to combat loneliness by providing constant companionship https://x.com/AviSchiffmann/status/1818284595902922884"
* You should use the last week as a call to action e.g. "Follow @zeffmuks for more updates in X, Y, Z"
License
All Rights Reserved (c) Zeff Muks 2024
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file zf_xanthus-0.1.6.tar.gz
.
File metadata
- Download URL: zf_xanthus-0.1.6.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afdfbeddb8f97b12a97c60e142431bd41437e8beea8f0d54b1e97ff92fa55dc7 |
|
MD5 | d0386ebcd0178a27e1dc17c5cc964199 |
|
BLAKE2b-256 | 0c22641ebc3a0a5cf642cb325a29a8490696208bda393b17dcb4f8c9327e9564 |
File details
Details for the file zf_xanthus-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: zf_xanthus-0.1.6-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 367da123fc7933101b2f79006d1f37d544297f4612f24837b21230654434e4e2 |
|
MD5 | 2aea107410bb1819f96ec37296540312 |
|
BLAKE2b-256 | a757c1a5fd025a9f53945a2b56cecaf363416bae9fd07c3110b79d043f58b07c |