All Projects → avikj → fbash

avikj / fbash

Licence: MIT license
Terminal over Facebook Messenger, running continuously as a background process.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to fbash

json-as-xlsx
Create excel from json npm package
Stars: ✭ 103 (+164.1%)
Mutual labels:  node-js
nodejsdesignpatterns.com
Source for Website for Node.js Design Patterns, book by Mario Casciaro and Luciano Mammino, published by Packt (https://nodejsdp.link/buy)
Stars: ✭ 27 (-30.77%)
Mutual labels:  node-js
node-ts-dedent
TypeScript package which smartly trims and strips indentation from multi-line strings
Stars: ✭ 119 (+205.13%)
Mutual labels:  node-js
Shock
Shock - 내가 골라 외우는 영단어
Stars: ✭ 20 (-48.72%)
Mutual labels:  node-js
DarkNight-FBMessenger
A dark/night theme for Facebook's inbox/messages and messenger.com.
Stars: ✭ 44 (+12.82%)
Mutual labels:  facebook-messenger
redive linebot
基於 Bottender 框架實作出的,公主連結聊天機器人,附加其他實用管理功能。
Stars: ✭ 20 (-48.72%)
Mutual labels:  node-js
crowdin-api-client-js
JavaScript client library for Crowdin API
Stars: ✭ 89 (+128.21%)
Mutual labels:  node-js
mutode
Mutation testing for JavaScript and Node.js
Stars: ✭ 61 (+56.41%)
Mutual labels:  node-js
mern-ecommerce
MERN Stack ecommerce site
Stars: ✭ 122 (+212.82%)
Mutual labels:  node-js
ChristmasSpiritBreaker-andNewYearsToo
Python script which automatically sends Christmas/New Year's messages from a custom messages list on Whatsapp, Facebook Messenger or via SMS in a given time range, to a custom contacts list. Time to work smart, not hard.
Stars: ✭ 81 (+107.69%)
Mutual labels:  facebook-messenger
adyen-node-api-library
Adyen API Library for Node.js
Stars: ✭ 82 (+110.26%)
Mutual labels:  node-js
express-file-upload
Node.js Express Upload/Download File Rest APIs example with Multer
Stars: ✭ 64 (+64.1%)
Mutual labels:  node-js
Mastering-Node.js
📚 Belajar Dengan Jenius Node.js bareng Gun Gun Febrianza
Stars: ✭ 57 (+46.15%)
Mutual labels:  node-js
mongo-uri-builder
A node.js module to easily create mongodb connection strings using configuration objects
Stars: ✭ 29 (-25.64%)
Mutual labels:  node-js
IT API
The Internet services of the IT department of Alexander Technological Education Institute of Thessaloniki
Stars: ✭ 14 (-64.1%)
Mutual labels:  node-js
ChaRo-Server
🚙 서버가 걸어다니면? 서버억,,서버억,,, 🚙
Stars: ✭ 18 (-53.85%)
Mutual labels:  node-js
jenni
👩‍💻 Jenkins Personal Assistant - CLI to interact with Jenkins server
Stars: ✭ 40 (+2.56%)
Mutual labels:  node-js
proffy
React Native + ReactJS + NodeJS project developed on RocketSeat NexLevelWeek. This project is based on an application for connect students and teachers.
Stars: ✭ 30 (-23.08%)
Mutual labels:  node-js
minimal-node-application
Basic Node Babel Server
Stars: ✭ 126 (+223.08%)
Mutual labels:  node-js
proffy
📗 Sua plataforma de estudos online.
Stars: ✭ 24 (-38.46%)
Mutual labels:  node-js

fbash

Terminal over Facebook Messenger, running continuously as a background process.

NPM

Photo

Installation and Setup

Install through npm.

npm install -g fbash

Running

fbash can be started using the command fbash. When it is initially run, it will prompt the user for an email and password.

These should be the same credentials used to log into Facebook. In subsequent runs, fbash will use a saved app state to log in.

$ fbash start
email: [email protected]
password: ****************
Started fbash.

In addition, all running fbash processes can be stopped with the following command.

$ fbash stop

Usage

After starting the script on your computer, you can access your terminal by messaging a command to yourself on Facebook. You can use most terminal commands through fbash. It will respond with @fbash followed by the standard output, standard error, or other errors. fbash does not allow using commands which require user interaction, such as vim.

fbash can also be accessed through normal chats (not just to yourself).

To use it in a chat that is not the chat with yourself, prefix the command with /fbash. For example, to run ls in another chat, use

/fbash ls

It will display this output in the chat from which the command was received.

Additional commands

  • sendfile <file_path>
  • savefile <file_path>
  • /set <setting> <value>
  • showcode <file_path> [language]
  • authorize and unauthorize (beta)

Details for each command can be found on the docs.

Changes as of latest version

  • Allows replacing periods to bypass Facebook's spam detection.
  • No longer requires sudo to run.

Note: fbash is not a truly stateful terminal; it cannot handle environment variables and other functionality associated with terminal state. The working directory is handled manually by parsing cd commands. Because of this, compound commands with a cd component will not function properly, and may cause unexpected errors.

How to Contribute

  • If you have an idea for a command which would be relevant and useful, please open an issue with the suggestion.
  • For the 'showcode' command, there is a hard-coded list of file extensions and corresponding languages. If you want a language to be added, please either open an issue with the language and file extension or create a pull request. The map of languages and file extensions can be found at src/utils/getFileType.js.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].