.io to .com

This commit is contained in:
Niko Storni 2019-07-08 20:00:10 +02:00
parent 7cbcf9a1a6
commit b873d93bf6
8 changed files with 24 additions and 24 deletions

View file

@ -3,4 +3,4 @@ node_js:
- "node" - "node"
notifications: notifications:
email: false email: false
webhooks: https://lighthouse.lbry.io/autoupdate webhooks: https://lighthouse.lbry.com/autoupdate

View file

@ -4,7 +4,7 @@
[![MIT licensed](https://img.shields.io/dub/l/vibe-d.svg?style=flat)](https://github.com/lbryio/lighthouse/blob/master/LICENSE) [![MIT licensed](https://img.shields.io/dub/l/vibe-d.svg?style=flat)](https://github.com/lbryio/lighthouse/blob/master/LICENSE)
Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities. Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.
The official lighthouse instance is live at https://lighthouse.lbry.io The official lighthouse instance is live at https://lighthouse.lbry.com
### What does Lighthouse consist of? ### What does Lighthouse consist of?
@ -14,11 +14,11 @@ The official lighthouse instance is live at https://lighthouse.lbry.io
### API Documentation / Usage example ### API Documentation / Usage example
To make a simple search by string: To make a simple search by string:
``` ```
https://lighthouse.lbry.io/search?s=stringtosearch https://lighthouse.lbry.com/search?s=stringtosearch
``` ```
To get autocomplete suggestions: To get autocomplete suggestions:
``` ```
https://lighthouse.lbry.io/autocomplete?s=stringtocomp https://lighthouse.lbry.com/autocomplete?s=stringtocomp
``` ```
[The full API documentation](https://lbryio.github.io/lighthouse/) [The full API documentation](https://lbryio.github.io/lighthouse/)
@ -39,26 +39,26 @@ git clone https://github.com/lbryio/lighthouse
``` ```
>Install dependencies: >Install dependencies:
``` ```
yarn install --production=false npm run install --production=false
``` ```
>Build and run Lighthouse: >Build and run Lighthouse:
``` ```
yarn run prod npm run prod
``` ```
>You are now up and running! You can connect to lighthouse at http://localhost:50005, api documentation is [here](https://lbryio.github.io/lighthouse/). >You are now up and running! You can connect to lighthouse at http://localhost:50005, api documentation is [here](https://lbryio.github.io/lighthouse/).
Lighthouse will continue syncing in the background. It usually takes ~15 minutes before all claims are up to date in the database. Lighthouse will continue syncing in the background. It usually takes ~15 minutes before all claims are up to date in the database.
## Contributing ## Contributing
Contributions to this project are welcome, encouraged, and compensated. For more details, see [lbry.io/faq/contributing](https://lbry.io/faq/contributing) Contributions to this project are welcome, encouraged, and compensated. For more details, see [lbry.com/faq/contributing](https://lbry.com/faq/contributing)
## License ## License
This project is MIT Licensed © [LBRYio, Filip Nyquist](https://github.com/lbryio) This project is MIT Licensed © [LBRYio, Filip Nyquist](https://github.com/lbryio)
## Security ## Security
We take security seriously. Please contact security@lbry.io regarding any security issues. Our PGP key is [here](https://keybase.io/lbry/key.asc) if you need it. We take security seriously. Please contact security@lbry.com regarding any security issues. Our PGP key is [here](https://keybase.io/lbry/key.asc) if you need it.
## Contact ## Contact
The primary contact for this project is [@tiger5226](https://github.com/tiger5226) (beamer@lbry.io) The primary contact for this project is [@tiger5226](https://github.com/tiger5226) (beamer@lbry.com)

File diff suppressed because one or more lines are too long

View file

@ -10,14 +10,14 @@
}, },
"contact": { "contact": {
"name": "LBRY Inc", "name": "LBRY Inc",
"url": "https://lbry.io", "url": "https://lbry.com",
"email": "filip@lbry.io" "email": "filip@lbry.com"
}, },
"description": "Lighthouse is a search engine for the LBRY blockchain based on elasticsearch, chainquery and Node.JS." "description": "Lighthouse is a search engine for the LBRY blockchain based on elasticsearch, chainquery and Node.JS."
}, },
"servers": [ "servers": [
{ {
"url": "https://lighthouse.lbry.io" "url": "https://lighthouse.lbry.com"
} }
], ],
"paths": { "paths": {

View file

@ -2,7 +2,7 @@
"name": "lighthouse", "name": "lighthouse",
"description": "Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.", "description": "Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.",
"version": "0.0.1", "version": "0.0.1",
"author": "filipnyquist <filip@lbry.io>", "author": "filipnyquist <filip@lbry.com>",
"keywords": [ "keywords": [
"lbry", "lbry",
"search", "search",

View file

@ -157,7 +157,7 @@ function sleep (ms) {
function getBlockedOutpoints () { function getBlockedOutpoints () {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
rp(`https://api.lbry.io/file/list_blocked`) rp(`https://api.lbry.com/file/list_blocked`)
.then(function (htmlString) { .then(function (htmlString) {
resolve(htmlString); resolve(htmlString);
}) })
@ -188,7 +188,7 @@ function getClaimsSince (time, lastID, MaxClaimsInCall) {
`LIMIT ` + MaxClaimsInCall; `LIMIT ` + MaxClaimsInCall;
// Outputs full query to console for copy/paste into chainquery (debugging) // Outputs full query to console for copy/paste into chainquery (debugging)
console.log(query); console.log(query);
rp(`https://chainquery.lbry.io/api/sql?query=` + query) rp(`https://chainquery.lbry.com/api/sql?query=` + query)
.then(function (htmlString) { .then(function (htmlString) {
resolve(htmlString); resolve(htmlString);
}) })

View file

@ -174,7 +174,7 @@ function getRemovedClaims (oldClaimTrie, newClaimTrie) {
function getBlockedOutpoints () { function getBlockedOutpoints () {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
rp(`http://api.lbry.io/file/list_blocked`) rp(`http://api.lbry.com/file/list_blocked`)
.then(function (htmlString) { .then(function (htmlString) {
resolve(htmlString); resolve(htmlString);
}) })

View file

@ -10,14 +10,14 @@
}, },
"contact": { "contact": {
"name": "LBRY Inc", "name": "LBRY Inc",
"url": "https://lbry.io", "url": "https://lbry.com",
"email": "filip@lbry.io" "email": "filip@lbry.com"
}, },
"description": "Lighthouse is a search engine for the LBRY blockchain based on elasticsearch, chainquery and Node.JS." "description": "Lighthouse is a search engine for the LBRY blockchain based on elasticsearch, chainquery and Node.JS."
}, },
"servers": [ "servers": [
{ {
"url": "https://lighthouse.lbry.io" "url": "https://lighthouse.lbry.com"
} }
], ],
"paths": { "paths": {