plhery / unfollowninja Goto Github PK
View Code? Open in Web Editor NEWGet notified when your Twitter account loses a follower.
Home Page: https://unfollow.ninja
License: Other
Get notified when your Twitter account loses a follower.
Home Page: https://unfollow.ninja
License: Other
We just have to call "docker-compose up" inside of unfollowNinja-server/tests (instead of npm test)
Currently, to fight false notifications, we double-check some information to confirm an unfollow, and in some cases (e.g "left twitter") we wait 15min and check that the user is still unfollowed before sending the notification.
We could create a task triggered 20min after each unfollow notification, check that the user is still unfollowed, and gather stats to help us fight the cases where we notice the user is not unfollowed anymore.
Some ideas:
For the users who don't want to give access to their DMs (which is understandable)
Could be useful for the UI / stats / a 2020 unwrapped...
depends on #11
A new UI made with react was made https://unfollowninja.netlify.com, but never finished.
I connected unfollow monkey to my accounts a few days ago and I have not gotten one notification for any unfollow or anything
I can't see the graceful shutdown logs in docker logs when I restart the docker container... Is there something wrong, is the SIGTERM signal correctly sent?
UnfollowNinja sends a notification that @userSoftBlocked unfollowed you if you block @userSoftBlocked for a moment and then unblock them.
A notification that the user (I) blocked @userSoftBlocked.
A notification that @userSoftBlocked unfollowed the user.
Recheck every unfollows 15min later and possibly send a "@xxx follows you again".
Currently to share work between the (currently 8) node workers/threads/CPUs, I use a task queue.
Which means every minute, ~10 000 tasks should be created in redis then dequeued then marked as done then deleted.
I believe we could make these faster by making each thread process one (twitterID % 8). One worker may finish slightly before the others, but with that amount of users, it should not be that significant, and things should go faster.
Currently the backend is a bit mixed with the legacy express.js UI, which can generate pages with the users's information by wildly/hackily sharing a cookie with the API.
Instead of loading everyone's whole list of followers from the DB, store a hash of them, and load them only if there was a change.
We'd still need to download that whole list from Twitter
Kudos to @GeoffreyFrogeye for the idea https://twitter.com/GeoffreyFrogeye/status/1282637796168081408
Can you please create an docker image for the UI?
It's been years the backend can switch a param to send DMs in English, but it never made its way to the UI
Though I'm not sure if it's wise as there is a 100 000 limit for Twitter apps (there may be exceptions?).
So it may be better to create a separate i18n twitter app/account/website.
All twittos usernames are currently stored in redis, to retrieve them if some of them leave Twitter.
I estimated that these were using 25% of redis space.
There is not that much read/write operations so there is no reason to store these in an in-memory db.
(We should copy/keep/update our users's usernames in redis though, as these are currently accessed ~10 000 times/minute)
I temporarily deleted my account. I re-stored my account about a few weeks ago. Once I tried to gain access to this service it kept giving me the same message, it’s saying I need to log out & log back in. I do that, then it repeats the message. Not sure what else I need to do.
As Kue is deprecated https://github.com/Automattic/kue
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.