|Number of watchers on Github||84|
|Number of open issues||49|
|Average time to close an issue||17 days|
|Average time to merge a PR||about 22 hours|
|Open pull requests||5+|
|Closed pull requests||18+|
|Last commit||almost 2 years ago|
|Repo Created||over 5 years ago|
|Repo Last Updated||over 1 year ago|
|Organization / Author||purescript|
|Do you use pursuit? Leave a review!|
|View open issues (49)|
|View pursuit activity|
|View on github|
|Fresh, new opensource launches 🚀🚀🚀|
Trendy new open source projects in your inbox! View examples
Pursuit hosts API documentation for PureScript packages. It lets you search by package, module, and function names, as well as approximate type signatures.
Pursuit is currently deployed at https://pursuit.purescript.org.
Information for package authors can be found at https://pursuit.purescript.org/help.
It's recommended to use
To build in development mode:
$ stack build
To build in production mode:
$ stack build --flag pursuit:-dev
To iterate quickly during development, you can use
$ stack ghci
Once the REPL has loaded, you can reload the code and then update the web server:
> :l DevelMain > update
To run the web server on http://localhost:3000:
$ stack exec pursuit
You might want to add some content to the database (see Database), otherwise you will not be able to browse any packages. The database will be regenerated from this data source before the server starts listening; this can take a short time depending on how much data you have.
Pursuit currently uses the filesystem as a database, since it requires no setup
and it makes it easy to use Git and GitHub for backing up. The data directory
is set via an environment variable (see Configuration, the
If you need some sample packages to work with, you can clone the
pursuit-backups repo and copy the packages you want to the
verified/ directory. This is more convenient than manually uploading each
The database structure is as follows:
/ cache/ packages/ purescript-prelude/ 0.1.0/ index.html docs/ Prelude/ index.html verified/ purescript-prelude/ 0.1.0.json 0.1.1.json
cache/ directory has files that mirror the URL structure of the web
application, and contains files which do not change and may be served as-is
without forwarding the request on to the Yesod application. See Handler.Caching
for more details.
verified/ directory stores uploaded packages. Each package has its own
directory, and then there is a JSON file for each version. These JSON files
each contain a serialized
Package GithubUser; see
Language.PureScript.Docs.Types in the compiler for details about these types.
The backup process simply involves rsyncing everything in the
directory into a git repository, making a commit, and pushing it to GitHub.
All configuration is done at startup via environment variables. The relevant code is in the Settings module.
All configuration variable names start with
PURSUIT_APPROOT). All configuration variables are optional; for
development, it is fine to just run
stack exec pursuit leaving them all
src/Settings.hs for more details.
The favicon assets in
static/favicon were taken from the Purescript Logo repository.
load morebutton for display of additional search results (@felixschl, #305)
Primin search results (@hdgarrood, #265)
mapranks higher than
cmapfor the query
(a -> b) -> f a -> f b; previously they were equally ranked (@hdgarrood, #355)