augustjanse / imgur-cisscriber Goto Github PK
View Code? Open in Web Editor NEWReddit bot replying to /u/imgurtranscriber's comments with an image generated by a meme generator other than Imgur's.
Reddit bot replying to /u/imgurtranscriber's comments with an image generated by a meme generator other than Imgur's.
Memes need to be catalogued in a way so that look-ups succeed more often for all generators. This means a list of alternative names for each meme, an Imgflip ID and a file name of the local template. Probably a simple XML file or something.
Traceback (most recent call last):
File "cisscriber.py", line 209, in <module>
main()
File "cisscriber.py", line 54, in main
if not already_replied(comment):
File "cisscriber.py", line 158, in already_replied
replied = open('.replied', 'r')
FileNotFoundError: [Errno 2] No such file or directory: '.replied'
Should probably be fixed eventually, workaround by touch .replied
.
Too many dependencies, put in a container? Docker?
APIMeme is probably not powerful enough.
This should be considered solved when support has been added for:
Additionally, it would be possible to add support for:
However, since the API is functioning poorly and the support doesn't answer, it will probably be skipped for now.
Bot should probably post all link all images after one another instead of just choosing one as is now. Absorbs #3.
Meme lookup fails most of the time. While memes.xml
is structured nicely (since #5), it needs more data for the lookup to work well. The file currently contains many typos that should either be corrected or complemented with the correct spellings.
This requires some manual work and may never be done.
APIMeme lookup tries only the name parsed from /u/imgurtranscriber, without trying the alternative names found in memes.xml
. It should do that when the parsed name fails.
As evident in this post, an ampersand character (&) in the transcription caused it and its following characters not to be cisscribed.
Probably store comment IDs in a textfile and check it.
Needed for use since a certain date.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.