Comments (8)
-
for Telegram/Twitter/Messenger/Hypothesis/Pocket/Instapaper -- added a relevant comment in your other issue, the example doc contains them.
In most cases, it uses another package, HPI for the data. So please let me know is you can follow HPI documentation! -
for Reddit, it's using the output of rexport. But I will switch it to HPI too (that makes it easier to configure)
-
for
auto.index
-- yes, these can be in pretty much anything that's plaintext, including org-mode files!One caveat, you might need extra libraries to parse org-mode or HTML or Mardown.
You can see the full list here.So in case of org, you'll need to do
pip3 install --user "promnesia[org]"
.
For markdown,pip3 install --user "promensia[markdown]"
, etc.The easiest is just to install all of them (if you don't mind), I'll add support for
promnesia[all]
I guess.
Let me know if something's unclear!
from promnesia.
Thanks a lot. Do you think that memacs or orger could do the trick by converting all the data to org? Then it could be read by your package?
from promnesia.
Yes, absolutely, if you run it against Memacs/Orger outputs it should work!
The main benefit of using a special module instead of just org-mode output is that you can get cleaner link extraction, permalinks, that sort of thing. Whereas if you are processing org-mode pretty much the only thing you can do without some specific knowledge about your data source is to extract the links and use the outline.
But for the most part it should be similar! And easier to setup perhaps.
from promnesia.
Thanks, your response goes to the point of what I was asking. So, if I understand correctly, your module Promnesia would work better with those tools you describe above for each service (Twitter, Telegram, etc.) than with the org output extracted with Orger or Memacs. My question is, if you want to have evens appearing on your Emacs agenda as well, then you would have to have all these tools at work (Memacs and all those). How do you manage all this? Would the info not be duplicated (having org files created by Memacs, plus the files created with Promnesia for the same apps? What is your pipeline? Would be good to know how you have set up everything.
from promnesia.
your module Promnesia would work better with those tools you describe above for each service (Twitter, Telegram, etc.) than with the org output extracted with Orger or Memacs.
Yep, correct! But again, I think for the most part I think using org-mode as input should be fine.
Would the info not be duplicated (having org files created by Memacs, plus the files created with Promnesia for the same apps?
Yep, good point! Basically for me the duplication happens in two places. I'll show with hypothes.is as an example:
- Orger, which generates org-mode for me, easy to browse in my Emacs https://github.com/karlicoss/orger/blob/master/modules/hypothesis.py
- promnesia module, which processes it for the promnesia database https://github.com/karlicoss/promnesia/blob/master/src/promnesia/sources/hypothesis.py
As you can see both scripts are pretty short, so I think that chances of data going out of sync are pretty low. That is thanks to both of them using HPI, which hides the details of data parsing and deserialization.
What is your pipeline?
I've started putting up a diagram here. It's a bit chaotic, but maybe gives some idea how I've got things set up :)
from promnesia.
Impressive management of your virtual life. Hands down. The hypothesis data processed with Orger is the one going to emacs, while the one processed with Promnesia goes to browser. So no conflict there, as I see. BTW, I noticed you are not using memacs at all. What are you replacing it with? Thanks!
from promnesia.
I noticed you are not using memacs at all
Yep, I'm using orger instead of memacs. There is no good reason, mostly because I only discovered Memacs after working on Orger, but I think they should be quite similar. I've been meaning to do a more detailed comparison, but haven't had time yet. Ideally would be great to cooperate and just merge them in a single tool, but haven't had time to work on it yet either :( If you check out both, please share your thoughts, I'd be keen to know!
from promnesia.
Thanks for your answers!
from promnesia.
Related Issues (20)
- Build fails in OpenBSD HOT 7
- "do not mark this link" interacts badly with fragments
- Add the possibility to index the .mm format
- Visited marks repeat to fill region HOT 1
- "422 Unprocessable Entity" on every page. HOT 2
- Sidebar doesn't show up on firefox HOT 3
- Not opened sidebar - Firefox HOT 2
- Not a directory: 'xdg-mime' while promnesia index HOT 1
- promnesia config create error HOT 1
- Extension error due to duplicated backslash HOT 1
- unable to build extension in Windows HOT 3
- raise CachewException(f"{tp}: doesn't look like a supported type to cache HOT 1
- POST /visits 500 Internal Server Error HOT 3
- fastapi/pydantic breaking versions HOT 2
- running multiple indexers simulatneously blocks the database
- Sidebar does not show in Firefox HOT 2
- Filters in config.py to exclude websites
- How to control the length of context while indexing
- Question: How to run promnesia cli tool without Python?
- AttributeError: 'pydantic_core._pydantic_core.Url' object has no attribute 'strip' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promnesia.