orakaro / rainbowstream

A smart and nice Twitter client on terminal written in Python.
https://github.com/orakaro/rainbowstream
MIT License
3.54k stars 260 forks source link

Tweeting images #133

Closed moeviz closed 3 years ago

moeviz commented 9 years ago

Is there a way to attach images to tweets at the moment?

Ardakilic commented 9 years ago

+1

I was wondering the same. May this be possible by providing the image path maybe?

motatoes commented 9 years ago

Yeah something like that, it's supported by the twitter API

patrickmaciel commented 8 years ago

I really like that

ghost commented 8 years ago

I came here trying to see if rainbowstream could handle tweeting images. Please do add this feature.

polarity commented 8 years ago

It should be in there, on the Webpage it says:

Tweet's images directly on your terminal

but i cant find it in the docs

Ardakilic commented 8 years ago

@polarity They are different. You can see already tweeted images from terminal directly, however you can't tweet with images over rainbowstream.

ghost commented 8 years ago

yeah like a 't -img "~/Pictures/testimage.png" Test image' command?

motatoes commented 7 years ago

Hey friends, I just implemented this feature locally using the format

t <tweet content> --i img1path,img2path,...

untitled

It only supports local images at the moment. What do you guys think of this api format? I'll submit a PR if there are no comments on this format. Developers can test this feature on my repo.

motatoes commented 7 years ago

I hope this feature can be merged @orakaro

markcross commented 7 years ago

@motatoes Hi I'm not really up to speed on Python and am a loss to install it on Ubuntu 16.04.2 I've tried any amounts of ways:

git clone https://github.com/motatoes/rainbowstream.git cd rainbowstream pip install -e .

mark@work:~/rainbowstream$ /home/mark/.local/bin/rainbowstream Traceback (most recent call last): File "/home/mark/.local/bin/rainbowstream", line 9, in load_entry_point('rainbowstream', 'console_scripts', 'rainbowstream')() File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 542, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2229, in load return self.resolve() File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2235, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/home/mark/rainbowstream/rainbowstream/rainbow.py", line 26, in from .consumer import * ImportError: No module named consumer

If I create a consumer.py file I just get:

mark@work:~/rainbowstream$ /home/mark/.local/bin/rainbowstream RainbowStream latest version is 1.3.7 while your current version is 1.3.1 You should upgrade with pip install -U rainbowstream

We have connection problem with twitter REST API right now :(

All I want to do is get image upload support :-)

Many thanks,

Mark

motatoes commented 7 years ago

Hey @markcross

I can't remember the excact steps but they are documented in the readme file. Basically you need to create your own twitter application from here https://apps.twitter.com/app/new, and then copy the app credintials in the consumer.py file that you created:

# Consumer information
CONSUMER_KEY = 'APIKey' # Your Twitter application's API key
CONSUMER_SECRET = 'APISecret' # Your Twitter application's API secret

After that you should be install it as you did above (although the docs recommend using virtualenv, which is reasonable)

markcross commented 7 years ago

Hi @motatoes

Stuck at:

