thephm / signal_md Goto Github PK
View Code? Open in Web Editor NEWSignal to Markdown tool
License: Apache License 2.0
Signal to Markdown tool
License: Apache License 2.0
Not a big issue since there's only 1 language so far! but still embarrassing!
Having a URL in the archive provides little context if the site is dead down the road. Could be better to grab the page title and create the Markdown hyperlink with the title.
Future could be to cache part of the page if not paywalled to provide additional context.
Currently a folder is created for each person and group along with a media
subfolder even if there are no messages and/or no attachments.
Want to support SMS Backup to Markdown so now I need to abstract out a bunch of the code that takes Messages, Groups and generates the Markdown so it can be used by the new sms_backup
sister tool
See if I remove / process a batch of messages (say for 1 day), the signald
daemon is still able to add to the log file.
Also, add a config setting to delete-as-you-go
which will control this behaviour
When someone puts an emoji on a message and then changes it, should only show the changed on, not the the original and not both
Seeing messages from myself and then responses from my wife after vs. inline / in order
e.g.
Bob at 22:14
> I'll ask Fred if he knows why
>
> ๐*fred*
Jane at 09:32
> I did that but couldnโt find it. Maybe cause I was watching on my iPad
Now that I'm changing it from copying attachments to moving them, I found out that if I share the same file with multiple people, signald
is smart to only keep one copy of the attachment.
[Errno 2] No such file or directory: '/mnt/c/data/src/signal-md/attachments/21303294281619984'
could not move the attachment: /mnt/c/data/src/signal-md/attachments/2736485282600702540 -> /mnt/c/data/src/signal-md/output/Daily Notes/media/2736485282600702540.jpg
So the same attachment is mentioned in multiple messages. The attachment is moved to its final resting place when processing one message. The next message(s) mentioning the attachment throws the exception since the file was already moved.
With the current implementation, each emoji appears as a separate message in the Markdown output and there's no way to tell which message is being reacted to
e.g. "SpongeBob: โค๏ธ Mr-Krab: ๐ Patrick: ๐คฃ"
Everything is working very well so it's time to start moving files instead of just copying them and putting this into my own "prod" environment.
It's weird because I'm using shutil.move(sourceFile, destFile)
to move the attachments where destFile
is just sourceFile
with the corresponding suffix added.
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.