<commit_before><template>
    <div class="show-faq">
        <a click.delegate="showFaq()"><h1 class="subtitle">FAQ</h1></a>
    </div>

    <div class="faq">
        <div class="list-item" data-faq-item="1">
            <p class="title" click.delegate="showFaqItem(1)"><i class="fa fa-fw fa-angle-right"></i> What is this?</p>
            <div class="content">
            <p class="inner-content"> Bitfly is a service which allows you to securely transfer files to (almost) any device with a modern browser.
            It is powered by <a href="https://webrtc.org/">WebRTC</a> and establishes a secure peer-to-peer connection between two browsers. Your browser provides modern end-to-end encryption meaning that we (or anyone else) do not get to see the contents or metadata of your files and they are always securely transmitted directly from the sending device to the receiving device. No metadata or file contents are ever transmitted to any of our servers.
            </p>
            </div>
        </div>
        <div class="list-item" data-faq-item="2">
            <p class="title" click.delegate="showFaqItem(2)"><i class="fa fa-fw fa-angle-right"></i> WebRTC? What?</p>
            <div class="content">
            <p class="inner-content">
            <a href="https://webrtc.org/">WebRTC</a> is the technology powering Bitfly and is a relatively recent addition to your browser's toolkit. It is mostly intended for video and audio conferencing but works fine for any type of data. All WebRTC communication is encrypted by
            the latest cryptography algoritms in your browser and is as secure as any HTTPS website you visit (like your bank's website or Facebook).
            </p>
            </div>
        </div>
        <div class="list-item" data-faq-item="3">
            <p class="title" click.delegate="showFaqItem(3)"><i class="fa fa-fw fa-angle-right"></i> Is sending files via Bitfly secure and anonymous?</p>
            <div class="content">
                <p class="inner-content">Secure, absolutely! It is only somewhat anonymous. We do not store any logs but our servers do remember your IP address for a short duration in order to setup the connection between the sending and receiving devices. While using Bitfly for any kind of illegal material is strictly forbidden we cannot really tell what you are sending (see previous two questions) so it is up to you to be responsible with your data.
                </p>
            </div>
        </div>
        <div class="list-item" data-faq-item="4">
            <p class="title" click.delegate="showFaqItem(4)"><i class="fa fa-fw fa-angle-right"></i> How do I know you're not sending all my data
            to the NSA?</p>
            <div class="content">
                <p class="inner-content">Bitfly is completely open-source and very small (less than 2000 lines of code). You can look at all of our backend and frontend code by clicking the 'GitHub' button at the bottom of the page. All file-transfer logic is on the client-side and you can inspect it easily with your browser tools (the code is also intentionally not minified). While this setup would be acceptable security-wise for many needs <strong>we advise against using Bitfly for highly sensitive data.</strong> You have been warned.
                </p>
            </div>
        </div>
        <div class="list-item" data-faq-item="5">
            <p class="title" click.delegate="showFaqItem(5)"><i class="fa fa-fw fa-angle-right"></i> Javascript crypto is broken!</p>
            <div class="content">
                <p class="inner-content">We are not doing any kind of important cryptography in Bitfly's code. All encryption is done by your browser's WebRTC implementation (refer to questions 1 and 2). We do use the crypto-js package to do SHA-1 hashing of the file chunks in order to verify that we have rebuilt your file correctly on the other end, however this has no substantial implication on security.
                </p>
            </div>
        </div>
        <div class="list-item" data-faq-item="6">
            <p class="title" click.delegate="showFaqItem(6)"><i class="fa fa-fw fa-angle-right"></i> It's not working! Help!</p>
            <div class="content">
                <p class="inner-content">Bitfly should work for almost everyone with <a href="http://iswebrtcreadyyet.com/" target="_blank">a supported browser</a> but it won't work for some very restricted NAT setups (e.g. behind some corporate firewalls). If you encounter problems please submit an issue to one of our GitHub repositories via the GitHub button at the bottom of the page.
                </p>
            </div>
        </div>
    </div>
</template><commit_msg>faq fixes<commit_after><template>
  <div class="show-faq">
    <a click.delegate="showFaq()"><h1 class="subtitle">FAQ</h1></a>
  </div>

  <div class="faq">
    <div class="list-item" data-faq-item="1">
      <p class="title" click.delegate="showFaqItem(1)"><i class="fa fa-fw fa-angle-right"></i> What is this?</p>
      <div class="content">
        <p class="inner-content">
        Bitfly is a service which allows you to securely transfer files to (almost) any device with a modern browser.
        It is powered by <a href="https://webrtc.org/">WebRTC</a> and establishes a secure peer-to-peer connection between the sending and receiving devices. Your browser provides modern end-to-end encryption meaning that we (or anyone else) do not get to see the contents or metadata of your files and they are always securely transmitted directly from the sending device to the receiving device. No metadata or file contents are ever transmitted to any of our servers.
        </p>
      </div>
    </div>
    <div class="list-item" data-faq-item="2">
      <p class="title" click.delegate="showFaqItem(2)"><i class="fa fa-fw fa-angle-right"></i> WebRTC? What?</p>
      <div class="content">
        <p class="inner-content">
        <a href="https://webrtc.org/" target="_blank">WebRTC</a> is the technology powering Bitfly and is a relatively recent addition to your browser's toolkit. It is mostly intended for video and audio conferencing but works fine for any type of data. All WebRTC communication is encrypted by
        the latest cryptography algoritms in your browser and is as secure as any HTTPS website you are likely to visit (like Facebook or your bank's website).
        </p>
      </div>
    </div>
    <div class="list-item" data-faq-item="3">
      <p class="title" click.delegate="showFaqItem(3)"><i class="fa fa-fw fa-angle-right"></i> Is sending files via Bitfly secure and anonymous?</p>
      <div class="content">
        <p class="inner-content">
        Secure, absolutely! It is not, however, fully anonymous. While we do not store any logs, our servers do know the IP addresses of both the sending and receiving devices for a short amount of time in order to setup the peer-to-peer connection. While using Bitfly for any kind of illegal material is strictly forbidden we cannot really tell what you are sending (see previous two questions) so it is up to you to be responsible with your data.
        </p>
      </div>
    </div>
    <div class="list-item" data-faq-item="4">
      <p class="title" click.delegate="showFaqItem(4)"><i class="fa fa-fw fa-angle-right"></i> How do I know you're not sending all my data
      to the NSA?</p>
      <div class="content">
        <p class="inner-content">
        Bitfly is open-source and very small (less than 2000 lines of code). You can look at all of our backend and frontend code by clicking on the 'GitHub' button at the bottom of the page. All of the important code is on the client-side and you can inspect it easily with your browser developer tools (the code is also intentionally not minified). While this setup would be acceptable security-wise for most needs <strong>we advise against using Bitfly for highly sensitive data.</strong> You have been warned.
        </p>
      </div>
    </div>
    <div class="list-item" data-faq-item="5">
      <p class="title" click.delegate="showFaqItem(5)"><i class="fa fa-fw fa-angle-right"></i> Javascript crypto is broken!</p>
      <div class="content">
        <p class="inner-content">
        We are not doing any kind of vital cryptography in Bitfly's code. All of the actual encryption is done by your browser's WebRTC implementation (refer to questions 1 and 2). We do use the crypto-js package to do SHA-1 hashing of the file chunks in order to verify that we have rebuilt your file correctly on the other end, however this has no substantial implication on security.
        </p>
      </div>
    </div>
    <div class="list-item" data-faq-item="6">
      <p class="title" click.delegate="showFaqItem(6)"><i class="fa fa-fw fa-angle-right"></i> It's not working! Help!</p>
      <div class="content">
        <p class="inner-content">
        Bitfly should work for almost anyone with <a href="http://iswebrtcreadyyet.com/" target="_blank">a supported browser</a> but it may fail for some very restricted NAT setups (e.g. behind some corporate firewalls). If you encounter issues please submit a report to one of our GitHub repositories via the GitHub button at the bottom of the page.
        </p>
      </div>
    </div>
  </div>
</template>
{'fraction_non_alphanumeric': 0.10707374758116533, 'fraction_numerical': 0.004515158030531069, 'mean_word_length': 3.0500653025685676, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 159, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2676243', 'n_tokens_mistral': 2603, 'n_tokens_neox': 2498, 'n_words': 1136}