dudemeister / hal Goto Github PK
View Code? Open in Web Editor NEWawesome search stuff
awesome search stuff
############################################################################################ THE HAL SEARCH ENGINE PROTOCOL FOR PROTONET ############################################################################################ _.--"""""--._ ,-' `-. _ ,' --- - ---- --- `. ,'|`. ,' ________________`. O`.+,'O / /____(_______)___\ \ _......_ ,=. __________; _____ ____ _____ _____ : ,' ,--.-`,,;,:,;;;;;;;///////////| ----- ---- ----- ----- | ( SSt( ==)=========================| ,---. ,---. ,. | `._ `--'-,``````"""""""\\\\\\\\\\\: /`. ,'\ /_ \ /\/\ ; `````` \ : Y : :-'-. : : ): / `. \ | / \=====/ \/\/' `. `-'-' `---' ;' `-._ _,-' `--.....--' ,--. ().0() `'-' ############################################################################################ # # This is not a testet version and should contain Bugs # # 1. What is HAL ============= HAL is the search engine, for managing the index tables of the files stored in a Protonet node. It should add files to the HAL Index and can response to search request. In the first version it should only collect files from local node and give response to search from the local node. It the later version if HAL works in a Supernode, HAL will work as file Index Storage for all node's which are connected to HAL. HAL will also later send his Index Table to the Supernodes which his local node is connected. 2. Working ========== Every node has a secret key for the communication with HAL. If the Key is not correct, HAL will not accept incomming connections for adding new Files to the index. Every file will have an acces code, because of security issue. The Acces code is different on every node. For example on the first node public acces code is 432 and an other node is 564. Every node nows his local acces code. possible Acces Codes are a. Public for all nodes b. Public for pc connected to local node c. For specified User in Protonet d. Private 3. Simple Protokoll =================== # Adding new Files: Request: <asset type="new" key="hashvalue" > <path>hashvalue of path</path> <file>hashvalue of filename</file> <acces>hashvalue of acces_code</acces> </asset> Response : 200 # Search Request : <search> <node>Nodename</node> <search>Search</search> </search> Response : <node> Nodename </node> <results> <result> <filename> Name of the File <filename> <filetype> type of the file </filetype> <description> File Description <description> </result> .... </result>
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.