Skip to content
Permalink
Browse files

.io to .com

  • Loading branch information...
nikooo777 committed Jul 8, 2019
1 parent 7cbcf9a commit b873d93bf62bcff3e22bb4173b8cdb0f0d15557e
Showing with 24 additions and 24 deletions.
  1. +1 −1 .travis.yml
  2. +8 −8 README.md
  3. +5 −5 docs/index.html
  4. +3 −3 docs/swagger.json
  5. +1 −1 package.json
  6. +2 −2 server/utils/chainquery/index.js
  7. +1 −1 server/utils/importer/index.js
  8. +3 −3 swagger.json
@@ -3,4 +3,4 @@ node_js:
- "node"
notifications:
email: false
webhooks: https://lighthouse.lbry.io/autoupdate
webhooks: https://lighthouse.lbry.com/autoupdate
@@ -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)

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?

@@ -14,11 +14,11 @@ The official lighthouse instance is live at https://lighthouse.lbry.io
### API Documentation / Usage example
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:
```
https://lighthouse.lbry.io/autocomplete?s=stringtocomp
https://lighthouse.lbry.com/autocomplete?s=stringtocomp
```
[The full API documentation](https://lbryio.github.io/lighthouse/)

@@ -39,26 +39,26 @@ git clone https://github.com/lbryio/lighthouse
```
>Install dependencies:
```
yarn install --production=false
npm run install --production=false
```
>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/).
Lighthouse will continue syncing in the background. It usually takes ~15 minutes before all claims are up to date in the database.
## 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
This project is MIT Licensed © [LBRYio, Filip Nyquist](https://github.com/lbryio)

## 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

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)

Large diffs are not rendered by default.

@@ -10,14 +10,14 @@
},
"contact": {
"name": "LBRY Inc",
"url": "https://lbry.io",
"email": "filip@lbry.io"
"url": "https://lbry.com",
"email": "filip@lbry.com"
},
"description": "Lighthouse is a search engine for the LBRY blockchain based on elasticsearch, chainquery and Node.JS."
},
"servers": [
{
"url": "https://lighthouse.lbry.io"
"url": "https://lighthouse.lbry.com"
}
],
"paths": {
@@ -2,7 +2,7 @@
"name": "lighthouse",
"description": "Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.",
"version": "0.0.1",
"author": "filipnyquist <filip@lbry.io>",
"author": "filipnyquist <filip@lbry.com>",
"keywords": [
"lbry",
"search",
@@ -157,7 +157,7 @@ function sleep (ms) {

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

function getBlockedOutpoints () {
return new Promise((resolve, reject) => {
rp(`http://api.lbry.io/file/list_blocked`)
rp(`http://api.lbry.com/file/list_blocked`)
.then(function (htmlString) {
resolve(htmlString);
})
@@ -10,14 +10,14 @@
},
"contact": {
"name": "LBRY Inc",
"url": "https://lbry.io",
"email": "filip@lbry.io"
"url": "https://lbry.com",
"email": "filip@lbry.com"
},
"description": "Lighthouse is a search engine for the LBRY blockchain based on elasticsearch, chainquery and Node.JS."
},
"servers": [
{
"url": "https://lighthouse.lbry.io"
"url": "https://lighthouse.lbry.com"
}
],
"paths": {

0 comments on commit b873d93

Please sign in to comment.
You can’t perform that action at this time.