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.
Files changed (84) hide show
  1. package/LICENSE +0 -2
  2. package/README.md +23 -3
  3. package/dist/index.js +11693 -0
  4. package/package.json +7 -4
  5. package/src/api/actions.ts +0 -16
  6. package/src/api/client.test.ts +0 -3370
  7. package/src/api/client.ts +0 -4319
  8. package/src/api/query-ids.json +0 -11
  9. package/src/api/query-ids.test.ts +0 -118
  10. package/src/api/query-ids.ts +0 -59
  11. package/src/api/runtime-query-ids.test.ts +0 -926
  12. package/src/api/runtime-query-ids.ts +0 -389
  13. package/src/api/types.ts +0 -581
  14. package/src/app.tsx +0 -664
  15. package/src/auth/browser-detect.ts +0 -150
  16. package/src/auth/browser-picker.ts +0 -118
  17. package/src/auth/check.test.preload.ts +0 -94
  18. package/src/auth/check.test.ts +0 -388
  19. package/src/auth/check.ts +0 -220
  20. package/src/auth/cookies.test.ts +0 -529
  21. package/src/auth/cookies.ts +0 -299
  22. package/src/auth/manual-entry.ts +0 -88
  23. package/src/auth/session.ts +0 -30
  24. package/src/components/ErrorBanner.tsx +0 -172
  25. package/src/components/Footer.tsx +0 -90
  26. package/src/components/Header.tsx +0 -57
  27. package/src/components/NotificationItem.test.ts +0 -252
  28. package/src/components/NotificationItem.tsx +0 -80
  29. package/src/components/NotificationList.test.ts +0 -328
  30. package/src/components/NotificationList.tsx +0 -157
  31. package/src/components/PostCard.tsx +0 -186
  32. package/src/components/PostList.tsx +0 -232
  33. package/src/components/QuotedPostCard.tsx +0 -55
  34. package/src/components/ReplyPreviewCard.tsx +0 -80
  35. package/src/components/ThreadView.prototype.tsx +0 -533
  36. package/src/components/Toast.tsx +0 -28
  37. package/src/config/loader.ts +0 -69
  38. package/src/config/types.ts +0 -27
  39. package/src/contexts/ModalContext.tsx +0 -227
  40. package/src/experiments/TimelineScreenExperimental.tsx +0 -202
  41. package/src/experiments/index.tsx +0 -43
  42. package/src/experiments/query-client.ts +0 -132
  43. package/src/experiments/use-bookmark-mutation.ts +0 -342
  44. package/src/experiments/use-bookmarks-query.ts +0 -166
  45. package/src/experiments/use-notifications-query.ts +0 -368
  46. package/src/experiments/use-post-detail-query.ts +0 -187
  47. package/src/experiments/use-profile-query.ts +0 -162
  48. package/src/experiments/use-timeline-query.ts +0 -201
  49. package/src/hooks/.gitkeep +0 -0
  50. package/src/hooks/useActions.ts +0 -354
  51. package/src/hooks/useBookmarkFolders.ts +0 -70
  52. package/src/hooks/useBookmarks.ts +0 -111
  53. package/src/hooks/useCountdown.ts +0 -75
  54. package/src/hooks/useListNavigation.test.ts +0 -273
  55. package/src/hooks/useListNavigation.ts +0 -118
  56. package/src/hooks/useNavigation.test.ts +0 -340
  57. package/src/hooks/useNavigation.ts +0 -103
  58. package/src/hooks/useNotifications.test.ts +0 -377
  59. package/src/hooks/useNotifications.ts +0 -117
  60. package/src/hooks/usePaginatedData.ts +0 -217
  61. package/src/hooks/usePostDetail.ts +0 -137
  62. package/src/hooks/useThread.prototype.ts +0 -314
  63. package/src/hooks/useTimeline.ts +0 -136
  64. package/src/hooks/useUserProfile.ts +0 -142
  65. package/src/index.tsx +0 -304
  66. package/src/lib/colors.ts +0 -41
  67. package/src/lib/format.ts +0 -69
  68. package/src/lib/media.ts +0 -464
  69. package/src/lib/result.ts +0 -6
  70. package/src/lib/text.tsx +0 -76
  71. package/src/modals/BookmarkFolderSelector.tsx +0 -260
  72. package/src/modals/ExitConfirmationModal.tsx +0 -131
  73. package/src/modals/FolderPicker.tsx +0 -281
  74. package/src/modals/README.md +0 -171
  75. package/src/modals/SessionExpiredModal.tsx +0 -47
  76. package/src/modals/index.ts +0 -4
  77. package/src/screens/.gitkeep +0 -0
  78. package/src/screens/BookmarksScreen.tsx +0 -168
  79. package/src/screens/NotificationsScreen.tsx +0 -172
  80. package/src/screens/PostDetailScreen.tsx +0 -976
  81. package/src/screens/ProfileScreen.tsx +0 -528
  82. package/src/screens/SplashScreen.tsx +0 -72
  83. package/src/screens/ThreadScreen.tsx +0 -81
  84. 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
  [![CI](https://github.com/ainergiz/xfeed/actions/workflows/ci.yml/badge.svg)](https://github.com/ainergiz/xfeed/actions/workflows/ci.yml)
4
4
 
5
- Terminal-based X/Twitter viewer with vim-style navigation.
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 (iTerm2, Ghostty, Kitty, Warp)
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)