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
Metadata
Release files for zf-xanthus 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zf_xanthus-0.1.6.tar.gz | 8.3 kB | Without provenance | Details for zf_xanthus-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zf_xanthus-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for zf_xanthus-0.1.6-py3-none-any.whl |
Total release size: 15.7 kB
Release files / zf_xanthus-0.1.6.tar.gz
| Download URL | zf_xanthus-0.1.6.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afdfbeddb8f97b12a97c60e142431bd41437e8beea8f0d54b1e97ff92fa55dc7
|
|
BLAKE2b-256 checksum How to use checksums |
0c22641ebc3a0a5cf642cb325a29a8490696208bda393b17dcb4f8c9327e9564
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / zf_xanthus-0.1.6-py3-none-any.whl
| Download URL | zf_xanthus-0.1.6-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
367da123fc7933101b2f79006d1f37d544297f4612f24837b21230654434e4e2
|
|
BLAKE2b-256 checksum How to use checksums |
a757c1a5fd025a9f53945a2b56cecaf363416bae9fd07c3110b79d043f58b07c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Security for zf-xanthus 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.