p0fi / gitlab-stats-for-scribtable Goto Github PK
View Code? Open in Web Editor NEWSimple GitLab status widget for Scriptable
License: The Unlicense
Simple GitLab status widget for Scriptable
License: The Unlicense
Awesome work!
gitlab-stats-for-scribtable/gitlab-stats.js
Lines 231 to 251 in 42b873b
Setting the private token as query parameter is discouraged and it should be rather set as a header, which this framework seems to support: https://docs.scriptable.app/request/#headers / https://docs.gitlab.com/ee/api/#personalproject-access-tokens
See also https://tools.ietf.org/html/rfc6750#section-5.3
Don't pass bearer tokens in page URLs: Bearer tokens SHOULD NOT be
passed in page URLs (for example, as query string parameters).
Instead, bearer tokens SHOULD be passed in HTTP message headers or
message bodies for which confidentiality measures are taken.
Browsers, web servers, and other software may not adequately
secure URLs in the browser history, web server logs, and other
data structures. If bearer tokens are passed in page URLs,
attackers might be able to steal them from the history data, logs,
or other unsecured locations.
Hey, if you can, add it to Awesome Scriptable repository: https://github.com/cassianomon/awesome-scriptable/
Hello @p0fi,
i just checked your code because i want to build something similar for GitHub.
My Question is how did you insert the Images Properly?
I didn't find any good documentation for that. Did you just encode the url to the Icons? I tried do decode these Base64 String and thougt maybe you store the pictures anywhere and get back to them.
Appreciate your Help asap. ๐๐ผ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.