chylex / tweetduck Goto Github PK
View Code? Open in Web Editor NEWA Windows Client for TweetDeck. Not affiliated with Twitter.
Home Page: https://tweetduck.chylex.com
License: MIT License
A Windows Client for TweetDeck. Not affiliated with Twitter.
Home Page: https://tweetduck.chylex.com
License: MIT License
From #11
Having the program active in the tray is what I value the most in a Twitter client. It would be nice if you could bring this feature back.
Plugins will be folders placed in the /plugins/user/ (with official plugins in /plugins/official/).
Each plugin consists of a .meta file which contains information about the plugin, and at least one of browser.js and notification.js files, which contain the actual script that is ran either in the browser or notification window.
Browser plugins have access to the full library set of TweetDeck (such as jQuery or TD's custom front-end functions), notification plugins can only use vanilla JS. All plugins have access to global variables, including $TD for communication with the C# end.
Here is a rough base of a plugin. All overridden functions except for constructor are empty and do not require a super call.
.meta
[name]
Example Plugin
[description]
This is an example plugin.
It does stuff.
[author]
chylex
[version]
1.0
[requires]
1.2.3
(only name tag is required; the value of requires defaults to wildcard (*) but the program will not load the plugin if an invalid version is provided)
browser.js
constructor(){
super({
requiresPageReload: true // reloads page when manually enabled or disabled
});
}
enabled(){
// prepare variables, modify global variables, update stylesheets
}
ready(){
// modify the contents as the page has finished loading, add event listeners
}
disabled(){
// remove event listeners and revert everything to original state
}
notification.js
constructor(){
super({
// currently no options
});
}
run(){
// setup everything, ran for every notification
}
This is a very basic plugin system that will be expanded in the future if there is any interest in it. Ideas and feedback appreciated.
The installer currently unconditionally creates a Desktop shortcut to TweetDuck.
Add an installer option to enable/disable creation of Desktop shortcut, which is standard, good and polite practice for installers.
May default to ON.
If I have accounts A, B, C, and D, I'd like to have a column that's "mentions of A, C, or D" - which does include tweets that mention both A & B but doesn't include tweets that mention only B (so excluding @b doesn't work since then I don't see tweets to both A & B). Thanks!
Twitter conversation reference - https://twitter.com/RheingoldRiver/status/750519349795024896
When checking for TweetDuck updates, the 'Update available' dialog (notification window) is displayed (in my case) on Monitor 2, bottom-left corner, and never goes away, which is not the same as the settings configured in Notifications settings.
My current notification settings are:
As a user I expect all notifications to use these settings, unless there are separate settings for each (which seems unnecessary
Update notifications should:
Renders with wrong z-order when clicked.
Add a Mute option to the program settings and tray context menu to temporarily disable pop-up and sound notifications. Requires the new notification system to be implemented first.
Split from #24.
Post all suggestions for the new Settings menu here. I will be updating the main list over time.
I don't see any mention of it in the settings. Do notifications need to be enabled in a feed for it to work?
Because I'm afraid of them getting in the way while I do a recording, I have alerts and sound notifications off, but I would like to be able to glance at the tray to know whether there have been new tweets since I last checked.
Right now if you right click the timestamp of a tweet after opening it you can copy link location to get a permalink to the tweet. It would be awesome if you could do this by right-clicking in the blank space of the tweet without focusing first
Option to inject custom CSS to both the browser and notification window.
TODO: Figure out if Microsoft has any documents on tray functionality design.
Basically restore the default behavior in tweetdeck upon hovering a link when the expand on hover option is toggled off
It's somewhat ironic that you can't upload video files through the TweetDeck webapp but you can via the Twitter web client. Is there any way you could add compatibility with mp4 videos?
Additionally, another feature I really like from the website client is that you can paste pictures directly from the clipboard. Could this be also possible to implement?
Thanks!
I don't think lengthening URLs when you hover the cursor over links is really useful. The following messages change position all around and it's distracting. I think placing the cursor over the link for a second and showing the full URL in a fading message would be much more comfortable for user experience.
Links in the About TweetDuck pop-up do not do anything when clicked. Just thought you should know :)
Minimize to tray and close to tray are nice, but a combination of both would even be better -> Go to tray either on minimize or close.
It used to be, if I have a column belonging to @A, and @b is currently my default selected "reply from" account, and I click "reply" from a tweet in @A's column, it replies from @b.
But now it assumes that because the feed is from @A, I want to reply from @A. Is it possible to make it not do this (as a toggleable option), i.e. so it will never change the default acc that I'm replying from based on column?
If it were a toggle per column that would be super awesome (ie have it be the old way for @A home but the new way for Mentions (all accounts) but mostly just the above is what I care about.
If the program closes unsuccessfully, the lock file may contain the ID of a newly spawned process, so check the process name to make sure it is TweetD*ck.
This option wasn't ever re-added to the client, need to figure out how the original client worked.
Add support for creating and viewing Twitter polls (unless Twitter implements the functionality first).
Adding a new object to call C# code.
$token
variable in each plugin to allow plugin-specific method callsstring ReadFile(int token, string path, bool cache)
opens a file inside the plugin folder* and reads the contents into a string (returns empty string on error of if the file does not exist); if cache is enabled and the file is present in it, the cached value is returned insteadbool WriteFile(int token, string path, string contents)
opens a file in the plugin folder* and writes the contents into it, returns true on successbool DeleteFile(int token, string path)
deletes a file in the plugin folder*, returns true on success* all paths are relative and children of the plugin content folder (where .meta etc are located; no absolute paths or going above using ..), created automatically if they don't exist
Some programs have issues processing copied links (Skype).
Toggling it will rename libEGL.dll and libGLESv2.dll and restart the program.
Tweetdeck had the possibility to minimize to tray when you hit the close button.
Is it possible to add this feature also in TweetDick?
When you put this code in code.js before the rule "var initializeTweetDick = function(){" you can see in settings/general the option "Minimize to tray on close".
window.minimizetotray = true; window.deck = { "inApp": function(){ return true; }, "osname": function(){ return "osx"; }, "getWrapperVersion":function(){ return "3.7.0"; }, "getMinimizeToTraySetting":function(){ return window.minimizetotray; }, "setMinimizeToTraySetting":function(){ return window.minimizetotray = !window.minimizetotray; } } TD.util.isWrapperApp.cache.set(undefined,true);
Off course it don't work at the moment .
Here some information about it. http://stackoverflow.com/questions/3737053/cancel-a-winform-minimize http://stackoverflow.com/questions/17681686/minimized-application-showing-above-the-task-bar
It would be nice if you could use shift + enter (or an equivalent shortcut) to submit a tweet. Not exactly a very important feature, but it'd be nice.
On my system (Win7/64), no notifications are shown and no sound is heard. But when restoring the TweetDuck window the message counter is increased.
I think it would be much more convenient if clicking the TweetDuck icon would open the application while it is closed in the system tray, rather than asking you if you want to terminate the current instance and open a new one.
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.