Skip to content

Instantly share code, notes, and snippets.

View JarbasAl's full-sized avatar
🏠
Working from home

JarbasAI JarbasAl

🏠
Working from home
View GitHub Profile
import bs4
import requests
import re
import json
import random
from pprint import pprint
USER_AGENTS = [
('Mozilla/5.0 (X11; Linux x86_64) '
'AppleWebKit/537.36 (KHTML, like Gecko) '
@JarbasAl
JarbasAl / notes.md
Created December 22, 2020 17:24
Towards the open and free virtual assistant in Catalan: How can we localize Mycroft?

The summary is the last session of the conference; 10D, "Towards the open and free virtual assistant in Catalan: How can we localize Mycroft?"

This session was dedicated to developers, led by our colleague Casimiro Ferreira (jarbasAI). As a developer of the Mycroft community, he told us all the details of the location and development of Mycroft. As he is Portuguese, the session was held in English.

We talked about the basics of Mycroft’s architecture, the development needed to locate it, and the development of new skills.

As the participants had questions to Casimiro, the technical issues we discussed are:

  • The ability to serve / deploy Mycroft remotely, and only communicate commands from the device. Casimiro has taught that this is a possibility through his Hivemind project. This has the potential to help with the deployment and installation of Mycroft that we discussed in the 8D session.
  • The Plasma Bigscreen project, which uses Myc
@JarbasAl
JarbasAl / somewhere_over_the_rainbow.py
Created April 12, 2021 09:52
short and simple, but basically tells you if rainbow tables can crack your password
import hashlib
import requests
def search_hexdigest(hexdigest):
url = f"https://www.google.ca/search?q={hexdigest}"
html = requests.get(url, headers={
"User-Agent": "Mozilla/5.0 (X11; Linux i586; rv:34.0) "
"Gecko/20100101 Firefox/31.0"
}).text

overview

 import QtQuick 2.9
    import Mycroft 1.0 as Mycroft
    import QtQuick.Controls 2.9
    
    Mycroft.Delegate { // This is a QML Component provided by the default mycroft-gui mycroft import above
        id: root
        
        Button { // This is a QML Component provided by QtQuick Controls import above
@JarbasAl
JarbasAl / stuff.md
Last active September 25, 2022 14:32
TODOs, WIP, Ideas....
@JarbasAl
JarbasAl / update_alpha.sh
Created November 10, 2022 19:23
helper script to update a ovos image
pip3 install -U --pre ovos-plugin-manager
pip3 install -U --pre ovos-workshop
pip3 install -U --pre ovos-utils
pip3 install -U --pre ovos-backend-client
pip3 install -U --pre ovos-core[all]
pip3 install -U --pre ovos-tts-plugin-mimic
pip3 install -U --pre ovos-tts-plugin-mimic2
pip3 install -U --pre ovos-tts-plugin-mimic3-server
pip3 install -U --pre ovos-tts-plugin-pico
pip3 install -U --pre neon-tts-plugin-larynx-server
@JarbasAl
JarbasAl / making_of_draft1.md
Created February 3, 2023 01:50
"The Making of OpenVoiceOS: A Journey Through the Voice Assistant Community" - Draft1 - by ChatGPT

"The Making of OpenVoiceOS: A Journey Through the Voice Assistant Community"

Voice assistants have become a staple in our daily lives, and OpenVoiceOS has established itself as a major player in this industry. But the journey of OpenVoiceOS has been a long and winding road, full of twists, turns, and forks in the road. Here, we’ll take a look at the timeline of events that led to the creation of OpenVoiceOS, and the journey of the various players in this space.

Aug 2015 – The beginning The journey of OpenVoiceOS starts with MycroftAI, a startup that launched its first voice assistant product through a successful Kickstarter campaign. The company released its first TTS (Text-to-Speech) engine, Mimic TTS, in February 2016, and soon after made its core repositories public under the GPL (General Public License).

Sep 2017 – The Launch of Mycroft Mark 1 MycroftAI’s first product, the Mycroft Mark 1, was launched in September 2017. This was the first device that incorporated the MycroftAI technology, and it was t

@JarbasAl
JarbasAl / chatgpt2.md
Created February 3, 2023 01:50
"The Making of OpenVoiceOS: A Journey Through the Voice Assistant Community" - Draft2 - by ChatGPT

The Making of OpenVoiceOS: A Journey Through the Open-Source Voice Assistant Community

In the early days of voice assistants, a Kickstarter campaign was launched for a project called MycroftAI. In February 2016, the company released its first text-to-speech (TTS) engine, Mimic TTS. Despite the promising start, MycroftAI's open-source repositories, mycroft-core, were not widely adopted due to their complex licensing under the GPL.

Enter @JarbasAI, who in April 2017 forked mycroft-core as jarbas-core and became a contributor to the mycroft-core project. However, by October of the same year, mycroft-core was relicensed under the Apache 2.0 license. In December 2017, @JarbasAI abandoned jarbas-core and started a new project, personal-backend, which was a reverse-engineered version of MycroftAI's backend. Personal-backend was designed to be simple and permissively licensed under Apache 2.0, which made it more accessible to other projects.

In January 2018, MycroftAI launched a Kickstarter campaign for its new pr

@JarbasAl
JarbasAl / gpt3.md
Created February 3, 2023 01:51
"The Making of OpenVoiceOS: A Journey Through the Voice Assistant Community" - Draft3 - by ChatGPT

"The Making of OpenVoiceOS: A Journey Through the Open-Source AI Community"

OpenVoiceOS, a new open-source voice-enabled operating system, has emerged as a promising player in the field of artificial intelligence. But its origins are rooted in the journey of another open-source AI project, MycroftAI.

MycroftAI kickstarted its journey in August 2015 with a Kickstarter campaign, with the goal of creating an open-source AI system. Over the next few years, the project saw several important milestones, including the release of the MycroftAI Mimic TTS (Text-to-Speech) engine in February 2016, and the public release of the mycroft-core repositories under GPL license in May of the same year.

However, by October 2017, the mycroft-core repositories were relicensed under Apache 2.0, a move that would set the stage for the formation of new projects.

In January 2018, a new project called personal-backend was released, which was a reverse-engineered MycroftAI backend. It was created by @JarbasAI and was licensed under

@JarbasAl
JarbasAl / chatgpt_api.py
Created March 30, 2023 19:09
chat GPT api
import contextlib
import json
import logging
import time
import uuid
from abc import ABCMeta
from abc import abstractmethod
from functools import wraps
from os import environ
from os import getenv