(rainbowstream) mark@work:~/rainbowstream/motatoes/rainbowstream$ python setup.py install running install running bdist_egg running egg_info creating rainbowstream.egg-info writing requirements to rainbowstream.egg-info/requires.txt writing rainbowstream.egg-info/PKG-INFO writing top-level names to rainbowstream.egg-info/top_level.txt writing dependency_links to rainbowstream.egg-info/dependency_links.txt writing entry points to rainbowstream.egg-info/entry_points.txt writing manifest file 'rainbowstream.egg-info/SOURCES.txt' reading manifest file 'rainbowstream.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'rainbowstream.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/draw.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/init.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/c_image.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/consumer.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/config.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/rainbow.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/py3patch.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/interactive.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/pure_image.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/util.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/colors.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/emoji.py -> build/lib.linux-x86_64-2.7/rainbowstream copying rainbowstream/image.c -> build/lib.linux-x86_64-2.7/rainbowstream creating build/lib.linux-x86_64-2.7/rainbowstream/colorset copying rainbowstream/colorset/config -> build/lib.linux-x86_64-2.7/rainbowstream/colorset copying rainbowstream/colorset/larapaste.json -> build/lib.linux-x86_64-2.7/rainbowstream/colorset copying rainbowstream/colorset/monokai.json -> build/lib.linux-x86_64-2.7/rainbowstream/colorset copying rainbowstream/colorset/solarized.json -> build/lib.linux-x86_64-2.7/rainbowstream/colorset copying rainbowstream/colorset/tomorrow_night.json -> build/lib.linux-x86_64-2.7/rainbowstream/colorset creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/draw.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/init.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/c_image.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/consumer.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/config.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/rainbow.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/py3patch.py -> build/bdist.linux-x86_64/egg/rainbowstream creating build/bdist.linux-x86_64/egg/rainbowstream/colorset copying build/lib.linux-x86_64-2.7/rainbowstream/colorset/monokai.json -> build/bdist.linux-x86_64/egg/rainbowstream/colorset copying build/lib.linux-x86_64-2.7/rainbowstream/colorset/solarized.json -> build/bdist.linux-x86_64/egg/rainbowstream/colorset copying build/lib.linux-x86_64-2.7/rainbowstream/colorset/larapaste.json -> build/bdist.linux-x86_64/egg/rainbowstream/colorset copying build/lib.linux-x86_64-2.7/rainbowstream/colorset/config -> build/bdist.linux-x86_64/egg/rainbowstream/colorset copying build/lib.linux-x86_64-2.7/rainbowstream/colorset/tomorrow_night.json -> build/bdist.linux-x86_64/egg/rainbowstream/colorset copying build/lib.linux-x86_64-2.7/rainbowstream/image.c -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/interactive.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/pure_image.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/util.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/colors.py -> build/bdist.linux-x86_64/egg/rainbowstream copying build/lib.linux-x86_64-2.7/rainbowstream/emoji.py -> build/bdist.linux-x86_64/egg/rainbowstream byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/draw.py to draw.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/c_image.py to c_image.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/consumer.py to consumer.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/config.py to config.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/rainbow.py to rainbow.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/py3patch.py to py3patch.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/interactive.py to interactive.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/pure_image.py to pure_image.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/util.py to util.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/colors.py to colors.pyc byte-compiling build/bdist.linux-x86_64/egg/rainbowstream/emoji.py to emoji.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying rainbowstream.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying rainbowstream.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying rainbowstream.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying rainbowstream.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying rainbowstream.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying rainbowstream.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying rainbowstream.egg-info/zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO creating dist creating 'dist/rainbowstream-1.3.1-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing rainbowstream-1.3.1-py2.7.egg Copying rainbowstream-1.3.1-py2.7.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding rainbowstream 1.3.1 to easy-install.pth file Installing rainbowstream script to /home/mark/rainbowstream/rainbowstream/bin

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/rainbowstream-1.3.1-py2.7.egg Processing dependencies for rainbowstream==1.3.1 Searching for PySocks Reading https://pypi.python.org/simple/PySocks/ Downloading https://pypi.python.org/packages/7d/38/edca891ce16827a1de45cc347e4b6c22311eba25838b9825a5e6c48cf560/PySocks-1.6.7.tar.gz#md5=07007ec7ed46292dab06013f2e3af365 Best match: PySocks 1.6.7 Processing PySocks-1.6.7.tar.gz Writing /tmp/easy_install-HIACX0/PySocks-1.6.7/setup.cfg Running PySocks-1.6.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-HIACX0/PySocks-1.6.7/egg-dist-tmp-3_bmwY zip_safe flag not set; analyzing archive contents... Moving PySocks-1.6.7-py2.7.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding PySocks 1.6.7 to easy-install.pth file

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/PySocks-1.6.7-py2.7.egg Searching for Pillow Reading https://pypi.python.org/simple/Pillow/ Downloading https://pypi.python.org/packages/e0/82/ec499c78bfe4ecaa91c2f3000040451d187ed0a816d58b8543e29c48827f/Pillow-4.3.0.tar.gz#md5=ac8904e17922c8a699ff7d6cb0cf89cd Best match: Pillow 4.3.0 Processing Pillow-4.3.0.tar.gz Writing /tmp/easy_install-oZ5JnZ/Pillow-4.3.0/setup.cfg Running Pillow-4.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-oZ5JnZ/Pillow-4.3.0/egg-dist-tmp-5y3sjc warning: no files found matching '.sh' no previously-included directories found matching 'docs/_static' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.landscape.yaml' warning: no previously-included files found matching '.travis' warning: no previously-included files found matching '.travis/' warning: no previously-included files found matching 'appveyor.yml' warning: no previously-included files found matching 'build_children.sh' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files matching '.git' found anywhere in distribution warning: no previously-included files matching '.pyc' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution Building using 2 processes Building using 2 processes Building using 2 processes Building using 2 processes Building using 2 processes

