Skip to content

devflowinc/Pagefind-Example-Usage-Rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example using pagefind to index a json file in rust.

First builds the pagefind index based off the data.json file.

cargo run

This should make a folder in /static/pagefind with the index files.

Then you can view the index.html file with reload.

npm install -g reload
reload -p --port 3000

Then open http://localhost:3000 in your browser. You will see that the search bar is using the data.json file to search for the data.

About

An example repository of using pagefind lib in rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published