This tool able you to make much more cyberlinks easier. You can move arxiv.org articles to the Great Web by relevant keywords. Thanks to this keyword extractor.
The tool:
- parses articles metadata by keyword you interesting in
- gets the keywords from the article summary
- downloads the article in pdf
- calculates ipfs hashes from keywords, title and downloaded pdf
- pins all hashes to you machine
- generate the unsigned transaction type
[keywords_ipfs_hashes] - > article_ipfs_hash
This is a semi-automatic script. Work in progress and so far from ideal.
Parsing arxiv and generating transactions:
-
Clone this repo and go into it
git clone https://github.com/SaveTheAles/arxiv_crawler.git cd arxiv_crawler
-
Install python packages
pip install pandas pip install arxiv pip install multi-rake pip install ipfshttpclient pip install progressbar pip install json
-
Fill
config.py
Put your
cyber
address asADDRESS
variable andQUERY
variable as keyword you want to discover. -
Run main.py
python3 main.py
As result of this command will be
./data/txs/link_txN.json
files with prepared for signing and broadcasting tocyber
network
Sign and broadcast transactions. This step will use a simple bash script. It will work only if you allow you tx signing without a password. Otherwise, you should update it or sign transactions manually.
-
Make executable:
chmod u+x sign-brod.sh
-
Define range for loop (from 0 till number of transactions) in
sign-brod.sh
-
Insert the proxy node in
sign-brod.sh
-
Run sign-brod.sh:
./sign-brod.sh
You should see broadcasted transactions as output in console.
- Built-in signer and broadcaster
- Storage for saving state
- Checks for valid txs and bandwidth
Welcome. If you knows how to implement some or make the tool better do it for the Great Justice! Check the ToDo section and Wishlist for inspiration.
Here you can add with PR all features you want.