Skip to content

Commit

Permalink
Add tags, github link and a few other changes to the blog.
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuth17 committed Oct 21, 2024
1 parent 6108605 commit 6fff4c5
Show file tree
Hide file tree
Showing 16 changed files with 692 additions and 174 deletions.
1 change: 1 addition & 0 deletions content/posts/Lua-Filters-API-Key-Validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title = 'Envoy Proxy: API Key Validation using HTTP Lua Filters'
date = 2024-10-20T11:07:45-07:00
draft = false
tags = ['envoy', 'lua']
+++

As a continuation of my previous [blog post](https://achuth.blog/posts/envoy-lua-filter-exploration/), I was looking for good examples to further explore Envoy's extension points. During this search, I found an [issue](https://github.com/envoyproxy/envoy/issues/34877) on Github asking for a native Envoy Filter to do API Key Validation. I am not very familiar with Envoy's native C++ filters but, as things stand today, we can already solve this problem using a Lua HTTP Filter. This post will explain how.
Expand Down
43 changes: 43 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,46 @@ baseURL = 'https://achuth.blog/'
languageCode = 'en-us'
title = "Achuth's Blog"
theme = 'archie'

# Code Highlight
pygmentsstyle = "monokai"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true

paginate=3 # articles per page

[params]
mode="dark" # color-mode → light,dark,toggle or auto

# Social Tags

[[params.social]]
name = "GitHub"
icon = "github"
url = "https://github.com/Achuth17"

# Main menu Items

[[menu.main]]
name = "Home"
url = "/"
weight = 1

[[menu.main]]
name = "All posts"
url = "/posts"
weight = 2

[[menu.main]]
name = "About"
url = "/about"
weight = 3

[[menu.main]]
name = "Tags"
url = "/tags"
weight = 4

[taxonomies]
tag = "tags"
category = "categories"
20 changes: 17 additions & 3 deletions public/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@

<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Categories">

<script src="http://localhost:1313/js/feather.min.js"></script>


<link href="http://localhost:1313/css/fonts.2c2227b81b1970a03e760aa2e6121cd01f87c88586803cbb282aa224720a765f.css" rel="stylesheet">



<link rel="stylesheet" type="text/css" media="screen" href="http://localhost:1313/css/main.5cebd7d4fb2b97856af8d32a6def16164fcf7d844e98e236fcb3559655020373.css" />
<link id="darkModeStyle" rel="stylesheet" type="text/css" href="http://localhost:1313/css/dark.d22e2a2879d933a4b781535fc4c4c716e9f9d35ea4986dd0cbabda82effc4bdd.css" />




Expand All @@ -36,6 +39,14 @@
</div>
<nav>

<a href="/">Home</a>

<a href="/posts">All posts</a>

<a href="/about">About</a>

<a href="/tags">Tags</a>


</nav>
</header>
Expand All @@ -55,12 +66,15 @@ <h1 class="page-title">All tags</h1>
</ul>
</div>
<footer>
<div style="display:flex"></div>
<div style="display:flex"><a class="soc" href="https://github.com/Achuth17" rel="me" title="GitHub"><i data-feather="github"></i></a>
<a class="border"></a></div>
<div class="footer-info">
2024 <a
href="https://github.com/athul/archie">Archie Theme</a> | Built with <a href="https://gohugo.io">Hugo</a>
</div>
</footer>
</div>
<script>
feather.replace()
</script></div>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
body {
color: white;
background-color: #202124;
}

::-moz-selection {
background: blue;
color: #fff;
text-shadow: none;
}

::selection {
background: red;
color: #fff;
text-shadow: none;
}

hr {
border-top: 3px dotted blue;
}
code {
background-color: lightblue;
color: black;
text-decoration: bold;
padding: 0.1em 0.2em;
}
pre {
background-color: #272822;
line-height: 1.4;
overflow-x: auto;
padding: 1em;
}
blockquote {
border-color: blue;
}

h1,
h2,
h3,
h4,
h5,
h6 {
color: #ddd;
}
h1::before {
color: var(--darkMaincolor);
content: "# ";
}
h2::before {
color: var(--darkMaincolor);
content: "## ";
}
h3::before {
color: var(--darkMaincolor);
content: "### ";
}
h4::before {
color: var(--darkMaincolor);
content: "#### ";
}
h5::before {
color: var(--darkMaincolor);
content: "##### ";
}
h6::before {
color: var(--darkMaincolor);
content: "###### ";
}

.toc {
background-color: #272822;
color: white;
}

a {
border-bottom: 3px solid var(--darkMaincolor);
color: inherit;
}
a:hover {
background-color: var(--darkMaincolor);
color: black;
}

.site-description a {
color: #ddd;
}
.site-description a:hover {
color: black;
}

.tags a {
border-bottom: 3px solid var(--darkMaincolor);
}
.tags a:hover {
background-color: var(--darkMaincolor);
color: black;
}

.site-title a {
color: white;
text-decoration: none !important;
}

.header nav,
.footer {
border-color: #333;
}

.highlight {
background-color: #333;
}
.soc:hover {
color: black;
}
.draft-label {
color: var(--darkMaincolor);
background-color: blue;
}
.highlight pre code[class=language-javaScript]::before,
.highlight pre code[class="language-js"]::before {
content: "js";
background: #f7df1e;
color: black;
}
.highlight pre code[class*='language-yml']::before,
.highlight pre code[class*='language-yaml']::before {
content: 'yaml';
background: #f71e6a;
color: white;
}
.highlight pre code[class*='language-shell']::before,
.highlight pre code[class*='language-bash']::before,
.highlight pre code[class*='language-sh']::before {
content: 'shell';
background: green;
color:white
}
.highlight pre code[class*='language-json']::before{
content: 'json';
background: dodgerblue;
color: #000000
}
.highlight pre code[class*='language-python']::before,
.highlight pre code[class*='language-py']::before {
content: 'py';
background: blue;
color: yellow ;
}
.highlight pre code[class*='language-css']::before{
content: 'css';
background: cyan;
color: black ;
}
.highlight pre code[class*='language-go']::before{
content: 'Go';
background: cyan;
color: royalblue ;
}
.highlight pre code[class*='language-md']::before,
.highlight pre code[class*='language-md']::before{
content: 'Markdown';
background: royalblue;
color: whitesmoke ;
}
20 changes: 17 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@

<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Achuth&#39;s Blog">

<script src="http://localhost:1313/js/feather.min.js"></script>


<link href="http://localhost:1313/css/fonts.2c2227b81b1970a03e760aa2e6121cd01f87c88586803cbb282aa224720a765f.css" rel="stylesheet">



<link rel="stylesheet" type="text/css" media="screen" href="http://localhost:1313/css/main.5cebd7d4fb2b97856af8d32a6def16164fcf7d844e98e236fcb3559655020373.css" />
<link id="darkModeStyle" rel="stylesheet" type="text/css" href="http://localhost:1313/css/dark.d22e2a2879d933a4b781535fc4c4c716e9f9d35ea4986dd0cbabda82effc4bdd.css" />




Expand All @@ -39,6 +42,14 @@
</div>
<nav>

<a href="/">Home</a>

<a href="/posts">All posts</a>

<a href="/about">About</a>

<a href="/tags">Tags</a>


</nav>
</header>
Expand Down Expand Up @@ -78,13 +89,16 @@ <h1 class="title"><a href="/posts/envoy-lua-filter-exploration/">Envoy Lua HTTP

</main>
<footer>
<div style="display:flex"></div>
<div style="display:flex"><a class="soc" href="https://github.com/Achuth17" rel="me" title="GitHub"><i data-feather="github"></i></a>
<a class="border"></a></div>
<div class="footer-info">
2024 <a
href="https://github.com/athul/archie">Archie Theme</a> | Built with <a href="https://gohugo.io">Hugo</a>
</div>
</footer>

<script>
feather.replace()
</script>
</div>

</body>
Expand Down
Loading

0 comments on commit 6fff4c5

Please sign in to comment.