summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2026-04-28 04:58:15 -0500
committermsglm <msglm@techchud.xyz>2026-04-28 04:58:15 -0500
commit0d2c8000d6b10bdcaa0ff547c1c0a58ebc4ef5bd (patch)
tree5e7255b7ce99936368d7d2be764aadc703309cc6 /contrib
downloadgetmeajob-0d2c8000d6b10bdcaa0ff547c1c0a58ebc4ef5bd.tar.gz
getmeajob-0d2c8000d6b10bdcaa0ff547c1c0a58ebc4ef5bd.tar.bz2
getmeajob-0d2c8000d6b10bdcaa0ff547c1c0a58ebc4ef5bd.zip
Initial CommitHEADmaster
Diffstat (limited to 'contrib')
-rw-r--r--contrib/example.toml13
-rw-r--r--contrib/guix/go-github-com-bdandy-go-socks4/remove-unncessary-import.patch24
-rw-r--r--contrib/template.jninja77
3 files changed, 114 insertions, 0 deletions
diff --git a/contrib/example.toml b/contrib/example.toml
new file mode 100644
index 0000000..e8ef72b
--- /dev/null
+++ b/contrib/example.toml
@@ -0,0 +1,13 @@
+[aviation]
+
+sites=["indeed", "linkedin", "zip_recruiter", "google", "glassdoor", "bayt", "naukri", "bdjobs"]
+search="Entry level Aviation Technician"
+location="Arizona"
+country="USA"
+results_wanted=200
+hours_old=336
+automated_questions = [
+"Does this job require a college diploma?"
+"Does this job offer PTO?"
+"Is there a listed salary?"
+]
diff --git a/contrib/guix/go-github-com-bdandy-go-socks4/remove-unncessary-import.patch b/contrib/guix/go-github-com-bdandy-go-socks4/remove-unncessary-import.patch
new file mode 100644
index 0000000..ed827e9
--- /dev/null
+++ b/contrib/guix/go-github-com-bdandy-go-socks4/remove-unncessary-import.patch
@@ -0,0 +1,24 @@
+From b4e9ceca0d791e88e78bd2eb7d4255bae501b7b5 Mon Sep 17 00:00:00 2001
+From: Anonymous <anonymous@example.org>
+Date: Tue, 28 Apr 2026 00:08:45 -0500
+Subject: [PATCH] remove unncessary import
+
+---
+ socks4.go | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/socks4.go b/socks4.go
+index 6eb9ea5..ff6e44c 100644
+--- a/socks4.go
++++ b/socks4.go
+@@ -1,6 +1,4 @@
+-// Package socks4 implements socks4 and socks4a support for net/proxy
+-// Just import `_ "github.com/bdandy/go-socks4"` to add `socks4` support
+-package socks4 // import _ "github.com/bdandy/go-socks4"
++package socks4
+
+ import (
+ "io"
+--
+2.52.0
+
diff --git a/contrib/template.jninja b/contrib/template.jninja
new file mode 100644
index 0000000..e8bf6fc
--- /dev/null
+++ b/contrib/template.jninja
@@ -0,0 +1,77 @@
+{# jobs is a list of dicts with the fields you specified #}
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>Job Export</title>
+</head>
+<body style="font-family:system-ui,Segoe UI,Roboto,Arial,sans-serif;line-height:1.4;color:#111;padding:18px;">
+
+{% for job in jobs %}
+ <div style="padding:14px 0;">
+ <!-- Header row -->
+ <div style="display:flex;justify-content:space-between;align-items:baseline;gap:12px;">
+ <div>
+ <a href="{{ job.job_url }}" style="font-size:18px;font-weight:600;color:#0b66c2;text-decoration:none;">
+ {{ job.title | e }}
+ </a>
+ <div style="font-size:13px;color:#444;margin-top:2px;">
+ <a href="{{ job.company_url }}" style="color:#444;text-decoration:none;">{{ job.company | e }}</a>
+ {% if job.location %}
+ — {{ job.location.city|default('') }}{% if job.location.city and job.location.state %}, {% endif %}{{ job.location.state|default('') }}{% if job.location.city or job.location.state %} • {% endif %}{{ job.location.country|default('') }}
+ {% endif %}
+ {% if job.is_remote %}
+ • Remote
+ {% endif %}
+ </div>
+ </div>
+
+ <div style="text-align:right;font-size:13px;color:#666;">
+ <div>{{ job.job_type | capitalize }}</div>
+ <div style="margin-top:6px;color:#333;font-weight:500;">
+ {% if job.job_function %}
+ {% set jf = job.job_function %}
+ {% if jf.min_amount or jf.max_amount %}
+ {{ jf.currency|default('') }}
+ {% if jf.min_amount %}{{ jf.min_amount }}{% endif %}
+ {% if jf.min_amount and jf.max_amount %}–{% endif %}
+ {% if jf.max_amount %}{{ jf.max_amount }}{% endif %}
+ <span style="font-size:12px;color:#666;">/ {{ jf.interval }}</span>
+ {% endif %}
+ <div style="font-size:12px;color:#666;margin-top:4px;">
+ Source: {{ jf.salary_source | replace('_',' ') }}
+ </div>
+ {% endif %}
+ </div>
+ <div style="font-size:12px;color:#888;margin-top:6px;">Posted: {{ job.date_posted }}</div>
+ </div>
+ </div>
+
+ <!-- Description -->
+ <div style="margin-top:10px;color:#222;">
+ <div style="white-space:pre-wrap;">{{ job.description | e }}</div>
+ </div>
+
+ <!-- Emails & Links -->
+ <div style="margin-top:10px;font-size:13px;color:#333;">
+ {% if job.emails %}
+ <div><strong>Contact:</strong> {{ job.emails | join(', ') }}</div>
+ {% endif %}
+ <div style="margin-top:6px;font-size:13px;"><a href="{{ job.job_url }}" style="color:#0b66c2;text-decoration:none;">View posting</a></div>
+ </div>
+
+ <!-- Program summary box -->
+ <div style="margin-top:12px;padding:10px;background:#f7f9fb;border:1px solid #e3e7ea;border-radius:6px;font-size:13px;color:#222;">
+ <strong style="display:block;margin-bottom:6px;">Program notes</strong>
+ <div style="white-space:pre-wrap;">{{ job.summary | default('—') | e }}</div>
+ </div>
+
+ </div>
+
+ <!-- Delimiter between jobs -->
+ <hr style="border:none;border-top:1px solid #e0e6ea;margin:12px 0;">
+{% endfor %}
+
+</body>
+</html>
+