Giter Site home page Giter Site logo

m3yevn / ftp-seer-api Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 442 KB

๐Ÿ”˜ FTP Seer API : A backend server for browsing FTP directory

Home Page: https://ftpseer.herokuapp.com/

JavaScript 20.60% Dockerfile 0.40% HTML 71.29% CSS 7.72%
nodejs express expressjs-api ftp-seer backend api

ftp-seer-api's Introduction

FTP Seer - A Backend for browsing FTP directory ๐Ÿ“ฆ

by m3yevn and team

This API server is used to accept host,port,path,username and password to
connect FTP server and send back directory data.

Read this in Simplified Chinese - ็œ‹็ฎ€ไฝ“ไธญๆ–‡็‰ˆๆœฌ README.zh-cn

Run on Repl.it

๐Ÿณ Docker Public Repository

FTP Seer API server is available as docker image also. Run this docker command to get it up and running. Docker CLI must be installed beforehand.

Run on Docker

$ docker pull m3yevn/ftp-seer:latest
$ docker run -d --name ftp-seer -p 5050:5050  m3yevn/ftp-seer:latest

Now, FTP Seer is accessible at 5050 port of your workstation.

๐Ÿ“ฎ Request Query Params

  • 1๏ธโƒฃ Hostname
  • 2๏ธโƒฃ Port
  • 3๏ธโƒฃ Path
  • 4๏ธโƒฃ Username
  • 5๏ธโƒฃ Password

๐Ÿ“ง Sample Request

**"\directory?host=sample&port=21&path=sample&username=sample&password=sample"**
**"\file?host=sample&port=21&path=sample/sample.txt&username=sample&password=sample"**

โšก Try it on demo

  • Visit this demo
  • The demo uses speedtest.tele2.net for testing

โœ‰๏ธ HTTP Methods

Method Route Description
GET "/" Getting API health
GET "/directory" Listing directory of FTP server
GET "/file" Getting content of a file in FTP server

๐Ÿ“š Tech Stack

  • NodeJS
  • Express Framework
  • JS FTP
  • JSON

โค๏ธ Run this code with

$ npm install
$ node server.js

ftp-seer-api's People

Contributors

aeonsmogo avatar alfasoon avatar amanda-ayechanmoe avatar dependabot[bot] avatar kevin-semiint avatar m3yevn avatar techlestial-admin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ftp-seer-api's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.