Jay Taylor's notes
back to listing indexroscopecoltran/gcse
[web search]
Original source (github.com)
Clipped on: 2018-04-05
roscopecoltran/gcse forked from daviddengcn/gcse
Project for Go Search, a search engine for finding popular and relevant packages.
http://go-search.org/
Go
HTML
CSS
JavaScript
Makefile
Batchfile
Shell
Pull request
Compare
This branch is 9 commits ahead of daviddengcn:master.
Latest commit
a103e92
on Jan 22
README.md
Go Search
A keyword search engine helping people to find popular and relevant Go packages.
Online service: Go Search
This is the root package with shared functions.
Sub packages are commands for running:
- HTTP Server: Searching and web service
- ToCrawl: Find packages to crawl.
- Crawler: Crawling package files.
- MergeDocs: Merge crawled package files with doc DB.
- Indexer: Analyzing package information and generating indexed data for searching.
Development
You'll need to perform the following steps to get a basic server running:
- Create a basic
conf.json
file, limiting the crawler to a one minute run:{ "crawler": { "due_per_run": "1m" } }
- Run the package finder:
go run cmd/tocrawl/*.go
- Run the crawler:
go run cmd/crawler/*.go
- Merge the crawled docs:
go run cmd/mergedocs/*.go
- Run the indexer:
go run cmd/indexer/*.go
- Run the server:
go run cmd/server/*.go
- Visit http://localhost:8080 in your browser
LICENSE
BSD license.
Press h to open a hovercard with more details.