
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Query the Gitlab API right from your Lektor templates.
To use the plugin you must first acquire an private access token.
The token must at least have the api
scope.
Depending on your preference you can either create a Lektor config file
called configs/gitlab.ini
where the token is stored under the
private_token
key.
Eg:
private_token = <Your access token>
Alternatively the token can also be set using an environment variable.
Note: the config file is checked before the environment variable
Eg:
export GITLAB_PRIVATE_TOKEN=<Your access token>
After you have set up the access token, the Python-Gitlab Gitlab
object is available in your templates. This means you can do anything
your heart desires with it.
List your public repos
<ul>
{% for project in gitlab.projects.list(owned=True, visibility='public') %}
<li>{{ project.name }} [{{ project.star_count }}]</li>
{% endfor %}
</ul>
Display the your name and avatar
<h2>{{ gitlab.user.name }}</h2>
<img src="{{ gitlab.user.avatar_url }}">
FAQs
Query the Gitlab API right from your Lektor templates
We found that lektor-gitlab demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.