PIL SETUP SUMMARY

version Pillow 4.3.0 platform linux2 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]

--- JPEG support available OPENJPEG (JPEG2000) support not available --- ZLIB (PNG/ZIP) support available LIBIMAGEQUANT support not available --- LIBTIFF support available --- FREETYPE2 support available RAQM support not available LITTLECMS2 support not available WEBP support not available WEBPMUX support not available

To add a missing option, make sure you have the required library and headers. See https://pillow.readthedocs.io/en/latest/installation.html#building-from-source

To check the build, run the selftest.py script.

Moving Pillow-4.3.0-py2.7-linux-x86_64.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding Pillow 4.3.0 to easy-install.pth file Installing pildriver.py script to /home/mark/rainbowstream/rainbowstream/bin Installing viewer.py script to /home/mark/rainbowstream/rainbowstream/bin Installing gifmaker.py script to /home/mark/rainbowstream/rainbowstream/bin Installing pilconvert.py script to /home/mark/rainbowstream/rainbowstream/bin Installing pilfont.py script to /home/mark/rainbowstream/rainbowstream/bin Installing pilfile.py script to /home/mark/rainbowstream/rainbowstream/bin Installing explode.py script to /home/mark/rainbowstream/rainbowstream/bin Installing pilprint.py script to /home/mark/rainbowstream/rainbowstream/bin Installing player.py script to /home/mark/rainbowstream/rainbowstream/bin Installing thresholder.py script to /home/mark/rainbowstream/rainbowstream/bin Installing painter.py script to /home/mark/rainbowstream/rainbowstream/bin Installing enhancer.py script to /home/mark/rainbowstream/rainbowstream/bin

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/Pillow-4.3.0-py2.7-linux-x86_64.egg Exception in thread Thread-1 (most likely raised during interpreter shutdown):Exception in thread Thread-2 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "/usr/lib/python2.7/threading.py", line 754, in run File "/usr/lib/python2.7/multiprocessing/pool.py", line 366, in _handle_tasks <type 'exceptions.TypeError'>: 'NoneType' object is not callable

Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "/usr/lib/python2.7/threading.py", line 754, in run File "/usr/lib/python2.7/multiprocessing/pool.py", line 330, in _handle_workers <type 'exceptions.TypeError'>: 'NoneType' object is not callable Exception TypeError: TypeError("'NoneType' object does not support item deletion",) in <Finalize object, dead> ignored Searching for twitter Reading https://pypi.python.org/simple/twitter/ Downloading https://pypi.python.org/packages/75/30/86a053e40068daece37a8167edc710fd6630ee58d14bcf2aa0997d79bfd4/twitter-1.17.1.tar.gz#md5=65219549f09a030719bac6e20b12c3eb Best match: twitter 1.17.1 Processing twitter-1.17.1.tar.gz Writing /tmp/easy_install-vtBF04/twitter-1.17.1/setup.cfg Running twitter-1.17.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vtBF04/twitter-1.17.1/egg-dist-tmp-Pm9rvl Moving twitter-1.17.1-py2.7.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding twitter 1.17.1 to easy-install.pth file Installing twitter-log script to /home/mark/rainbowstream/rainbowstream/bin Installing twitter script to /home/mark/rainbowstream/rainbowstream/bin Installing twitterbot script to /home/mark/rainbowstream/rainbowstream/bin Installing twitter-follow script to /home/mark/rainbowstream/rainbowstream/bin Installing twitter-stream-example script to /home/mark/rainbowstream/rainbowstream/bin Installing twitter-archiver script to /home/mark/rainbowstream/rainbowstream/bin

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/twitter-1.17.1-py2.7.egg Searching for pyfiglet Reading https://pypi.python.org/simple/pyfiglet/ Downloading https://pypi.python.org/packages/a2/65/4e29896298591d748f5ce4e96642b8a0a876b64ed7226b5ae65fae81e5c9/pyfiglet-0.7.5.tar.gz#md5=aa956f7af37926ab4b739c9ef87f3808 Best match: pyfiglet 0.7.5 Processing pyfiglet-0.7.5.tar.gz Writing /tmp/easy_install-6NoOyU/pyfiglet-0.7.5/setup.cfg Running pyfiglet-0.7.5/setup.py -q bdist_egg --dist-dir /tmp/easyinstall-6NoOyU/pyfiglet-0.7.5/egg-dist-tmp-BvcE7 zip_safe flag not set; analyzing archive contents... Moving pyfiglet-0.7.5-py2.7.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding pyfiglet 0.7.5 to easy-install.pth file Installing pyfiglet script to /home/mark/rainbowstream/rainbowstream/bin

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/pyfiglet-0.7.5-py2.7.egg Searching for requests==2.5.3 Reading https://pypi.python.org/simple/requests/ Downloading https://pypi.python.org/packages/a6/36/06a7d4261f91552f21f017fe162d69df95ca7925d1436c8acf73283ee3d0/requests-2.5.3.tar.gz#md5=23bf4fcc89ea8d353eb5353bb4a475b1 Best match: requests 2.5.3 Processing requests-2.5.3.tar.gz Writing /tmp/easy_install-9hFpbL/requests-2.5.3/setup.cfg Running requests-2.5.3/setup.py -q bdist_egg --dist-dir /tmp/easyinstall-9hFpbL/requests-2.5.3/egg-dist-tmp-8PDM6 creating /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/requests-2.5.3-py2.7.egg Extracting requests-2.5.3-py2.7.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding requests 2.5.3 to easy-install.pth file

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/requests-2.5.3-py2.7.egg Searching for arrow Reading https://pypi.python.org/simple/arrow/ Downloading https://pypi.python.org/packages/54/db/76459c4dd3561bbe682619a5c576ff30c42e37c2e01900ed30a501957150/arrow-0.10.0.tar.gz#md5=5d00592200050ad58284d45a4ee147c6 Best match: arrow 0.10.0 Processing arrow-0.10.0.tar.gz Writing /tmp/easy_install-KgOwVF/arrow-0.10.0/setup.cfg Running arrow-0.10.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-KgOwVF/arrow-0.10.0/egg-dist-tmp-qq3Ec4 creating /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/arrow-0.10.0-py2.7.egg Extracting arrow-0.10.0-py2.7.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding arrow 0.10.0 to easy-install.pth file

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/arrow-0.10.0-py2.7.egg Searching for python-dateutil Reading https://pypi.python.org/simple/python-dateutil/ Downloading https://pypi.python.org/packages/54/bb/f1db86504f7a49e1d9b9301531181b00a1c7325dc85a29160ee3eaa73a54/python-dateutil-2.6.1.tar.gz#md5=db38f6b4511cefd76014745bb0cc45a4 Best match: python-dateutil 2.6.1 Processing python-dateutil-2.6.1.tar.gz Writing /tmp/easy_install-O0pU_h/python-dateutil-2.6.1/setup.cfg Running python-dateutil-2.6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-O0pU_h/python-dateutil-2.6.1/egg-dist-tmp-yGdcqJ warning: no previously-included files matching 'pycache' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution Moving python_dateutil-2.6.1-py2.7.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding python-dateutil 2.6.1 to easy-install.pth file

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/python_dateutil-2.6.1-py2.7.egg Searching for olefile Reading https://pypi.python.org/simple/olefile/ Downloading https://pypi.python.org/packages/35/17/c15d41d5a8f8b98cc3df25eb00c5cee76193114c78e5674df6ef4ac92647/olefile-0.44.zip#md5=fc625554e4e7f0c2ddcd00baa3c74ff5 Best match: olefile 0.44 Processing olefile-0.44.zip Writing /tmp/easy_install-vBU49t/olefile-0.44/setup.cfg Running olefile-0.44/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vBU49t/olefile-0.44/egg-dist-tmp-h67IyB zip_safe flag not set; analyzing archive contents... Moving olefile-0.44-py2.7.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding olefile 0.44 to easy-install.pth file

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/olefile-0.44-py2.7.egg Searching for six>=1.5 Reading https://pypi.python.org/simple/six/ Downloading https://pypi.python.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz#md5=d12789f9baf7e9fb2524c0c64f1773f8 Best match: six 1.11.0 Processing six-1.11.0.tar.gz Writing /tmp/easy_install-947HfN/six-1.11.0/setup.cfg Running six-1.11.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-947HfN/six-1.11.0/egg-dist-tmp-EW0swh no previously-included directories found matching 'documentation/_build' zip_safe flag not set; analyzing archive contents... six: module references path creating /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/six-1.11.0-py2.7.egg Extracting six-1.11.0-py2.7.egg to /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages Adding six 1.11.0 to easy-install.pth file

Installed /home/mark/rainbowstream/rainbowstream/lib/python2.7/site-packages/six-1.11.0-py2.7.egg Finished processing dependencies for rainbowstream==1.3.1

(rainbowstream) mark@work:~/rainbowstream/motatoes/rainbowstream$ rainbowstream Traceback (most recent call last): File "/home/mark/rainbowstream/rainbowstream/bin/rainbowstream", line 11, in load_entry_point('rainbowstream==1.3.1', 'console_scripts', 'rainbowstream')() File "/home/mark/rainbowstream/rainbowstream/local/lib/python2.7/site-packages/pkg_resources/init.py", line 542, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/mark/rainbowstream/rainbowstream/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2569, in load_entry_point return ep.load() File "/home/mark/rainbowstream/rainbowstream/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2229, in load return self.resolve() File "/home/mark/rainbowstream/rainbowstream/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2235, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "build/bdist.linux-x86_64/egg/rainbowstream/rainbow.py", line 23, in File "build/bdist.linux-x86_64/egg/rainbowstream/draw.py", line 15, in File "build/bdist.linux-x86_64/egg/rainbowstream/c_image.py", line 4, in File "build/bdist.linux-x86_64/egg/rainbowstream/config.py", line 181, in File "build/bdist.linux-x86_64/egg/rainbowstream/config.py", line 171, in init_config KeyError: 'THEME'

