xfeed 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -2
- package/README.md +23 -3
- package/dist/index.js +11693 -0
- package/package.json +7 -4
- package/src/api/actions.ts +0 -16
- package/src/api/client.test.ts +0 -3370
- package/src/api/client.ts +0 -4319
- package/src/api/query-ids.json +0 -11
- package/src/api/query-ids.test.ts +0 -118
- package/src/api/query-ids.ts +0 -59
- package/src/api/runtime-query-ids.test.ts +0 -926
- package/src/api/runtime-query-ids.ts +0 -389
- package/src/api/types.ts +0 -581
- package/src/app.tsx +0 -664
- package/src/auth/browser-detect.ts +0 -150
- package/src/auth/browser-picker.ts +0 -118
- package/src/auth/check.test.preload.ts +0 -94
- package/src/auth/check.test.ts +0 -388
- package/src/auth/check.ts +0 -220
- package/src/auth/cookies.test.ts +0 -529
- package/src/auth/cookies.ts +0 -299
- package/src/auth/manual-entry.ts +0 -88
- package/src/auth/session.ts +0 -30
- package/src/components/ErrorBanner.tsx +0 -172
- package/src/components/Footer.tsx +0 -90
- package/src/components/Header.tsx +0 -57
- package/src/components/NotificationItem.test.ts +0 -252
- package/src/components/NotificationItem.tsx +0 -80
- package/src/components/NotificationList.test.ts +0 -328
- package/src/components/NotificationList.tsx +0 -157
- package/src/components/PostCard.tsx +0 -186
- package/src/components/PostList.tsx +0 -232
- package/src/components/QuotedPostCard.tsx +0 -55
- package/src/components/ReplyPreviewCard.tsx +0 -80
- package/src/components/ThreadView.prototype.tsx +0 -533
- package/src/components/Toast.tsx +0 -28
- package/src/config/loader.ts +0 -69
- package/src/config/types.ts +0 -27
- package/src/contexts/ModalContext.tsx +0 -227
- package/src/experiments/TimelineScreenExperimental.tsx +0 -202
- package/src/experiments/index.tsx +0 -43
- package/src/experiments/query-client.ts +0 -132
- package/src/experiments/use-bookmark-mutation.ts +0 -342
- package/src/experiments/use-bookmarks-query.ts +0 -166
- package/src/experiments/use-notifications-query.ts +0 -368
- package/src/experiments/use-post-detail-query.ts +0 -187
- package/src/experiments/use-profile-query.ts +0 -162
- package/src/experiments/use-timeline-query.ts +0 -201
- package/src/hooks/.gitkeep +0 -0
- package/src/hooks/useActions.ts +0 -354
- package/src/hooks/useBookmarkFolders.ts +0 -70
- package/src/hooks/useBookmarks.ts +0 -111
- package/src/hooks/useCountdown.ts +0 -75
- package/src/hooks/useListNavigation.test.ts +0 -273
- package/src/hooks/useListNavigation.ts +0 -118
- package/src/hooks/useNavigation.test.ts +0 -340
- package/src/hooks/useNavigation.ts +0 -103
- package/src/hooks/useNotifications.test.ts +0 -377
- package/src/hooks/useNotifications.ts +0 -117
- package/src/hooks/usePaginatedData.ts +0 -217
- package/src/hooks/usePostDetail.ts +0 -137
- package/src/hooks/useThread.prototype.ts +0 -314
- package/src/hooks/useTimeline.ts +0 -136
- package/src/hooks/useUserProfile.ts +0 -142
- package/src/index.tsx +0 -304
- package/src/lib/colors.ts +0 -41
- package/src/lib/format.ts +0 -69
- package/src/lib/media.ts +0 -464
- package/src/lib/result.ts +0 -6
- package/src/lib/text.tsx +0 -76
- package/src/modals/BookmarkFolderSelector.tsx +0 -260
- package/src/modals/ExitConfirmationModal.tsx +0 -131
- package/src/modals/FolderPicker.tsx +0 -281
- package/src/modals/README.md +0 -171
- package/src/modals/SessionExpiredModal.tsx +0 -47
- package/src/modals/index.ts +0 -4
- package/src/screens/.gitkeep +0 -0
- package/src/screens/BookmarksScreen.tsx +0 -168
- package/src/screens/NotificationsScreen.tsx +0 -172
- package/src/screens/PostDetailScreen.tsx +0 -976
- package/src/screens/ProfileScreen.tsx +0 -528
- package/src/screens/SplashScreen.tsx +0 -72
- package/src/screens/ThreadScreen.tsx +0 -81
- package/src/screens/TimelineScreen.tsx +0 -188
package/LICENSE
CHANGED
|
@@ -2,8 +2,6 @@ MIT License
|
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2025 Ali Ihsan Nergiz
|
|
4
4
|
|
|
5
|
-
Based on bird by Peter Steinberger (https://github.com/steipete/bird)
|
|
6
|
-
|
|
7
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
9
7
|
in the Software without restriction, including without limitation the rights
|
package/README.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/ainergiz/xfeed/actions/workflows/ci.yml)
|
|
4
4
|
|
|
5
|
-
Terminal-based X
|
|
5
|
+
Terminal-based X.com client with vim-style navigation so you never need to leave your terminal while your agent is on work. Stay dopaminated, stay in the loop :) Built with [OpenTUI](https://github.com/sst/opentui) and [Bun](https://bun.sh).
|
|
6
|
+
|
|
7
|
+
> **Early Development:** This project is in early development. Expect bugs and breaking changes.
|
|
6
8
|
|
|
7
9
|
## Install
|
|
8
10
|
|
|
@@ -18,7 +20,7 @@ bun install -g xfeed
|
|
|
18
20
|
|
|
19
21
|
- macOS or Linux
|
|
20
22
|
- [Bun](https://bun.sh) >= 1.0
|
|
21
|
-
- A terminal with true color support (
|
|
23
|
+
- A terminal with true color support ([Ghostty](https://ghostty.org), [iTerm2](https://iterm2.com), [Kitty](https://sw.kovidgoyal.net/kitty), [Warp](https://warp.dev))
|
|
22
24
|
- X/Twitter cookies in a supported browser (Safari, Chrome, Arc, Brave, Firefox)
|
|
23
25
|
|
|
24
26
|
## Usage
|
|
@@ -27,4 +29,22 @@ bun install -g xfeed
|
|
|
27
29
|
xfeed
|
|
28
30
|
```
|
|
29
31
|
|
|
30
|
-
On first run, you'll be prompted to select a browser to read cookies from.
|
|
32
|
+
On first run, you'll be prompted to select a browser to read cookies from or enter cookies manually.
|
|
33
|
+
|
|
34
|
+
## Contributing
|
|
35
|
+
|
|
36
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
37
|
+
|
|
38
|
+
## Disclaimer
|
|
39
|
+
|
|
40
|
+
This project is **not affiliated with, endorsed by, or connected to X Corp (formerly Twitter)** in any way. It uses undocumented APIs which may break at any time. **Use at your own risk.** The authors are not responsible for any consequences of using this software, including but not limited to account restrictions.
|
|
41
|
+
|
|
42
|
+
## Acknowledgments
|
|
43
|
+
|
|
44
|
+
- [bird](https://github.com/steipete/bird) by Peter Steinberger - X API client implementation
|
|
45
|
+
- [OpenTUI](https://github.com/sst/opentui) - Terminal UI framework
|
|
46
|
+
- [sweet-cookie](https://github.com/steipete/sweet-cookie) - Browser cookie extraction
|
|
47
|
+
|
|
48
|
+
## License
|
|
49
|
+
|
|
50
|
+
[MIT](LICENSE)
|