0x4F2A
    01101
    fn()
    SHA256
    0b1010
    v2.4.1
    JWT
    doc[]
    On-Premises AI · Patented · Docs-As-Code

    ForgeDocTransformCode intoKnowledge

    Proprietary patented AI algorithms analyze your code and transform it into clear, complete, and secure documentation.proprietary patentedclear, complete, and secure documentation.

    Transform Code into Knowledge · On-Premises AI · 100× Faster · Patented Technology · 100% Accuracy · Docs-as-Code · Zero Data in Cloud · Transform Code into Knowledge · On-Premises AI · 100× Faster · Patented Technology · 100% Accuracy · Docs-as-Code · Zero Data in Cloud · Transform Code into Knowledge · On-Premises AI · 100× Faster · Patented Technology · 100% Accuracy · Docs-as-Code · Zero Data in Cloud · Transform Code into Knowledge · On-Premises AI · 100× Faster · Patented Technology · 100% Accuracy · Docs-as-Code · Zero Data in Cloud · Transform Code into Knowledge · On-Premises AI · 100× Faster · Patented Technology · 100% Accuracy · Docs-as-Code · Zero Data in Cloud · Transform Code into Knowledge · On-Premises AI · 100× Faster · Patented Technology · 100% Accuracy · Docs-as-Code · Zero Data in Cloud ·
    Interactive Demo

    From code to documentation

    Drag the slider from left to right to see the transformation in real time.

    LinkedinClient.cs → AI documentation
    ForgeDoc
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    public LinkedinClient(bool refreshCookies = false,
    Dictionary<string, string>? proxies = null,
    string cookiesDir = "")
    {
    try
    {
    List<CookieInfo>? cookieInfo = LoadCookiesFromJson("www.linkedin.com_cookies.json");
    if (cookieInfo == null) return;
     
    foreach (var cookie in cookieInfo)
    {
    long secondsPart = (long)cookie.ExpirationDate;
    double fractionalPart = cookie.ExpirationDate - secondsPart;
    DateTime expirationDate = DateTimeOffset.FromUnixTimeSeconds(secondsPart).UtcDateTime;
    expirationDate = expirationDate.AddMilliseconds(fractionalPart * 1000);
    handler.CookieContainer.Add(new Cookie(cookie.Name ?? string.Empty,
    cookie.Value, cookie.Path, cookie.Domain)
    {
    Expires = expirationDate,
    HttpOnly = cookie.HttpOnly,
    Secure = cookie.Secure
    });
    if (cookie.Name == "JSESSIONID")
    {
    csrfToken = string.IsNullOrWhiteSpace(cookie.Value)
    ? string.Empty : cookie.Value.Trim('"');
    }
    }
     
    client.DefaultRequestHeaders.Clear();
    foreach (var header in REQUEST_HEADERS)
    {
    client.DefaultRequestHeaders.Add(header.Key, header.Value);
    }
    client.DefaultRequestHeaders.Add("Csrf-Token", csrfToken);
     
    if (proxies != null)
    {
    handler.Proxy = new WebProxy(proxies["http"]);
    }
    }
    catch (Exception) { throw; }
    }
     
    private List<CookieInfo>? LoadCookiesFromJson(string filePath)
    {
    try
    {
    using (var reader = new StreamReader(filePath))
    {
    var jsonString = reader.ReadToEnd();
    return JsonConvert.DeserializeObject<List<CookieInfo>>(jsonString);
    }
    }
    catch (Exception) { throw; }
    }
     
    public async Task AuthenticateAsync(string username, string password)
    {
    try
    {
    await RequestSessionCookiesAsync();
    SetSessionCookies(handler.CookieContainer);
     
    var payload = new FormUrlEncodedContent(new[]
    {
    new KeyValuePair<string, string>("session_key", username),
    new KeyValuePair<string, string>("session_password", password),
    new KeyValuePair<string, string>("JSESSIONID", csrfToken)
    });
     
    var res = await client.PostAsync(
    $"{_LINKEDIN_BASE_URL}/uas/authenticate", payload);
    var responseString = await res.Content.ReadAsStringAsync();
    var data = JsonConvert.DeserializeObject<JObject>(responseString);
     
    if (data?["login_result"]?.ToString() != "PASS")
    {
    throw new ChallengeException(data?["login_result"]?.ToString());
    }
    if (res.StatusCode == HttpStatusCode.Unauthorized)
    {
    throw new UnauthorizedException();
    }
    if (!res.IsSuccessStatusCode)
    {
    throw new Exception("Authentication failed.");
    }
    await FetchMetadataAsync();
    }
    catch (Exception) { throw; }
    }
     
    private async Task RequestSessionCookiesAsync()
    {
    try
    {
    var res = await client.GetAsync(
    $"{_LINKEDIN_BASE_URL}/uas/authenticate");
    cookies = handler.CookieContainer;
    }
    catch (Exception) { throw; }
    }
     
    private void SetSessionCookies(CookieContainer sessionCookies)
    {
    try
    {
    cookies = sessionCookies;
    var cookieCollection = cookies.GetCookies(
    new Uri($"{_LINKEDIN_BASE_URL}/uas/authenticate"));
    csrfToken = cookieCollection["JSESSIONID"].Value.Trim('"');
    client.DefaultRequestHeaders.Add("Csrf-Token", csrfToken);
    }
    catch (Exception) { throw; }
    }
     
    public async Task<string> MakeRequestAsync(string uri)
    {
    try
    {
    var res = await client.GetAsync($"{_API_BASE_URL}{uri}");
    return await res.Content.ReadAsStringAsync();
    }
    catch (Exception) { throw; }
    }
    LinkedinClient
    public classProgetto: Linkedinautenticazione
    1. Scopo e Responsabilità
    Gestisce sessioni HTTP, cookies e autenticazione per interagire con l'API di LinkedIn in modo autenticato e sicuro.
    - Gestione Sessioni - HttpClient con CookieContainer per mantenere lo stato tra le richieste
    - Autenticazione - credenziali username/password → token di sessione
    - Interazione API - richieste con cookies e header di autenticazione appropriati
    - Gestione Cookies - caricamento e mantenimento dei cookie, incluso il token CSRF
    2. Architettura e Pattern
    Segue un approccio Singleton con pattern Factory Method implicito per HttpClient e CookieContainer. Architettura a tre strati.
    - SRP - un solo motivo per cambiare: gestione sessione LinkedIn
    - OCP - aperta alla modifica tramite costruttore e parametri
    - DIP - dipende solo dai componenti interni, non da classi concrete
    3. Dipendenze Principali
    HttpClient
    Istanza per richieste HTTP → configurata con HttpClientHandler + CookieContainer
    FormUrlEncodedContent
    Codifica payload autenticazione: session_key, session_password, JSESSIONID
    HtmlDocument + JsonConvert
    Parsing HTML e deserializzazione JSON per FetchMetadataAsync
    StreamReader + JsonConvert.DeserializeObject
    Lettura e deserializzazione cookies da file JSON
    4. Membri Principali
    LinkedinClient(refreshCookies, proxies, cookiesDir)
    Costruttore: carica cookies da JSON, configura headers e proxy opzionale.
    Complessità:
    O(n) - n = numero di cookies nel file JSON
    AuthenticateAsync(username, password) → Task
    Richiede session cookies → invia POST a /uas/authenticate → verifica login_result == PASS.
    Throws:
    ChallengeException - login_result != PASS
    UnauthorizedException - HTTP 401
    Exception - generico fallimento autenticazione
    LoadCookiesFromJson(filePath) → List<CookieInfo>?
    Legge file JSON e deserializza in List<CookieInfo>. Eccezioni propagate al chiamante.
    Complessità:
    O(n) - n = lunghezza del contenuto del file JSON
    SetSessionCookies(sessionCookies)
    Imposta cookies di sessione, estrae JSESSIONID come csrfToken e lo aggiunge agli header.
    Dipendenze:
    CookieContainer · Uri · HttpRequestHeaders
    FetchMetadataAsync() → Task
    GET su _LINKEDIN_BASE_URL → parsing HTML → estrae applicationInstance e clientPageInstanceId.
    Dipendenze:
    HttpClient · HtmlDocument (parsing HTML)
    RequestSessionCookiesAsync() → Task
    GET su /uas/authenticate per ottenere i cookies di sessione iniziali.
    MakeRequestAsync(uri) → Task<string>
    Effettua richieste API autenticate all'endpoint _API_BASE_URL + uri.
    Returns:
    Task<string> - contenuto della risposta HTTP
    Note di Sicurezza
    - Token CSRF (JSESSIONID) aggiunto come header 'Csrf-Token' ad ogni richiesta
    - Cookies caricati da file JSON - evitare esposizione in repository pubblici
    - Tutti i metodi propagano le eccezioni al chiamante senza soppressione
    - Supporto proxy configurabile per ambienti con restrizioni di rete
    source
    Drag the slider from left to right to see the transformation in real time.
    0%
    Industry Data

    What do the real data say?

    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    of dev time
    Productivity
    10-12%of dev time
    "Developers still spend around 10-12% of their time on documentation-related activities."
    The State of Developer Ecosystem (2025) – JetBrains
    team performance
    Team Performance
    +25%team performance
    "Teams with high-quality documentation have 25% higher overall performance."
    DORA Report (2023) – Google Cloud
    more time in AI review
    AI & Code
    +91%more time in AI review
    "AI Paradox: AI writes code in seconds, but reviewing it takes 91% more time."
    The AI Productivity Paradox Report (2025) – Faros AI
    Value Proposition

    Pain Points
    vs
    Value Propositions

    There is no complete documentation that truly represents the system and can be managed as a project asset.

    complete, reliable, and always updated

    Code is transformed into complete, reliable, and always-updated documentation using the docs-as-code approach: documentation follows the software lifecycle.

    Time and cost waste: documentation takes weeks, slows delivery, and depends on developers' personal knowledge.

    100× faster, 99% reduction

    Process 100× faster, 99% time reduction (1 day = 4.6 months), full control over software architecture.

    The real challenge is how to bring AI into the enterprise without exposing sensitive data or introducing privacy risks, and without uncontrolled costs and infrastructure complexity.

    Maximum confidentiality, zero investments

    Maximum confidentiality, zero investments: we bring AI into your corporate perimeter with a dedicated, ready-to-use appliance, eliminating every setup and hardware cost.

    The Numbers

    Winning Numbers

    0x
    Faster
    vs. weeks wasted writing docs by hand
    0%
    Zero Time Wasted
    Zero time wasted
    0
    Data in cloud
    Fully on-premises
    0min
    Setup
    Plug & Play ready to use
    FAQ

    Frequently Asked Questions

    ForgeDoc is an on-premises AI solution that automatically analyzes source code and generates complete, up-to-date technical documentation. It uses patented proprietary algorithms in a 4-step process: repository analysis, top-down structure scanning, cross-validation to eliminate bias and hallucinations, and final documentation generation.

    Yes. ForgeDoc produces technical documentation derived directly from source code analysis, formalizing implicit functional logic: process flows, business rules, and module interactions. It goes far beyond a simple high-level analysis.

    ForgeDoc is the only on-premises AI solution with patented technology for generating complete technical documentation from source code using a Docs-as-Code approach. No on-premises competitor matches its level of completeness and security.

    Yes. ForgeDoc is natively designed for air-gapped environments: it requires no internet connection and sends no data outside your perimeter. It is the ideal choice for high-security sectors such as Defense, Finance, and Public Administration.

    ForgeDoc reduces documentation time by 99%: what would normally take 4–6 months of work is completed in 1 day. Developers reclaim up to 10–12% of their productive time previously spent writing and maintaining documentation.

    ForgeDoc uses patented proprietary Machine Learning algorithms, tested and optimized across multiple LLMs to ensure maximum documentation accuracy. The AI models are deterministic, not probabilistic - meaning consistent, verifiable results with no hallucinations.

    ForgeDoc plugins are designed specifically for each language and are continuously developed. We currently support over 30 languages including C#, Java, COBOL, SAP ABAP, PL-SQL, Python, C++, JavaScript, TypeScript, Go, Rust, Kotlin, and Swift. If your language is not yet supported, contact us and we will evaluate adding it to the roadmap.

    ForgeDoc is designed for large enterprises, system integrators, financial institutions, public administration, and organizations in regulated sectors. It is especially ideal for organizations with large legacy codebases, distributed teams, or compliance requirements such as GDPR, NIS2, and DORA.

    ForgeDoc is delivered on an NVIDIA AGX Orin appliance, the reference edge AI hardware for on-premises processing. The appliance is included on free loan with the license - no additional hardware costs. Setup takes less than 30 minutes.

    The setup is designed to be plug & play: just connect the appliance to the corporate network and point it at the repository. The entire installation and configuration takes less than 30 minutes, with no advanced DevOps skills required.

    ForgeDoc is available through an annual license, with different tiers based on needs and volumes.

    Yes. You can request a live demo or activate a trial program on real code.

    No. You can start with a trial program and then choose the most suitable plan.

    ForgeCard

    Claim your ForgeCard worth

    €1,000

    Community

    Join our community

    Join the ForgeDoc community: get updates, exclusive resources and early access to new features.

    No spam. Only relevant updates and exclusive resources.

    Join our community

    Join the ForgeDoc community: get updates, exclusive resources and early access to new features.

    No spam. Only relevant updates and exclusive resources.