TinKurbatoff commented 5 years ago

Hi,

still waiting for this feature in the original version. Any updates? How can I help? It would be so-o-o useful...

motatoes commented 5 years ago

@TinKurbatoff I am not sure, the repository is a bit dead. Maybe we should make a fork to work on updates to this project? @orakaro ?

TlilChicnahui commented 4 years ago

Hey friends, I just implemented this feature locally using the format

t <tweet content> --i img1path,img2path,...

untitled

It only supports local images at the moment. What do you guys think of this api format? I'll submit a PR if there are no comments on this format. Developers can test this feature on my repo.

Hi, I am trying to use the feature with the test PNG image but it doesn't work. It just posts the path to my twitter feed, and does not upload the image itself. Tried putting it in my current dir to avoid having to enter the full path, but without success. What am I doing wrong?

Deus0 commented 3 years ago

Hey.. Did this feature ever get merged/implemented? Kinda seems silly to not have it in the first place.

Deus0 commented 3 years ago

I read through the rainbow.py.. it seems to of been removed..

DillonMenefee commented 3 years ago

Damn. That is what I was searching for. Wanted to script image uploads.

TinKurbatoff commented 3 years ago

On Tue, Apr 13, 2021 at 6:39 PM DillonMenefee @.***> wrote:

Damn. That is what I was searching for. Wanted to script image uploads.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/orakaro/rainbowstream/issues/133#issuecomment-819097609, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPWCYKGSKSGBD27AVRURXDTITBZHANCNFSM4BPTKKGQ .

Will check tomorrow.

orakaro commented 3 years ago

Hey guys sorry for take so long. I am working on @motatoes PR and will get it merged soon. Cheers!

motatoes commented 3 years ago

Welcome back @orakaro ! I will take a look at your review tonight

motatoes commented 3 years ago

Hey @orakaro I just addressed the changes in your review :)

orakaro commented 3 years ago

Hi everyone, @motatoes PR is merged and it should work for now

DillonMenefee commented 3 years ago

Still seeing the same issue as reported by @TinKurbatoff

The post with the --i flag is just posting the text of the file path and not the file.