dmmax Posted January 28, 2022 Posted January 28, 2022 Alfred-gitbook The worklow allows you to find articles in documentation/wiki/Personal projects which were using Gitbook. The current implementation finds all pages are under SUMMARY.md. Inspired by alfred-my-mind, but wanted to create a tool for everyone, just with configuring site url, repository and branch name Requirements Alfred JDK 8 You will also need to prepare the next things Site URL which was build by Gitbook GIT repository URL which is connected with your site GIT repository branch Installation Download workflow https://github.com/dmmax/alfred-gitbook/releases/latest/download/alfred-gitbook.alfredworkflow Double-click on the downloaded file, and follow the installation steps from the Alfred app Using Configuration To configure the workflow, you need to define workflow environment variables `gb_url` – the Site URL `git_book_repository` – the GIT repository URL `git_book_branch` – the GIT repository branch For example Update links When configuration is done, you need to update your links, for that need to call `gb update` in Alfred The update mechanism will take some time to read the SUMMARY.md depends on the content of your repository Find links Now, you're ready to open links from your site. For that, you need to call `gbs <name>` in Alfred Source code https://github.com/dmmax/alfred-gitbook Example Site URL – https://wiki.dmmax.me/ Repository with content – https://github.com/dmmax/Knowledge
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now