Skip to content

NextFeed

An AI service that analyzes your Instagram profile and selects photos to upload accordingly.

A project for Seoul National University HCI class (2023-1)

Contributors


김도현

💻

송유민

💻

신연상

💻

Running our project on your local environment

We recommend you to make a python environment, such as

conda create -n NextFeed python=3.8
conda activate NextFeed

Git clone our two repos,

git clone https://github.com/NextFeed/NextFeed_server.git
git clone https://github.com/NextFeed/next-feed-front.git

Run the AI server from NextFeed_server. This is our AI server (which is currently CLIP) You should make a settings.json file for Django (including any secret key!)

cd NextFeed_server/NextFeed
pip install -r requirements.txt
vim settings.json   # Making settings.json file
python manage.py runserver

Your settings.json file should look like this; write anything for the secret key!

{
  "SECRET_KEY": "YOUR_ARBITRARY_SECRET_KEY"
}

Now, you need to run the front-end server from next-feed-front.

cd next-feed-front
npm install

You need to write your Instagram Account info (for crawling)

cp .env.sample .env
vim .env    # Write your instagram info!
npm run build
npm run server

Your .env file would look like this: wrote PORT=3000 for example

PORT=3000

INSTAGRAM_ID={your_instagram_id}
INSTAGRAM_PW={your_instagram_password}

Now, your front server is running at the background! You could find our project from localhost:{PORT_NUM}, http://localhost:3000 for the given example

To terminate the background server, find and kill it.

ps -ef | grep node      # Find your background server PID number (will look like node ./server)
kill -9 {PID_NUMBER}

Pinned Loading

  1. next-feed-front next-feed-front Public

    JavaScript

  2. NextFeed_server NextFeed_server Public

    Django-based

    Python

Repositories

Showing 3 of 3 repositories

Top languages

Loading…

Most used topics

Loading…