Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: filter / query #17

Open
louis030195 opened this issue Oct 31, 2020 · 1 comment
Open

Feature Request: filter / query #17

louis030195 opened this issue Oct 31, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@louis030195
Copy link
Contributor

Sort of query language that reminds me of Kibana / Graylog language

{{range recentContributions 5 "language:java, language:csharp"}}
- [{{.Repo.Name}}]({{.Repo.URL}}) - {{.Repo.Description}} ({{humanize .OccurredAt}})
{{- end}}
{{range recentContributions 5 "lineOfCode>200"}}
- [{{.Repo.Name}}]({{.Repo.URL}}) - {{.Repo.Description}} ({{humanize .OccurredAt}})
{{- end}}
{{range gists 5 "content:*deep learning*"}}
- [{{.Description}}]({{.URL}}) - Created: {{humanize .CreatedAt}}
{{- end}}

Etc.
Tthat feature is a nice-to-have, can become complex though.

@muesli
Copy link
Owner

muesli commented Oct 31, 2020

Go's templating language is pretty extensive, so you can do a bunch of filtering operations already. We would have to include things like language or linesOfCode in the data structs though.

@muesli muesli added the enhancement New feature or request label Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants