Skip to main content

xanthus generates weekly updates from X bookmarks

Project description

Xanthus

PyPI version

Xanthus

Xanthus is a tool for managing your X (formerly Twitter) feed. It offers the following features:

  1. Gather bookmarks from your X account
  2. Gather others reaction on your bookmarks
  3. Generate threads from the bookmarks
pip install zf-xanthus

The following features are coming soon:

  1. Analyze your X feed and generate a summary
  2. Identify trends in your best performing tweets
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zf_xanthus-0.1.6.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

zf_xanthus-0.1.6-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

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

Hashes for zf_xanthus-0.1.6.tar.gz
Algorithm Hash digest
SHA256 afdfbeddb8f97b12a97c60e142431bd41437e8beea8f0d54b1e97ff92fa55dc7
MD5 d0386ebcd0178a27e1dc17c5cc964199
BLAKE2b-256 0c22641ebc3a0a5cf642cb325a29a8490696208bda393b17dcb4f8c9327e9564

See more details on using hashes here.

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

Hashes for zf_xanthus-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 367da123fc7933101b2f79006d1f37d544297f4612f24837b21230654434e4e2
MD5 2aea107410bb1819f96ec37296540312
BLAKE2b-256 a757c1a5fd025a9f53945a2b56cecaf363416bae9fd07c3110b79d043f58b07c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page